Instructions to use khanhnd61/pop-so101 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use khanhnd61/pop-so101 with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
File size: 1,651 Bytes
5a3fcf5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # Settings read by setup_env.sh, run_all.sh, smoke_test.sh and the SLURM scripts. Edit the first block.
export POPT_WORK=${POPT_WORK:-/scratch/$USER/pop_pretrain} # uv, Python, venv, raw data (~265 GB), shards (~0.5 TB), runs
export SBATCH_CPU_ARGS=${SBATCH_CPU_ARGS:-""} # e.g. "--partition=cpu --account=myproj"
export SBATCH_GPU_ARGS=${SBATCH_GPU_ARGS:-""} # e.g. "--partition=gpu --account=myproj"
# export HF_TOKEN=hf_... # recommended: higher Hugging Face rate limits
# Data and training settings
export TARGET_FPS=${TARGET_FPS:-10} # control rate after resampling (Hz)
export RES=${RES:-256} # stored image size; training crops and resizes to 224
export CHUNK=${CHUNK:-16} # action chunk length (1.6 s at 10 Hz)
export PREP_TASKS=${PREP_TASKS:-8} # preprocessing array tasks
export RUN_ID=${RUN_ID:-pretrain-community-s0}
export STOP_AFTER_HOURS=${STOP_AFTER_HOURS:-23.5} # keep below the training job's --time; it resubmits itself
export HF_HOME=${HF_HOME:-$POPT_WORK/hf_home}
# uv: a pinned copy in $POPT_WORK/uv (shell startup files untouched); Python and packages from .python-version
# and uv.lock. Every step runs as "uv run --no-sync ...", which never touches the network.
export UV_VERSION=0.11.19
export PATH="$POPT_WORK/uv/bin:$PATH"
export UV_PROJECT_ENVIRONMENT=${UV_PROJECT_ENVIRONMENT:-$POPT_WORK/venv}
export UV_CACHE_DIR=${UV_CACHE_DIR:-$POPT_WORK/uv/cache}
export UV_PYTHON_INSTALL_DIR=${UV_PYTHON_INSTALL_DIR:-$POPT_WORK/uv/python}
export UV_PYTHON_PREFERENCE=only-managed # the same CPython build on every cluster
|