new test torch
Browse files- Dockerfile +2 -3
- README.md +1 -0
Dockerfile
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
#COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
#RUN pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 -f https://download.pytorch.org/whl/torch_stable.ht
|
8 |
-
RUN pip install torch==1.9.1 -f https://download.pytorch.org/whl/torch_stable.ht
|
9 |
-
RUN pip install torchvision==0.10.1 -f https://download.pytorch.org/whl/torch_stable.ht
|
10 |
RUN pip install --no-cache-dir --upgrade -U openmim
|
11 |
RUN mim install --no-cache-dir --upgrade mmengine
|
12 |
RUN mim install "mmcv>=2.0.1"
|
|
|
1 |
+
FROM python:3.9
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
#COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
#RUN pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 -f https://download.pytorch.org/whl/torch_stable.ht
|
8 |
+
RUN pip install torch==1.9.1 torchvision==0.10.1 -f https://download.pytorch.org/whl/torch_stable.ht
|
|
|
9 |
RUN pip install --no-cache-dir --upgrade -U openmim
|
10 |
RUN mim install --no-cache-dir --upgrade mmengine
|
11 |
RUN mim install "mmcv>=2.0.1"
|
README.md
CHANGED
@@ -5,6 +5,7 @@ colorFrom: blue
|
|
5 |
colorTo: red
|
6 |
sdk: docker
|
7 |
pinned: false
|
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
5 |
colorTo: red
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
+
python_version: 3.9
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|