PaddlePaddle has released version 3.2.2, focusing on distributed parallelism, operator mechanisms, and hardware adaptation. According to the vendor, this update features multiple optimizations and upgrades to further enhance the framework's performance and stability.
Distributed Training Updates
The release prioritizes improvements in distributed training workflows:
- FlexCheckpoint Optimization: The communication process for re-sharding in FlexCheckpoint has been optimized.
- Interoperability: The framework now supports loading Checkpoints in the HuggingFace open-source format.
- Model Parameter Access: A new
fullinterface has been added topaddle.nn.Layerto return complete model parameters. - Sharded Optimizers: The
sharded_state_dictfunction has been introduced for thegroup_sharded_optimizer_stage2optimizer. - Bug Fixes: An issue with the
device_idparameter and core dumps when loading safetensor files viapaddle.loadhas been resolved. - Memory Management: A new
PipelineDatasetPreprocessormechanism has been introduced to eliminate potential memory leak issues in pipeline parallelism strategies.
Operator Mechanism Fixes
A precision issue affecting the to_tensor operation in BFloat16 list scenarios has been fixed.
Hardware Adaptation
The independent XPU memory monitoring module has been modified to ensure consistency with the latest memory monitoring logic.