-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Summary
The unsloth 2026.2.1 wheel published on PyPI lists triton>=3.0.0; "linux" in sys_platform as a core install dependency, but the source pyproject.toml (on the February-2026 tag) declares it under [project.optional-dependencies] in the [triton] extra group.
Expected behavior
Based on the source pyproject.toml, triton should only be installed when a user explicitly requests an extra that includes it, e.g. pip install unsloth[triton] or pip install unsloth[huggingface]. The wheel metadata should have:
Requires-Dist: triton>=3.0.0; "linux" in sys_platform and extra == "triton"
Actual behavior
The 2026.2.1 wheel on PyPI has:
Requires-Dist: triton>=3.0.0; "linux" in sys_platform
No extra == "triton" condition, making triton a hard dependency for all Linux installations.
Impact
This causes triton to be pulled in on architectures where it may not be buildable (e.g. ppc64le, s390x), since the marker "linux" in sys_platform matches all Linux systems regardless of architecture.
Question
Was this fixed in a later commit? The February-2026 tag source shows triton correctly under optional dependencies, so this may already be resolved but not yet released.