Spaces:
Running
on
Zero
Running
on
Zero
fix bug
Browse files- app.py +0 -2
- install.sh +1 -0
- requirements.txt +2 -2
app.py
CHANGED
@@ -9,8 +9,6 @@ print("TORCH_CUDA", torch.cuda.is_available())
|
|
9 |
# install packages for mamba
|
10 |
def install():
|
11 |
print("Install personal packages", flush=True)
|
12 |
-
# os.system("pip install causal_conv1d-1.0.0-cp310-cp310-linux_x86_64.whl")
|
13 |
-
# os.system("pip install mamba_ssm-1.0.1-cp310-cp310-linux_x86_64.whl")
|
14 |
os.system("bash install.sh")
|
15 |
|
16 |
install()
|
|
|
9 |
# install packages for mamba
|
10 |
def install():
|
11 |
print("Install personal packages", flush=True)
|
|
|
|
|
12 |
os.system("bash install.sh")
|
13 |
|
14 |
install()
|
install.sh
CHANGED
@@ -1,2 +1,3 @@
|
|
|
|
1 |
pip install -e causal-conv1d
|
2 |
pip install -e mamba
|
|
|
1 |
+
pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu118
|
2 |
pip install -e causal-conv1d
|
3 |
pip install -e mamba
|
requirements.txt
CHANGED
@@ -8,5 +8,5 @@ setuptools
|
|
8 |
timm
|
9 |
transformers
|
10 |
wheel
|
11 |
-
torch --index-url https://download.pytorch.org/whl/cu118
|
12 |
-
torchvision --index-url https://download.pytorch.org/whl/cu118
|
|
|
8 |
timm
|
9 |
transformers
|
10 |
wheel
|
11 |
+
# torch --index-url https://download.pytorch.org/whl/cu118
|
12 |
+
# torchvision --index-url https://download.pytorch.org/whl/cu118
|