Skip to content

Commit 3cd5d2b

Browse files
committed
clean
Signed-off-by: yiliu30 <yi4.liu@intel.com>
1 parent aceb839 commit 3cd5d2b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

experimental/ddp/ddp_qwen3_example.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717
from llmcompressor.utils import dispatch_for_generation
1818

1919
# Select model and load it.
20-
model_id = "Qwen/Qwen3-235B-A22B"
2120
model_id = "Qwen/Qwen3-8B"
22-
# model_id = "/data5/yiliu4/Qwen/Qwen2-0.5B"
23-
# model_id = "Qwen/Qwen2-0.5B"
2421

2522
import argparse
2623
import os
@@ -154,12 +151,6 @@ def quantize_model(rank, world_size, args):
154151
# Other ranks just run quantization without saving
155152
logger.info(f"[Rank {rank}] Running quantization (not saving)")
156153

157-
# except Exception as e:
158-
# logger.info(f"[Rank {rank}] Error during quantization: {e}")
159-
# raise
160-
161-
# finally:
162-
# # Cleanup DDP
163154
if world_size > 1:
164155
cleanup_ddp()
165156

0 commit comments

Comments
 (0)