R
RunPod11mo ago
Unggi Lee

Megatron Container Image Setting

Hi. I want to use 'nvcr.io/nvidia/pytorch:24.03-py3' image for using the megatron. My start command is 'docker run --gpus all -it --rm -v /:/workspace/megatron -v /:/workspace/dataset -v /:/workspace/checkpoints nvcr.io/nvidia/pytorch:24.03-py3' However, I have trouble with starting the pod. How to fix the command?
No description
5 Replies
digigoblin
digigoblin11mo ago
You can't use docker run in your start command, docker in docker is not allowed. Also volume mount path handles your persistent storage volumes, Just remove the start command completely and try change it to this instead:
bash -c 'sleep infinity'
bash -c 'sleep infinity'
nerdylive
nerdylive11mo ago
The start command I think is the command to be executed in the docker container after it's started
digigoblin
digigoblin11mo ago
Yes it is, it overrides CMD. It can't override ENTRYPOINT though.
Unggi Lee
Unggi LeeOP11mo ago
Thank you:)
nerdylive
nerdylive11mo ago
Np

Did you find this page helpful?