Spaces:
Running
on
T4
Running
on
T4
Temporary fix - app doesnt work with pytorch 2.6 yet.
Browse filesLooks like there is a new release in PyTorch which leads to errors in compiling the GroundingDINO extension.
I found a similar issue here with a fix - https://github.com/huggingface/transformers/pull/35979/files#diff-8f374741b8ec31d6e1365661ec37a8f5dbd20d56fad99399e6146201ccb8180f
Till we update the repo with the fix, this change would allow the build to pass
- requirements.txt +1 -1
requirements.txt
CHANGED
@@ -13,6 +13,6 @@ gradio>=4.0.0,<5
|
|
13 |
gradio-image-prompter
|
14 |
spaces
|
15 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
16 |
-
torch
|
17 |
torchvision
|
18 |
transformers
|
|
|
13 |
gradio-image-prompter
|
14 |
spaces
|
15 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
16 |
+
torch<2.6
|
17 |
torchvision
|
18 |
transformers
|