lerobot_train_model_multi_gpu_wandb.sh
Robotaxi-OperatingSystem-Hardware-Interfaces/fmc3-robotics-main/projects/lerobot/demo_scripts/lerobot_train_model_multi_gpu_wandb.sh
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
accelerate launch \
--mixed_precision=fp16 \
--multi_gpu \
--num_processes=2 \
$(which lerobot-train) \
--dataset.repo_id=${HF_USER}/pick_place_with_rgbd \
--policy.type=act \
--output_dir=outputs/train/act_multi_gpu/lerobot_model \
--job_name=pick_and_place_bottle_from_A_to_B \
--policy.device=cuda \
--policy.use_amp=true \
--policy.precision=fp16 \
--batch_size=16 \
--steps=50000 \
--optimizer.lr=2e-4 \
--wandb.enable=true \
--policy.repo_id=${HF_USER}/lerobot_pick_and_place_act_rgbd
lerobot_train_model_SmolVLAmulti_gpu_wandb.sh
Next →lerobot_train_model_multi_gpu_wandb_diffusion.sh
Related articles
alloc.c
alloc.c — c source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/class001_bundle/alloc.c).
Read article →hello.c
hello.c — c source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/class001_bundle/hello.c).
Read article →mlock_demo.c
mlock_demo.c — c source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/class001_bundle/mlock_demo.c).
Read article →debug_perf.py
debug_perf.py — python source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/fmc3-robotics-main/projects/RoboBrain2.0/debug_perf.py).
Read article →inference.py
inference.py — python source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/fmc3-robotics-main/projects/RoboBrain2.0/inference.py).
Read article →startup.sh
startup.sh — bash source code from the Robotaxi-OperatingSystem-Hardware-Interfaces learning materials (Robotaxi-OperatingSystem-Hardware-Interfaces/fmc3-robotics-main/projects/RoboBrain2.0/startup.sh).
Read article →