Skip to content

Re-enable dropless MoE test; fix VISION extra on aarch64#532

Merged
jlamypoirier merged 2 commits into
mainfrom
jlp_dropless-and-vision-fixes
Jun 4, 2026
Merged

Re-enable dropless MoE test; fix VISION extra on aarch64#532
jlamypoirier merged 2 commits into
mainfrom
jlp_dropless-and-vision-fixes

Conversation

@jlamypoirier
Copy link
Copy Markdown
Collaborator

Claude Opus 4.8:

Two small, independent fixes surfaced while triaging the backlog.

Re-enable dropless MoE test. #489 fixed and reworked the dropless MoE kernel, but the standalone tests/functional/test_functional.py::test_dropless_mlp was left marked @pytest.mark.skip("Dropless MoE is broken"). Removed the skip — verified passing on a CUDA GPU (1 passed in 9.41s).

Fix VISION extra install on aarch64 (closes #429). pillow-simd is an x86-only (SSE4) fork with no aarch64 build, so pip install ".[VISION]" fails on ARM. Gated pillow-simd to platform_machine == "x86_64" and fall back to stock Pillow on other architectures. Using != "x86_64" (rather than == "aarch64") also covers macOS arm64.

Verified on arm64: pip skips pillow-simd (Ignoring pillow-simd: markers ... don't match your environment) and resolves/installs Pillow, which imports cleanly. No Linux-aarch64 box was available to exercise the real install, but Pillow ships manylinux-aarch64 wheels so no source build is triggered.

🤖 Generated with Claude Code

jlamypoirier and others added 2 commits June 4, 2026 15:34
The dropless MoE kernel was fixed in #489 but the dedicated test_dropless_mlp skip was left behind. Remove it; the test passes on GPU.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
pillow-simd is an x86-only (SSE4) fork with no aarch64 build, so the VISION extra fails to install on ARM. Gate it to x86_64 via an environment marker and fall back to stock Pillow on other architectures.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jlamypoirier jlamypoirier merged commit fc16ba6 into main Jun 4, 2026
1 of 2 checks passed
@jlamypoirier jlamypoirier deleted the jlp_dropless-and-vision-fixes branch June 4, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] VISION extra doesn't install on aarch64

1 participant