计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
collaborative-training【效率与协作】Routes Hivemind collaborative-training workflows for averaging tensors, wrapping PyTorch optimizers, compression choices, and the ALBERT example recipe.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route when the task is about peer-to-peer averaging, hivemind.Optimizer, DecentralizedAverager, TrainingStateAverager, compression choices, or the ALBERT collaborative-training example.
DecentralizedAverager.Optimizer, TrainingAverager, GradientAverager, PowerSGDGradientAverager, and ProgressTracker.load_state_from_peers, state sharing, checkpoint transfer, and local update semantics.Float16Compression, Uniform8BitQuantization, Quantile8BitQuantization, adaptive compression, and the optional BlockwiseQuantization path.examples/albert/, including data preprocessing, monitor, trainer, and dependency setup.dht.moe.references/api-reference.md for the verified signatures and important flags.references/workflows.md for the generic averaging and optimizer recipes.references/albert-example.md for the end-to-end collaborative ALBERT tutorial.references/troubleshooting.md when training stalls, peers diverge, state loading fails, or optional extras are missing.../../scripts/check_install.py with --check-albert when you want to validate the optional ALBERT dependency stack.Optimizer is the main collaborative-training wrapper around a normal PyTorch optimizer.target_batch_size controls the global epoch boundary; batch_size_per_step is the local minibatch contribution.use_local_updates=True changes the training cadence and disables gradient accumulation semantics.reuse_grad_buffers=True is memory-efficient but changes how zero_grad should be handled.Float16Compression or the 8-bit strategies only when the task can tolerate it.load_state_from_peers fail or time out?"