Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 9 |
WORKDIR /workspace
|
| 10 |
RUN git clone https://github.com/comfyanonymous/ComfyUI.git
|
| 11 |
|
| 12 |
-
RUN sed -i 's/torch.device(torch.cuda.current_device())/torch.device("cpu")/' comfy/model_management.py
|
| 13 |
|
| 14 |
# Cài Python package
|
| 15 |
WORKDIR /workspace/ComfyUI
|
|
|
|
| 9 |
WORKDIR /workspace
|
| 10 |
RUN git clone https://github.com/comfyanonymous/ComfyUI.git
|
| 11 |
|
| 12 |
+
RUN sed -i 's/torch.device(torch.cuda.current_device())/torch.device("cpu")/' /workspace/ComfyUI/comfy/model_management.py
|
| 13 |
|
| 14 |
# Cài Python package
|
| 15 |
WORKDIR /workspace/ComfyUI
|