aloatist commited on
Commit
0a04f38
·
verified ·
1 Parent(s): 532361d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -2
Dockerfile CHANGED
@@ -33,8 +33,15 @@ ARG PYTHON_VERSION=3.9.17
33
  RUN pyenv install $PYTHON_VERSION && \
34
  pyenv global $PYTHON_VERSION && \
35
  pyenv rehash && \
36
- pip install --no-cache-dir --upgrade pip setuptools wheel && \
37
- pip install --no-cache-dir \
 
 
 
 
 
 
 
38
  datasets \
39
  huggingface-hub "protobuf<4" "click<8.1"
40
  #pip install huggingface_hub["cli"] && \
 
33
  RUN pyenv install $PYTHON_VERSION && \
34
  pyenv global $PYTHON_VERSION && \
35
  pyenv rehash && \
36
+ #pip install --no-cache-dir --upgrade pip setuptools wheel && \
37
+ # pip install --no-cache-dir \
38
+ # ... (giữ nguyên phần trên của Dockerfile)
39
+
40
+ # Cài đặt requirements với nguồn PyTorch bổ sung
41
+ RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
42
+ pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cu118 -r /code/requirements.txt
43
+
44
+ # ... (giữ nguyên phần dưới)
45
  datasets \
46
  huggingface-hub "protobuf<4" "click<8.1"
47
  #pip install huggingface_hub["cli"] && \