You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| softmax_online |Stub (ref) |single-pass | Reference-backed by default; `FORGE_SOFTMAX_IMPL` can force `ref` or strict `kernel` mode|
113
+
| softmax_online |Implemented (registry) |ref, kernel | Default backend is `ref`; `kernel` is available for contributor benchmarking and remains non-production|
114
114
115
115
---
116
116
@@ -153,15 +153,19 @@ uv run python bench/run.py --suite smoke # Run benchmark suite
153
153
uv run python bench/run.py --suite smoke --out out.json # Save results
154
154
uv run python bench/benchmark_copy_transpose.py # Standalone benchmark
155
155
uv run python bench/benchmark_reduce.py # Standalone benchmark
156
-
uv run python bench/benchmark_online_softmax.py --impl auto# softmax fwd+bwd (fallback allowed)
157
-
uv run python bench/benchmark_online_softmax.py --impl kernel # softmax fwd+bwd (hard fail if kernel missing)
156
+
uv run python bench/benchmark_online_softmax.py --backend ref# softmax fwd+bwd on reference backend
157
+
uv run python bench/benchmark_online_softmax.py --backend kernel # softmax fwd+bwd on CuTe kernel backend
158
158
modal run bench/modal_bench.py --suite smoke --out results.json # Remote run on B200 via Modal
159
159
```
160
160
161
-
`softmax_online` mode is controlled by `FORGE_SOFTMAX_IMPL`:
162
-
-`auto` (default): try kernel first, then fallback to reference.
163
-
-`ref`: force reference implementation.
164
-
-`kernel`: require kernel implementation and fail fast if unavailable.
161
+
`softmax_online` backend selection is controlled via Python API or benchmark CLI:
162
+
- Python API: `set_softmax_online_backend("ref")` or `set_softmax_online_backend("kernel")`
0 commit comments