Skip to content

[backend] Promote cute and pallas backends to beta - #3909

Merged
oulgen merged 1 commit into
mainfrom
oulgen/backend-state
Oct 12, 2026
Merged

oulgen merged 1 commit into
mainfrom
oulgen/backend-state

Conversation

@oulgen

@oulgen oulgen commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Replace the boolean Backend.experimental property with Backend.state, which returns a new BackendState enum. Each built-in backend declares its state through this property. Custom backends still default to EXPERIMENTAL.

State Meaning Backends
EXPERIMENTAL Shows the "backend is experimental and may have limited functionality" warning metal, flydsl
BETA No warning, but no backwards-compatibility guarantee cute, pallas (were experimental)
STABLE triton, tileir (inherited from triton)

README and docs/installation.md now describe CuTe as beta.

Test plan:

  • pytest test/test_backend_registry.py (custom-backend default check updated to BackendState.EXPERIMENTAL)
  • Built a CompileEnvironment for each backend (with validate_environment stubbed): triton/cute/pallas don't warn; metal/flydsl still do
  • ./lint.sh: ruff is clean; pyrefly reports the same error count as main

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 11, 2026
@oulgen
oulgen force-pushed the oulgen/backend-state branch from a2b6fcf to 9bed5ef Compare October 11, 2026 20:39
@oulgen
oulgen requested a review from jansel October 11, 2026 20:40
Replace the boolean `Backend.experimental` property with `Backend.state`,
which returns a new `BackendState` enum:

- EXPERIMENTAL: emits the "backend is experimental" warning
- BETA: no warning, but no backwards-compat guarantee
- STABLE

Custom backends still default to EXPERIMENTAL.

- triton, tileir (inherited): STABLE
- cute, pallas: BETA (were experimental)
- metal, flydsl: EXPERIMENTAL

README and installation docs now describe CuTe as beta.
@oulgen
oulgen force-pushed the oulgen/backend-state branch from 9bed5ef to 27a32a6 Compare October 12, 2026 01:44
@oulgen oulgen changed the title [backend] Promote cute and pallas backends to stable [backend] Promote cute and pallas backends to beta Oct 12, 2026
@oulgen
oulgen merged commit c3fe06e into main Oct 12, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants