Spaces:
Build error
Build error
Pratik Dwivedi
commited on
Commit
•
b931e4e
1
Parent(s):
462285a
Torch Download Fix (#3)
Browse files- Dockerfile +1 -1
- requirements.txt +0 -1
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ WORKDIR /code
|
|
4 |
|
5 |
COPY . /code
|
6 |
|
7 |
-
|
8 |
|
9 |
RUN pip install --no-cache-dir -r /code/requirements.txt
|
10 |
|
|
|
4 |
|
5 |
COPY . /code
|
6 |
|
7 |
+
RUN pip install --no-cache-dir torch==2.2.1 --index-url https://download.pytorch.org/whl/cu121
|
8 |
|
9 |
RUN pip install --no-cache-dir -r /code/requirements.txt
|
10 |
|
requirements.txt
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
packaging
|
2 |
-
torch==2.2.1+cu121
|
3 |
transformers
|
4 |
causal-conv1d
|
5 |
mamba-ssm
|
|
|
1 |
packaging
|
|
|
2 |
transformers
|
3 |
causal-conv1d
|
4 |
mamba-ssm
|