From a565d816c1b520842ed62d9ba87684f33d311c7a Mon Sep 17 00:00:00 2001 From: wangxiyuan Date: Wed, 14 Jan 2026 11:19:52 +0800 Subject: [PATCH] [CI] Fix lint CI Signed-off-by: wangxiyuan --- .../quantization/llm-compressor/w8a8_int8_dynamic_moe.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/quantization/llm-compressor/w8a8_int8_dynamic_moe.py b/examples/quantization/llm-compressor/w8a8_int8_dynamic_moe.py index d5f5d887408..14ebd6e12fc 100644 --- a/examples/quantization/llm-compressor/w8a8_int8_dynamic_moe.py +++ b/examples/quantization/llm-compressor/w8a8_int8_dynamic_moe.py @@ -1,14 +1,11 @@ import torch -from transformers import AutoModelForCausalLM, AutoTokenizer - from llmcompressor import oneshot from llmcompressor.modifiers.quantization import QuantizationModifier +from transformers import AutoModelForCausalLM, AutoTokenizer MODEL_ID = "Qwen/Qwen3-30B-A3B-Instruct-2507" -model = AutoModelForCausalLM.from_pretrained( - MODEL_ID, dtype=torch.bfloat16, trust_remote_code=True -) +model = AutoModelForCausalLM.from_pretrained(MODEL_ID, dtype=torch.bfloat16, trust_remote_code=True) tokenizer = AutoTokenizer.from_pretrained(MODEL_ID) recipe = QuantizationModifier(