Spaces:
Running on Zero
Running on Zero
Pin torch 2.9.1 + torchvision 0.24.1 (Qwen3VLVideoProcessor needs torchvision)
Browse files- requirements.txt +9 -7
requirements.txt
CHANGED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
-
# torch
|
| 2 |
-
#
|
| 3 |
-
#
|
| 4 |
-
#
|
| 5 |
-
#
|
| 6 |
-
#
|
| 7 |
-
# gradio is not pinned here
|
| 8 |
# (5.50.0, the version app.py's component/argument use was checked against).
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# QwenImage21Pipeline is not in any released diffusers (0.40.0 on PyPI has no qwenimage21 files),
|
| 11 |
# so install from upstream main at the commit this model was validated against.
|
|
|
|
| 1 |
+
# torch/torchvision are pinned as a matching pair. The first Space build left them to the resolver,
|
| 2 |
+
# which (a) picked torch 2.14.0 - outside the versions ZeroGPU supports - and (b) never installed
|
| 3 |
+
# torchvision at all, because nothing in this list depends on it. transformers 5's Qwen3VLProcessor
|
| 4 |
+
# always builds a Qwen3VLVideoProcessor, which hard-requires torchvision, so QwenImage21Pipeline
|
| 5 |
+
# .from_pretrained died with "Qwen3VLVideoProcessor requires the Torchvision library". 2.9.1/0.24.1
|
| 6 |
+
# is the pair this release was validated on and 2.9.1 is on the ZeroGPU supported list.
|
| 7 |
+
# gradio is not pinned here: `sdk_version` in README.md owns the Gradio version on Spaces
|
| 8 |
# (5.50.0, the version app.py's component/argument use was checked against).
|
| 9 |
+
torch==2.9.1
|
| 10 |
+
torchvision==0.24.1
|
| 11 |
|
| 12 |
# QwenImage21Pipeline is not in any released diffusers (0.40.0 on PyPI has no qwenimage21 files),
|
| 13 |
# so install from upstream main at the commit this model was validated against.
|