Skip to content

Commit fdc0d2c

Browse files
Merge pull request #133 from sameersegal/patch-1
Updated Dockerfile for DGX Spark
2 parents 57141f2 + bd31f69 commit fdc0d2c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎Dockerfile_DGX_Spark‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM nvcr.io/nvidia/pytorch:25.09-py3
22

33
# Set CUDA environment variables
4-
ENV CUDA_HOME=/usr/local/cuda-13.0/
4+
ENV CUDA_HOME=/usr/local/cuda-13.0
55
ENV CUDA_PATH=$CUDA_HOME
66
ENV PATH=$CUDA_HOME/bin:$PATH
77
ENV LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
@@ -24,7 +24,8 @@ RUN git clone --depth=1 https://github.com/facebookresearch/xformers --recursive
2424
cd ..
2525

2626
# Install unsloth and other dependencies
27-
RUN pip install unsloth unsloth_zoo bitsandbytes==0.48.0 transformers==4.56.2 trl==0.22.2
27+
RUN pip install --no-deps bitsandbytes==0.48.0 transformers==4.56.2 trl==0.22.2
28+
RUN pip install unsloth unsloth_zoo
2829

2930
# Launch the shell
30-
CMD ["/bin/bash"]
31+
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)