add .env support to build-and-copy.sh

This commit is contained in:
Eugene Rakhmatulin
2026-03-25 22:47:02 -07:00
parent 2f5ff0211e
commit 8b7c02aa25
3 changed files with 105 additions and 15 deletions

View File

@@ -29,6 +29,10 @@ CONTAINER_NCCL_DEBUG="INFO"
CONTAINER_HF_TOKEN="your_huggingface_token_here"
CONTAINER_NCCL_IGNORE_CPU_AFFINITY="1"
# COPY_HOSTS: Comma-separated list of hosts for build-and-copy.sh (optional)
# Used by build-and-copy.sh to distribute images across cluster
COPY_HOSTS="192.168.177.12"
# Additional container environment variables
# CONTAINER_MAX_JOBS="16"
# CONTAINER_CUDA_VISIBLE_DEVICES="0,1"