Buckets:
| # Use the specific NVIDIA NeMo release | |
| FROM nvcr.io/nvidia/nemo:26.06 | |
| # 1. Set the working directory | |
| WORKDIR /workspace | |
| COPY . . | |
| # We point uv specifically to the NeMo virtual environment | |
| RUN uv pip install --upgrade --python /opt/venv/bin/python huggingface_hub fsspec && \ | |
| sed -i 's/require_version_core(deps\[pkg\])/pass/g' /opt/venv/lib/python3.12/site-packages/transformers/dependency_versions_check.py | |
| # This overwrites the broken file in the pre-installed library | |
| RUN pip install lhotse | |
| COPY rnnt_models.py /opt/NeMo/nemo/collections/asr/models/rnnt_models.py | |
| RUN LHOTSE_DIR=$(python -c 'import lhotse, os; print(os.path.dirname(lhotse.__file__))') && \ | |
| cp serialization.py $LHOTSE_DIR/serialization.py && \ | |
| cp lazy.py $LHOTSE_DIR/lazy.py && \ | |
| cp lazyShar.py $LHOTSE_DIR/shar/readers/lazy.py | |
| # 3. Handle WANDB (Passed at runtime for security) | |
| # We leave the variable name here so the script can find it | |
| ENV WANDB_API_KEY="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" | |
| #RUN pip install lhotse | |
| # 4. Copy your local training scripts/configs | |
| # 5. Setup execution | |
| RUN chmod +x /workspace/runTrain.sh | |
| CMD ["/bin/bash", "-c", "sleep infinity"] | |
Xet Storage Details
- Size:
- 1.21 kB
- Xet hash:
- 53b7bc767866de2bc595692e7dac1c6a295867f6c9a113d4c9f78a7aea49ac2a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.