Spaces:
Runtime error
Runtime error
nroggendorff
commited on
Commit
•
9921079
1
Parent(s):
3050d31
Merge when ready k#NA{g@#
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -6,4 +6,4 @@ RUN tmp=$(mktemp) && \
|
|
6 |
mv "$tmp" "${CONFIG}"
|
7 |
RUN chown -R user:user config.json
|
8 |
|
9 |
-
CMD ["bash", "-c", "python prep.py && deepspeed --num_gpus
|
|
|
6 |
mv "$tmp" "${CONFIG}"
|
7 |
RUN chown -R user:user config.json
|
8 |
|
9 |
+
CMD ["bash", "-c", "python prep.py && deepspeed --num_gpus=$(nvidia-smi --query-gpu=gpu_name --format=csv,noheader | wc -l) train.py"]
|