binary1ne commited on
Commit
f61524f
·
verified ·
1 Parent(s): 91fb57d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -10,13 +10,17 @@ WORKDIR /workspace
10
 
11
  # Upgrade pip and install CPU-only PyTorch, Transformers, Accelerate, Unsloth, etc.
12
  # Use the official PyTorch CPU wheel index for performance on CPU:contentReference[oaicite:5]{index=5}.
13
- RUN pip3 install --upgrade pip \
14
- && pip3 install torch --index-url https://download.pytorch.org/whl/cpu \
15
- && pip3 install transformers accelerate unsloth
 
16
 
17
  # (Optional) Install unsloth_zoo or other utilities if needed:
18
  # RUN pip3 install unsloth-zoo
19
 
 
 
 
20
  # Copy an example inference script into the container
21
  # (This script should load the model and do a sample generation.)
22
  COPY inference.py /workspace/inference.py
 
10
 
11
  # Upgrade pip and install CPU-only PyTorch, Transformers, Accelerate, Unsloth, etc.
12
  # Use the official PyTorch CPU wheel index for performance on CPU:contentReference[oaicite:5]{index=5}.
13
+
14
+ #RUN pip3 install --upgrade pip \
15
+ # && pip3 install torch --index-url https://download.pytorch.org/whl/cpu \
16
+ # && pip3 install transformers accelerate unsloth
17
 
18
  # (Optional) Install unsloth_zoo or other utilities if needed:
19
  # RUN pip3 install unsloth-zoo
20
 
21
+ RUN pip3 install --upgrade pip \
22
+ && pip3 install transformers accelerate unsloth
23
+
24
  # Copy an example inference script into the container
25
  # (This script should load the model and do a sample generation.)
26
  COPY inference.py /workspace/inference.py