Skip to content

Instantly share code, notes, and snippets.

@rasdani
Created February 21, 2025 20:05
Show Gist options
  • Save rasdani/8e98781ee07ad7589e8d4ec1a35fee45 to your computer and use it in GitHub Desktop.
Save rasdani/8e98781ee07ad7589e8d4ec1a35fee45 to your computer and use it in GitHub Desktop.

Revisions

  1. rasdani created this gist Feb 21, 2025.
    1 change: 1 addition & 0 deletions NVIDIA Docker oneliner
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    docker run --gpus all --runtime=nvidia -it --shm-size="10g" --cap-add=SYS_ADMIN -v $PWD:/workspace -v $HOME/.cache/huggingface:/root/.cache/huggingface nvcr.io/nvidia/pytorch:24.07-py3 bash