Skip to content

Commit

Permalink
fix ACT's bug on distributed training (PaddlePaddle#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzjjay authored Feb 22, 2024
1 parent 9a00cbb commit 2e947dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddleslim/auto_compression/compressor.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def __init__(self,
self.default_distill_node_pair, self.model_type = self._get_model_info()

if self.fleet:
fleet.init(is_collective=True)
fleet.init()

if with_variable_shape(
self.model_dir,
Expand Down

0 comments on commit 2e947dd

Please sign in to comment.