Spaces:
Runtime error
Runtime error
[Delta-02] PyTorch CPU 버전 설치 (HF Spaces cpu-basic 환경)
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 11 |
# Python 의존성 설치
|
| 12 |
COPY Pipfile Pipfile.lock ./
|
| 13 |
RUN pip install pipenv && \
|
|
|
|
| 14 |
pipenv install --deploy --ignore-pipfile
|
| 15 |
|
| 16 |
# 애플리케이션 코드 복사
|
|
|
|
| 11 |
# Python 의존성 설치
|
| 12 |
COPY Pipfile Pipfile.lock ./
|
| 13 |
RUN pip install pipenv && \
|
| 14 |
+
pipenv run pip install torch --index-url https://download.pytorch.org/whl/cpu && \
|
| 15 |
pipenv install --deploy --ignore-pipfile
|
| 16 |
|
| 17 |
# 애플리케이션 코드 복사
|