You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Failed to parse" when trying to update torch from 2.7.0 to 2.8.0 #1391
Click three-dots icon -> Python Packages -> torch -> try to update to 2.8.0+cu128.
Console output
error: Failed to parse: https://download.pytorch.org/whl/cu128
Caused by: Expected direct URL (https://download.pytorch.org/whl/cu128) to end in a supported file extension: .whl, .tar.gz, .zip, .tar.bz2, .tar.lz, .tar.lzma, .tar.xz, .tar.zst, .tar, .tbz, .tgz, .tlz, or .txz https://download.pytorch.org/whl/cu128
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 2: 'error: Failed to parse: https://download.pytorch.org/whl/cu128\n Caused by: Expected direct URL (https://download.pytorch.org/whl/cu128) to end in a supported file extension: .whl, .tar.gz, .zip, .tar.bz2, .tar.lz, .tar.lzma, .tar.xz, .tar.zst, .tar, .tbz, .tgz, .tlz, or .txz\nhttps://download.pytorch.org/whl/cu128\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n'
at StabilityMatrix.Core.Python.UvVenvRunner.PipInstall(ProcessArgs args, Action1 outputDataReceived) at StabilityMatrix.Core.Models.PackageModification.PipStep.ExecuteAsync(IProgress1 progress)
at StabilityMatrix.Core.Models.PackageModification.PipStep.ExecuteAsync(IProgress1 progress) at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable1 steps)
I'm sorry, but I dont understand. I'm using Stability Matrix UI to update torch, but you are suggesting a workaround. Your advice will solve my problem, but it still will be impossible to update via UI.
I'm trying to do these steps:
On desired package (A1111 in my case) click to three-dots icon.
Select Python packages.
Select torch.
Try to update to 2.8.0+cu128.
Could you please give more detailed answer, I think that there is misunderstanding?
Activity
mohnjiles commentedon Sep 22, 2025
This looks like you put the index url as an argument for pip to install, rather than after the
--index-urlpart.Try again with the following:
torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu128 --force-reinstallNeostead2009 commentedon Sep 22, 2025
I'm sorry, but I dont understand. I'm using Stability Matrix UI to update torch, but you are suggesting a workaround. Your advice will solve my problem, but it still will be impossible to update via UI.
I'm trying to do these steps:
Could you please give more detailed answer, I think that there is misunderstanding?
mohnjiles commentedon Sep 23, 2025
Oh I see, yes my apologies, there was a misunderstanding.