Skip to content

Commit 1046aba

Browse files
committed
lint
1 parent d8454cf commit 1046aba

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

examples/models/qwen3_5_moe/export.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,6 @@ def _export_mlx(model, config, args):
592592
from executorch.exir.passes import MemoryPlanningPass
593593
from torch.export import Dim, export
594594

595-
# Use the minimal forward variant for non-CUDA export. See
596-
# _strip_sampler_from_forward docstring for why this matters.
597595
_strip_sampler_from_forward(model)
598596

599597
example_tokens = torch.tensor([[0, 1]], dtype=torch.long)
@@ -678,9 +676,6 @@ def _export_metal(model, config, args):
678676

679677
inductor_config.coordinate_descent_tuning = False
680678
inductor_config.aot_inductor.compile_wrapper_opt_level = "O0"
681-
682-
# Use the minimal forward variant for non-CUDA export. See
683-
# _strip_sampler_from_forward docstring for why this matters.
684679
_strip_sampler_from_forward(model)
685680

686681
# --- Decode method (T=1, static shape) ---

0 commit comments

Comments
 (0)