Skip to content

[Test] Skip the Windows moe smoke test when FlyDSL is absent - #8094

Merged
zufayu merged 1 commit into
mainfrom
opus/windows-smoke-skip-without-flydsl
Nov 17, 2026
Merged

zufayu merged 1 commit into
mainfrom
opus/windows-smoke-skip-without-flydsl

Conversation

@zufayu

@zufayu zufayu commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Summary

op_tests/windows/test_moe_small_m_direct.py cannot be collected on Windows. It fails the whole Windows smoke job with ModuleNotFoundError: No module named 'flydsl'. This skips it there instead.

What happens

The file is a re-export shim. It imports op_tests.test_moe_small_m_direct, which imports aiter.fused_moe, which imports FlyDSL unconditionally -- 39 names across three aiter.ops.flydsl modules, so the dependency is structural rather than a corner of the file.

FlyDSL ships Linux-only wheels and requirements.txt says so:

# flydsl publishes Linux-only wheels.
flydsl==0.4.2; sys_platform != "win32"

The Windows runner logs Ignoring flydsl: markers 'sys_platform != "win32"' don't match your environment and never installs it. pytest then raises during COLLECTION, and a collection error is not a skip -- it fails the job.

Why here rather than in aiter/fused_moe.py

Guarding the import there would need fallbacks for all 39 names and leave the module half-defined. Stage2ScatterContext is also used in two def-line annotations, and the file has no from __future__ import annotations, so a None fallback raises at definition time. The skip belongs next to the platform that deliberately lacks the dependency.

It costs no coverage Windows had: aiter.fused_moe has never been importable there.

Timeline

when (UTC) what
2026-11-16 13:15 last scheduled Windows smoke run on main -- green
2026-11-17 02:29 #4740 merges, adding op_tests/windows/test_moe_small_m_direct.py
2026-11-17 09:33 #8075's Windows job runs and fails
2026-11-17 13:00 tonight's scheduled run, which would be the first on main to hit it

The job runs on a pull request only with ci:windows or ci:all, which is why #8075 saw it and other PRs opened since #4740 did not.

Testing

  • black --check clean
  • ruff check clean
  • 47 tests still collect on Linux, where FlyDSL is present -- the happy path is unchanged
  • pytest.importorskip on a missing module raises Skipped, not an error

Documentation

  • No documentation change is needed; the reasoning is a comment next to the skip.

Dependencies

  • No new third-party dependencies added

Breaking Changes

None. Linux behaviour is byte-for-byte unchanged.

🤖 Generated with Claude Code

`op_tests/windows/test_moe_small_m_direct.py` landed on main at 02:29 UTC
today (#4740). It re-exports `op_tests.test_moe_small_m_direct`, which
imports `aiter.fused_moe`, which imports FlyDSL unconditionally -- 39 names
across three `aiter.ops.flydsl` modules.

FlyDSL ships Linux-only wheels, and `requirements.txt` says so:
`flydsl==0.4.2; sys_platform != "win32"`. The Windows smoke runner therefore
logs `Ignoring flydsl: markers 'sys_platform != "win32"' don't match your
environment` and never installs it, so pytest raises
`ModuleNotFoundError: No module named 'flydsl'` while COLLECTING the module.

A collection error is not a skip: it fails the whole smoke job. Guarding the
import inside `aiter/fused_moe.py` instead would need fallbacks for all 39
names and leave the module half-defined, so the skip belongs here, next to
the platform that deliberately lacks the dependency. It costs no coverage
Windows had -- `aiter.fused_moe` has never been importable there.

The daily scheduled run (13:00 UTC) is green through 2026-11-16 because it
last ran before #4740 merged; today's would be the first to hit this.
PR #8075 found it earlier only because it carries `ci:all`, which is what
lets this job run on a pull request at all.

Verified: black and ruff clean; 47 tests still collect on Linux, where
FlyDSL is present, so the happy path is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@zufayu
zufayu requested a review from a team November 17, 2026 09:54
@github-actions github-actions Bot changed the title [CI] [Test] Skip the Windows moe smoke test when FlyDSL is absent [Test] Skip the Windows moe smoke test when FlyDSL is absent Nov 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter standard tests on MI35X
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:mi300x Run Aiter standard tests on MI300X in PRs; main branch always runs them
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs (added automatically when gfx942 configs change); main branch always runs both MI35X and MI300X
ci:triton-355 Run the full Triton test suite on MI35X, not only the tests the change affects
ci:windows Windows JIT op smoke test on the Radeon R9700 ROCm runner
ci:multi-gpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: DeepSeek-V4-Pro, MiniMax-M3-MXFP4
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 8094 --add-label <label>

One backend per PR:
A PR changes one kernel backend: [Triton/Gluon] (Triton and Gluon count as one), [HIP], [ASM], [CK], [OPUS] or [FlyDSL]. If the title ends up with two backend tags, split the PR -- as stacked pull requests when one part cannot merge without the other.

PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to stop the title rewrites; labels stay in sync either way.

Reviews:
A reviewer is usually assigned within one working day after the PR is ready for review (see Code Review Process). If nobody has responded for about a week, mention the area contact listed in CONTACTS.md. Want to help review? See REVIEWERS.md.

@aiter-bot

Copy link
Copy Markdown

WAITING ON AUTHOR

PR Self-Review

Revision 3eb928c6b7d1 · mode shadow

Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision.

Questions to answer in the PR description

  1. What behavior does this PR change, and why is the existing behavior insufficient?
  2. What did you validate, and what remains unverified? Include commands, hardware/configuration and results.
  3. What behavior would each changed op test fail on before this PR, and why is that coverage not already provided by an existing canonical test?
  4. For every changed op_tests/ file, what behavior does it cover and why is it not redundant? Write None if no op test changed.

Edit the PR Self-Review section in the PR description. Include the current revision SHA; this comment refreshes automatically.

Missing or invalid answers

  • FAIL — missing ### Reviewed revision in the PR description
  • FAIL — missing ### Behavior and intent in the PR description
  • FAIL — missing ### Validation and unverified scope in the PR description
  • FAIL — missing ### PR-specific question in the PR description
  • FAIL — missing ### Changed op tests in the PR description
  • FAIL — Reviewed revision must contain at least the first 7 characters of the current head SHA
  • FAIL — Behavior and intent has no substantive answer
  • FAIL — Validation and unverified scope has no substantive answer
  • FAIL — PR-specific question has no substantive answer
  • FAIL — changed op test not explained in Changed op tests: op_tests/windows/test_moe_small_m_direct.py
  • FAIL — Changed op tests must explain why each changed op test is necessary and non-redundant

Shadow mode reports what would block but keeps the status successful. Set AITER_PR_SELF_REVIEW_MODE=enforce only after reviewing real false positives.

@zufayu zufayu added ci:all ci:windows Trigger Windows smoke test on PR and removed ci:all labels Nov 17, 2026
@zufayu
zufayu merged commit 0d89438 into main Nov 17, 2026
@zufayu
zufayu deleted the opus/windows-smoke-skip-without-flydsl branch November 17, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:windows Trigger Windows smoke test on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants