=== Avatar Training (fire-and-forget) === Script: train_on_hf.py Started: 2026-03-12 23:39:04 UTC >>> [0/4] Raising file descriptor limit... ulimit -n = 1048576 >>> [1/4] Setting environment... HF_TOKEN set: 37 chars WANDB_API_KEY set: 0 chars >>> [2/4] Logging into HuggingFace... The token has not been saved to the git credentials helper. Pass `add_to_git_credential=True` in this function directly or `--add-to-git-credential` if using via `hf`CLI if you want to set the git credential as well. Token is valid (permission: write). The token `beta-pc` has been saved to /root/.cache/huggingface/stored_tokens Your token has been saved to /root/.cache/huggingface/token Login successful. Note: Environment variable`HF_TOKEN` is set and is the current active token independently from the token you've just configured. ⚠️ Warning: 'huggingface-cli login' is deprecated. Use 'hf auth login' instead. >>> [3/4] Pre-downloading pretrained model... Downloading avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749... Fetching 9 files: 0%| | 0/9 [00:00>> [4/4] Launching accelerate with 8 GPUs... Script: train_on_hf.py Train args: --dataset alpha_bot_right_afternoon --steps 400000 --batch-size 32 --lr 1e-4 --backbone resnet18 --preload --mixed-precision bf16 --compile --num-workers 8 --prefetch-factor 4 --save-freq 10000 --push-to-hub --pretrained-path avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749 The following values were not passed to `accelerate launch` and had defaults used instead: `--num_machines` was set to a value of `1` `--mixed_precision` was set to a value of `'no'` `--dynamo_backend` was set to a value of `'no'` To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`. Model will be pushed to: avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 Model will be pushed to: avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 [Avatar] Mixed precision: bf16 ============================================================ Training args: mixed_precision=bf16 video_backend=pyav prefetch_factor=4 preload=True compile=True backbone=resnet18 lerobot_train \ --dataset.repo_id=avatarrobotics/alpha-bot-right-2026-03-11-afternoon \ --dataset.video_backend=pyav \ --policy.repo_id=avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 \ --policy.type=act \ --policy.chunk_size=100 \ --policy.n_action_steps=100 \ --policy.vision_backbone=resnet18 \ --policy.pretrained_backbone_weights=ResNet18_Weights.IMAGENET1K_V1 \ --policy.dim_model=512 \ --policy.n_heads=8 \ --policy.dim_feedforward=3200 \ --policy.n_encoder_layers=4 \ --policy.n_decoder_layers=1 \ --policy.use_vae=true \ --policy.latent_dim=32 \ --policy.n_vae_encoder_layers=4 \ --policy.dropout=0.1 \ --policy.kl_weight=10.0 \ --policy.optimizer_lr=0.0001 \ --policy.optimizer_weight_decay=1e-4 \ --policy.optimizer_lr_backbone=0.0001 \ --batch_size=32 \ --steps=400000 \ --save_freq=10000 \ --log_freq=200 \ --save_checkpoint=true \ --seed=1000 \ --num_workers=8 \ --output_dir=outputs/train/act-vacuum-pick \ --policy.pretrained_path=avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749 \ --policy.push_to_hub=true \ --policy.private=true ============================================================ Model will be pushed to: avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 [Avatar] Mixed precision: bf16 ============================================================ Training args: mixed_precision=bf16 video_backend=pyav prefetch_factor=4 preload=True compile=True backbone=resnet18 lerobot_train \ --dataset.repo_id=avatarrobotics/alpha-bot-right-2026-03-11-afternoon \ --dataset.video_backend=pyav \ --policy.repo_id=avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 \ --policy.type=act \ --policy.chunk_size=100 \ --policy.n_action_steps=100 \ --policy.vision_backbone=resnet18 \ --policy.pretrained_backbone_weights=ResNet18_Weights.IMAGENET1K_V1 \ --policy.dim_model=512 \ --policy.n_heads=8 \ --policy.dim_feedforward=3200 \ --policy.n_encoder_layers=4 \ --policy.n_decoder_layers=1 \ --policy.use_vae=true \ --policy.latent_dim=32 \ --policy.n_vae_encoder_layers=4 \ --policy.dropout=0.1 \ --policy.kl_weight=10.0 \ --policy.optimizer_lr=0.0001 \ --policy.optimizer_weight_decay=1e-4 \ --policy.optimizer_lr_backbone=0.0001 \ --batch_size=32 \ --steps=400000 \ --save_freq=10000 \ --log_freq=200 \ --save_checkpoint=true \ --seed=1000 \ --num_workers=8 \ --output_dir=outputs/train/act-vacuum-pick \ --policy.pretrained_path=avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749 \ --policy.push_to_hub=true \ --policy.private=true ============================================================ Model will be pushed to: avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 [Avatar] Mixed precision: bf16 ============================================================ Training args: mixed_precision=bf16 video_backend=pyav prefetch_factor=4 preload=True compile=True backbone=resnet18 lerobot_train \ --dataset.repo_id=avatarrobotics/alpha-bot-right-2026-03-11-afternoon \ --dataset.video_backend=pyav \ --policy.repo_id=avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 \ --policy.type=act \ --policy.chunk_size=100 \ --policy.n_action_steps=100 \ --policy.vision_backbone=resnet18 \ --policy.pretrained_backbone_weights=ResNet18_Weights.IMAGENET1K_V1 \ --policy.dim_model=512 \ --policy.n_heads=8 \ --policy.dim_feedforward=3200 \ --policy.n_encoder_layers=4 \ --policy.n_decoder_layers=1 \ --policy.use_vae=true \ --policy.latent_dim=32 \ --policy.n_vae_encoder_layers=4 \ --policy.dropout=0.1 \ --policy.kl_weight=10.0 \ --policy.optimizer_lr=0.0001 \ --policy.optimizer_weight_decay=1e-4 \ --policy.optimizer_lr_backbone=0.0001 \ --batch_size=32 \ --steps=400000 \ --save_freq=10000 \ --log_freq=200 \ --save_checkpoint=true \ --seed=1000 \ --num_workers=8 \ --output_dir=outputs/train/act-vacuum-pick \ --policy.pretrained_path=avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749 \ --policy.push_to_hub=true \ --policy.private=true ============================================================ Model will be pushed to: avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 [Avatar] Mixed precision: bf16 ============================================================ Training args: Model will be pushed to: avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 mixed_precision=bf16[Avatar] Mixed precision: bf16 video_backend=pyav prefetch_factor=4 preload=True compile=True backbone=resnet18 lerobot_train \ --dataset.repo_id=avatarrobotics/alpha-bot-right-2026-03-11-afternoon \ --dataset.video_backend=pyav \ --policy.repo_id=avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 \ --policy.type=act \ --policy.chunk_size=100 \ --policy.n_action_steps=100 \ --policy.vision_backbone=resnet18 \ --policy.pretrained_backbone_weights=ResNet18_Weights.IMAGENET1K_V1 \ --policy.dim_model=512 \ --policy.n_heads=8 \ --policy.dim_feedforward=3200 \ --policy.n_encoder_layers=4 \ --policy.n_decoder_layers=1 \ --policy.use_vae=true \ --policy.latent_dim=32 \ --policy.n_vae_encoder_layers=4 \ --policy.dropout=0.1 \ --policy.kl_weight=10.0 \ --policy.optimizer_lr=0.0001 \ --policy.optimizer_weight_decay=1e-4 \ --policy.optimizer_lr_backbone=0.0001 \ --batch_size=32 \ --steps=400000 \ --save_freq=10000 \ --log_freq=200 \ --save_checkpoint=true \ --seed=1000 \ --num_workers=8 \ --output_dir=outputs/train/act-vacuum-pick \ --policy.pretrained_path=avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749 \ --policy.push_to_hub=true \ --policy.private=true ============================================================ ============================================================ Training args: mixed_precision=bf16 video_backend=pyav prefetch_factor=4 preload=True compile=True backbone=resnet18 lerobot_train \ --dataset.repo_id=avatarrobotics/alpha-bot-right-2026-03-11-afternoon \ --dataset.video_backend=pyav \ --policy.repo_id=avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 \ --policy.type=act \ --policy.chunk_size=100 \ --policy.n_action_steps=100 \ --policy.vision_backbone=resnet18 \ --policy.pretrained_backbone_weights=ResNet18_Weights.IMAGENET1K_V1 \ --policy.dim_model=512 \ --policy.n_heads=8 \ --policy.dim_feedforward=3200 \ --policy.n_encoder_layers=4 \ --policy.n_decoder_layers=1 \ --policy.use_vae=true \ --policy.latent_dim=32 \ --policy.n_vae_encoder_layers=4 \ --policy.dropout=0.1 \ --policy.kl_weight=10.0 \ --policy.optimizer_lr=0.0001 \ --policy.optimizer_weight_decay=1e-4 \ --policy.optimizer_lr_backbone=0.0001 \ --batch_size=32 \ --steps=400000 \ --save_freq=10000 \ --log_freq=200 \ --save_checkpoint=true \ --seed=1000 \ --num_workers=8 \ --output_dir=outputs/train/act-vacuum-pick \ --policy.pretrained_path=avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749 \ --policy.push_to_hub=true \ --policy.private=true ============================================================ Model will be pushed to: avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 [Avatar] Mixed precision: bf16 ============================================================ Training args: mixed_precision=bf16 video_backend=pyav prefetch_factor=4 preload=True compile=True backbone=resnet18 lerobot_train \ --dataset.repo_id=avatarrobotics/alpha-bot-right-2026-03-11-afternoon \ --dataset.video_backend=pyav \ --policy.repo_id=avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 \ --policy.type=act \ --policy.chunk_size=100 \ --policy.n_action_steps=100 \ --policy.vision_backbone=resnet18 \ --policy.pretrained_backbone_weights=ResNet18_Weights.IMAGENET1K_V1 \ --policy.dim_model=512 \ --policy.n_heads=8 \ --policy.dim_feedforward=3200 \ --policy.n_encoder_layers=4 \ --policy.n_decoder_layers=1 \ --policy.use_vae=true \ --policy.latent_dim=32 \ --policy.n_vae_encoder_layers=4 \ --policy.dropout=0.1 \ --policy.kl_weight=10.0 \ --policy.optimizer_lr=0.0001 \ --policy.optimizer_weight_decay=1e-4 \ --policy.optimizer_lr_backbone=0.0001 \ --batch_size=32 \ --steps=400000 \ --save_freq=10000 \ --log_freq=200 \ --save_checkpoint=true \ --seed=1000 \ --num_workers=8 \ --output_dir=outputs/train/act-vacuum-pick \ --policy.pretrained_path=avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749 \ --policy.push_to_hub=true \ --policy.private=true ============================================================ Model will be pushed to: avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 [Avatar] Mixed precision: bf16 ============================================================ Training args: mixed_precision=bf16 video_backend=pyav prefetch_factor=4 preload=True compile=True backbone=resnet18 lerobot_train \ --dataset.repo_id=avatarrobotics/alpha-bot-right-2026-03-11-afternoon \ --dataset.video_backend=pyav \ --policy.repo_id=avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 \ --policy.type=act \ --policy.chunk_size=100 \ --policy.n_action_steps=100 \ --policy.vision_backbone=resnet18 \ --policy.pretrained_backbone_weights=ResNet18_Weights.IMAGENET1K_V1 \ --policy.dim_model=512 \ --policy.n_heads=8 \ --policy.dim_feedforward=3200 \ --policy.n_encoder_layers=4 \ --policy.n_decoder_layers=1 \ --policy.use_vae=true \ --policy.latent_dim=32 \ --policy.n_vae_encoder_layers=4 \ --policy.dropout=0.1 \ --policy.kl_weight=10.0 \ --policy.optimizer_lr=0.0001 \ --policy.optimizer_weight_decay=1e-4 \ --policy.optimizer_lr_backbone=0.0001 \ --batch_size=32 \ --steps=400000 \ --save_freq=10000 \ --log_freq=200 \ --save_checkpoint=true \ --seed=1000 \ --num_workers=8 \ --output_dir=outputs/train/act-vacuum-pick \ --policy.pretrained_path=avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749 \ --policy.push_to_hub=true \ --policy.private=true ============================================================ [Avatar] Mixed precision: bf16 ============================================================ Training args: mixed_precision=bf16 video_backend=pyav prefetch_factor=4 preload=True compile=True backbone=resnet18 lerobot_train \ --dataset.repo_id=avatarrobotics/alpha-bot-right-2026-03-11-afternoon \ --dataset.video_backend=pyav \ --policy.repo_id=avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 \ --policy.type=act \ --policy.chunk_size=100 \ --policy.n_action_steps=100 \ --policy.vision_backbone=resnet18 \ --policy.pretrained_backbone_weights=ResNet18_Weights.IMAGENET1K_V1 \ --policy.dim_model=512 \ --policy.n_heads=8 \ --policy.dim_feedforward=3200 \ --policy.n_encoder_layers=4 \ --policy.n_decoder_layers=1 \ --policy.use_vae=true \ --policy.latent_dim=32 \ --policy.n_vae_encoder_layers=4 \ --policy.dropout=0.1 \ --policy.kl_weight=10.0 \ --policy.optimizer_lr=0.0001 \ --policy.optimizer_weight_decay=1e-4 \ --policy.optimizer_lr_backbone=0.0001 \ --batch_size=32 \ --steps=400000 \ --save_freq=10000 \ --log_freq=200 \ --save_checkpoint=true \ --seed=1000 \ --num_workers=8 \ --output_dir=outputs/train/act-vacuum-pick \ --policy.pretrained_path=avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749 \ --policy.push_to_hub=true \ --policy.private=true ============================================================ [Avatar] cudnn.benchmark=True, tf32=True [Avatar] cudnn.benchmark=True, tf32=True [Avatar] cudnn.benchmark=True, tf32=True [Avatar] cudnn.benchmark=True, tf32=True [Avatar] cudnn.benchmark=True, tf32=True [Avatar] cudnn.benchmark=True, tf32=True [Avatar] cudnn.benchmark=True, tf32=True [Avatar] cudnn.benchmark=True, tf32=True [Avatar] Checkpoint push enabled → avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 (with per-step tags)[Avatar] Checkpoint push enabled → avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 (with per-step tags) [Avatar] torch.compile enabled (will compile on first forward pass)[Avatar] torch.compile enabled (will compile on first forward pass) [Avatar] Overriding prefetch_factor=4[Avatar] Overriding prefetch_factor=4 [Avatar] Checkpoint push enabled → avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 (with per-step tags) [Avatar] torch.compile enabled (will compile on first forward pass) [Avatar] Overriding prefetch_factor=4 [Avatar] Checkpoint push enabled → avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 (with per-step tags) [Avatar] torch.compile enabled (will compile on first forward pass) [Avatar] Overriding prefetch_factor=4 [Avatar] Checkpoint push enabled → avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 (with per-step tags) [Avatar] torch.compile enabled (will compile on first forward pass) [Avatar] Overriding prefetch_factor=4 [Avatar] Checkpoint push enabled → avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 (with per-step tags) [Avatar] torch.compile enabled (will compile on first forward pass) [Avatar] Overriding prefetch_factor=4 [Avatar] Checkpoint push enabled → avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 (with per-step tags) [Avatar] torch.compile enabled (will compile on first forward pass) [Avatar] Overriding prefetch_factor=4 [Avatar] Checkpoint push enabled → avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339 (with per-step tags) [Avatar] torch.compile enabled (will compile on first forward pass) [Avatar] Overriding prefetch_factor=4 WARNING:lerobot.configs.policies:Device 'None' is not available. Switching to 'cuda'. WARNING:lerobot.configs.policies:Device 'None' is not available. Switching to 'cuda'. WARNING:lerobot.configs.policies:Device 'None' is not available. Switching to 'cuda'. WARNING:lerobot.configs.policies:Device 'None' is not available. Switching to 'cuda'. WARNING:lerobot.configs.policies:Device 'None' is not available. Switching to 'cuda'. WARNING:lerobot.configs.policies:Device 'None' is not available. Switching to 'cuda'. WARNING:lerobot.configs.policies:Device 'None' is not available. Switching to 'cuda'. WARNING:lerobot.configs.policies:Device 'None' is not available. Switching to 'cuda'. INFO 2026-03-12 23:39:24 ot_train.py:195 {'batch_size': 32, 'checkpoint_path': None, 'dataset': {'episodes': None, 'image_transforms': {'enable': False, 'max_num_transforms': 3, 'random_order': False, 'tfs': {'affine': {'kwargs': {'degrees': [-5.0, 5.0], 'translate': [0.05, 0.05]}, 'type': 'RandomAffine', 'weight': 1.0}, 'brightness': {'kwargs': {'brightness': [0.8, 1.2]}, 'type': 'ColorJitter', 'weight': 1.0}, 'contrast': {'kwargs': {'contrast': [0.8, 1.2]}, 'type': 'ColorJitter', 'weight': 1.0}, 'hue': {'kwargs': {'hue': [-0.05, 0.05]}, 'type': 'ColorJitter', 'weight': 1.0}, 'saturation': {'kwargs': {'saturation': [0.5, 1.5]}, 'type': 'ColorJitter', 'weight': 1.0}, 'sharpness': {'kwargs': {'sharpness': [0.5, 1.5]}, 'type': 'SharpnessJitter', 'weight': 1.0}}}, 'repo_id': 'avatarrobotics/alpha-bot-right-2026-03-11-afternoon', 'revision': None, 'root': None, 'streaming': False, 'use_imagenet_stats': True, 'video_backend': 'pyav'}, 'env': None, 'eval': {'batch_size': 50, 'n_episodes': 50, 'use_async_envs': False}, 'eval_freq': 20000, 'job_name': 'act', 'log_freq': 200, 'num_workers': 8, 'optimizer': {'betas': [0.9, 0.999], 'eps': 1e-08, 'grad_clip_norm': 10.0, 'lr': 0.0001, 'type': 'adamw', 'weight_decay': 0.0001}, 'output_dir': 'outputs/train/act-vacuum-pick', 'peft': None, 'policy': {'chunk_size': 100, 'device': 'cuda', 'dim_feedforward': 3200, 'dim_model': 512, 'dropout': 0.1, 'feedforward_activation': 'relu', 'input_features': {}, 'kl_weight': 10.0, 'latent_dim': 32, 'license': None, 'n_action_steps': 100, 'n_decoder_layers': 1, 'n_encoder_layers': 4, 'n_heads': 8, 'n_obs_steps': 1, 'n_vae_encoder_layers': 4, 'normalization_mapping': {'ACTION': , 'STATE': , 'VISUAL': }, 'optimizer_lr': 0.0001, 'optimizer_lr_backbone': 0.0001, 'optimizer_weight_decay': 0.0001, 'output_features': {}, 'pre_norm': False, 'pretrained_backbone_weights': 'ResNet18_Weights.IMAGENET1K_V1', 'pretrained_path': 'avatarrobotics/act-alpha-bot-right-resnet18-b12-20260312-1749', 'private': True, 'push_to_hub': True, 'replace_final_stride_with_dilation': False, 'repo_id': 'avatarrobotics/act-alpha-bot-right-resnet18-b256-20260312-2339', 'tags': None, 'temporal_ensemble_coeff': None, 'type': 'act', 'use_amp': False, 'use_peft': False, 'use_vae': True, 'vision_backbone': 'resnet18'}, 'rabc_epsilon': 1e-06, 'rabc_head_mode': 'sparse', 'rabc_kappa': 0.01, 'rabc_progress_path': None, 'rename_map': {}, 'resume': False, 'save_checkpoint': True, 'save_freq': 10000, 'scheduler': None, 'seed': 1000, 'steps': 400000, 'tolerance_s': 0.0001, 'use_policy_training_preset': True, 'use_rabc': False, 'wandb': {'disable_artifact': False, 'enable': False, 'entity': None, 'mode': None, 'notes': None, 'project': 'lerobot', 'run_id': None}} INFO 2026-03-12 23:39:24 ot_train.py:203 Logs will be saved locally. INFO 2026-03-12 23:39:24 ot_train.py:215 Creating dataset Fetching 7 files: 0%| | 0/7 [00:00, std::allocator >) + 0x98 (0x790fc69785e8 in /usr/local/lib/python3.11/dist-packages/torch/lib/libc10.so) frame #1: c10d::ProcessGroupNCCL::WorkNCCL::checkTimeout(std::optional > >) + 0x23d (0x790f713cba6d in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #2: c10d::ProcessGroupNCCL::watchdogHandler() + 0xc80 (0x790f713cd7f0 in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #3: c10d::ProcessGroupNCCL::ncclCommWatchdog() + 0x14d (0x790f713ceefd in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #4: + 0xdc253 (0x790f611d8253 in /lib/x86_64-linux-gnu/libstdc++.so.6) frame #5: + 0x94ac3 (0x790fc7850ac3 in /lib/x86_64-linux-gnu/libc.so.6) frame #6: clone + 0x44 (0x790fc78e1a04 in /lib/x86_64-linux-gnu/libc.so.6) terminate called after throwing an instance of 'c10::DistBackendError' what(): [PG ID 0 PG GUID 0(default_pg) Rank 2] Process group watchdog thread terminated with exception: [Rank 2] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=2, OpType=ALLREDUCE, NumelIn=1, NumelOut=1, Timeout(ms)=600000) ran for 600048 milliseconds before timing out. Exception raised from checkTimeout at /pytorch/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp:635 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string, std::allocator >) + 0x98 (0x790fc69785e8 in /usr/local/lib/python3.11/dist-packages/torch/lib/libc10.so) frame #1: c10d::ProcessGroupNCCL::WorkNCCL::checkTimeout(std::optional > >) + 0x23d (0x790f713cba6d in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #2: c10d::ProcessGroupNCCL::watchdogHandler() + 0xc80 (0x790f713cd7f0 in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #3: c10d::ProcessGroupNCCL::ncclCommWatchdog() + 0x14d (0x790f713ceefd in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #4: + 0xdc253 (0x790f611d8253 in /lib/x86_64-linux-gnu/libstdc++.so.6) frame #5: + 0x94ac3 (0x790fc7850ac3 in /lib/x86_64-linux-gnu/libc.so.6) frame #6: clone + 0x44 (0x790fc78e1a04 in /lib/x86_64-linux-gnu/libc.so.6) Exception raised from ncclCommWatchdog at /pytorch/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp:1905 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string, std::allocator >) + 0x98 (0x790fc69785e8 in /usr/local/lib/python3.11/dist-packages/torch/lib/libc10.so) frame #1: + 0x11b4abe (0x790f7139dabe in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #2: + 0xe07bed (0x790f70ff0bed in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #3: + 0xdc253 (0x790f611d8253 in /lib/x86_64-linux-gnu/libstdc++.so.6) frame #4: + 0x94ac3 (0x790fc7850ac3 in /lib/x86_64-linux-gnu/libc.so.6) frame #5: clone + 0x44 (0x790fc78e1a04 in /lib/x86_64-linux-gnu/libc.so.6) [rank6]:[E312 23:52:48.865788709 ProcessGroupNCCL.cpp:684] [Rank 6] Some NCCL operations have failed or timed out. Due to the asynchronous nature of CUDA kernels, subsequent GPU operations might run on corrupted/incomplete data. [rank6]:[E312 23:52:48.865815177 ProcessGroupNCCL.cpp:698] [Rank 6] To avoid data inconsistency, we are taking the entire process down. [rank6]:[E312 23:52:48.867172243 ProcessGroupNCCL.cpp:1899] [PG ID 0 PG GUID 0(default_pg) Rank 6] Process group watchdog thread terminated with exception: [Rank 6] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=2, OpType=ALLREDUCE, NumelIn=1, NumelOut=1, Timeout(ms)=600000) ran for 600082 milliseconds before timing out. Exception raised from checkTimeout at /pytorch/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp:635 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string, std::allocator >) + 0x98 (0x7b9ed57785e8 in /usr/local/lib/python3.11/dist-packages/torch/lib/libc10.so) frame #1: c10d::ProcessGroupNCCL::WorkNCCL::checkTimeout(std::optional > >) + 0x23d (0x7b9e805cba6d in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #2: c10d::ProcessGroupNCCL::watchdogHandler() + 0xc80 (0x7b9e805cd7f0 in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #3: c10d::ProcessGroupNCCL::ncclCommWatchdog() + 0x14d (0x7b9e805ceefd in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #4: + 0xdc253 (0x7b9e703d8253 in /lib/x86_64-linux-gnu/libstdc++.so.6) frame #5: + 0x94ac3 (0x7b9ed690aac3 in /lib/x86_64-linux-gnu/libc.so.6) frame #6: clone + 0x44 (0x7b9ed699ba04 in /lib/x86_64-linux-gnu/libc.so.6) terminate called after throwing an instance of 'c10::DistBackendError' what(): [PG ID 0 PG GUID 0(default_pg) Rank 6] Process group watchdog thread terminated with exception: [Rank 6] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=2, OpType=ALLREDUCE, NumelIn=1, NumelOut=1, Timeout(ms)=600000) ran for 600082 milliseconds before timing out. Exception raised from checkTimeout at /pytorch/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp:635 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string, std::allocator >) + 0x98 (0x7b9ed57785e8 in /usr/local/lib/python3.11/dist-packages/torch/lib/libc10.so) frame #1: c10d::ProcessGroupNCCL::WorkNCCL::checkTimeout(std::optional > >) + 0x23d (0x7b9e805cba6d in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #2: c10d::ProcessGroupNCCL::watchdogHandler() + 0xc80 (0x7b9e805cd7f0 in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #3: c10d::ProcessGroupNCCL::ncclCommWatchdog() + 0x14d (0x7b9e805ceefd in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #4: + 0xdc253 (0x7b9e703d8253 in /lib/x86_64-linux-gnu/libstdc++.so.6) frame #5: + 0x94ac3 (0x7b9ed690aac3 in /lib/x86_64-linux-gnu/libc.so.6) frame #6: clone + 0x44 (0x7b9ed699ba04 in /lib/x86_64-linux-gnu/libc.so.6) Exception raised from ncclCommWatchdog at /pytorch/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp:1905 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string, std::allocator >) + 0x98 (0x7b9ed57785e8 in /usr/local/lib/python3.11/dist-packages/torch/lib/libc10.so) frame #1: + 0x11b4abe (0x7b9e8059dabe in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #2: + 0xe07bed (0x7b9e801f0bed in /usr/local/lib/python3.11/dist-packages/torch/lib/libtorch_cuda.so) frame #3: + 0xdc253 (0x7b9e703d8253 in /lib/x86_64-linux-gnu/libstdc++.so.6) frame #4: + 0x94ac3 (0x7b9ed690aac3 in /lib/x86_64-linux-gnu/libc.so.6) frame #5: clone + 0x44 (0x7b9ed699ba04 in /lib/x86_64-linux-gnu/libc.so.6) W0312 23:52:50.209000 2052 torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2120 closing signal SIGTERM W0312 23:52:50.211000 2052 torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2121 closing signal SIGTERM W0312 23:52:50.213000 2052 torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2123 closing signal SIGTERM W0312 23:52:50.214000 2052 torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2124 closing signal SIGTERM W0312 23:52:50.215000 2052 torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2125 closing signal SIGTERM W0312 23:52:50.216000 2052 torch/distributed/elastic/multiprocessing/api.py:900] Sending process 2127 closing signal SIGTERM E0312 23:52:52.648000 2052 torch/distributed/elastic/multiprocessing/api.py:874] failed (exitcode: -6) local_rank: 2 (pid: 2122) of binary: /usr/bin/python Traceback (most recent call last): File "/usr/local/bin/accelerate", line 8, in sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.11/dist-packages/accelerate/commands/accelerate_cli.py", line 50, in main args.func(args) File "/usr/local/lib/python3.11/dist-packages/accelerate/commands/launch.py", line 1396, in launch_command multi_gpu_launcher(args) File "/usr/local/lib/python3.11/dist-packages/accelerate/commands/launch.py", line 1023, in multi_gpu_launcher distrib_run.run(args) File "/usr/local/lib/python3.11/dist-packages/torch/distributed/run.py", line 883, in run elastic_launch( File "/usr/local/lib/python3.11/dist-packages/torch/distributed/launcher/api.py", line 139, in __call__ return launch_agent(self._config, self._entrypoint, list(args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/torch/distributed/launcher/api.py", line 270, in launch_agent raise ChildFailedError( torch.distributed.elastic.multiprocessing.errors.ChildFailedError: ===================================================== /tmp/train_on_hf.py FAILED ----------------------------------------------------- Failures: [1]: time : 2026-03-12_23:52:50 host : faa36c97b6c7 rank : 6 (local_rank: 6) exitcode : -6 (pid: 2126) error_file: traceback : Signal 6 (SIGABRT) received by PID 2126 ----------------------------------------------------- Root Cause (first observed failure): [0]: time : 2026-03-12_23:52:50 host : faa36c97b6c7 rank : 2 (local_rank: 2) exitcode : -6 (pid: 2122) error_file: traceback : Signal 6 (SIGABRT) received by PID 2122 ===================================================== >>> Training finished with exit code 1 Ended: 2026-03-12 23:52:53 UTC >>> Saving training log to HuggingFace...