Skip to content

Commit e504526

Browse files
committed
remove print
Signed-off-by: Jennifer Chen <jennifchen@nvidia.com>
1 parent 1efb8c1 commit e504526

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

modelopt/torch/quantization/plugins/megatron.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,6 @@ def layer_sync_moe_local_experts_amax(self):
594594
amax_dict = {}
595595
for expert in self.local_experts:
596596
for name, module in expert.named_modules():
597-
print(name, module)
598597
if (
599598
isinstance(module, TensorQuantizer)
600599
and module.amax is not None

tests/gpu_megatron/torch/quantization/plugins/test_megatron.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,6 @@ def _test_expert_model_parallel_amax_sync(
841841

842842
# quantize the model
843843
model = mtq.quantize(model, config, forward)
844-
845844
# Check initial sync status
846845
initial_sync, quantizer_type, rank_values = compare_amax_sync_across_expert_parallel(model)
847846
assert initial_sync, (

0 commit comments

Comments
 (0)