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
[BACKEND][NVIDIA] Update ptxas_options knobs default value (#8121)
This PR sets the default value of the ptxas_options knob to be the value
of the `PTXAS_OPTIONS` environment variable.
We need this option when we want to apply extra ptxas options across a
range of Triton kernels, without changing their call sites.
# New contributor declaration
- [x] I have written a PR description following these
[rules](https://cbea.ms/git-commit/#why-not-how).
- [x] I have run `pre-commit run --from-ref origin/main --to-ref HEAD`.
- Select one of the following.
- [x] This PR does not need a test because this is a small change of
reading ptxas options from environment variables.
- Select one of the following.
- [x] I have not added any `lit` tests.
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,6 +232,7 @@ See [`python/triton/knobs.py`](python/triton/knobs.py) for the full list of conf
232
232
-`TRITON_F32_DEFAULT` sets the default input precision of `tl.dot` when using 32-bit floats, which can be either `ieee`, `tf32`, or `tf32x3`.
233
233
-`TRITON_FRONT_END_DEBUGGING=1` disables exception wrapping when an error occurs in the compiler frontend, allowing the full stack trace to be seen.
234
234
-`TRITON_DISABLE_LINE_INFO=1` removes all line information from the module.
235
+
-`PTXAS_OPTIONS` passes additional command-line options to the PTX assembler `ptxas` (only on NVIDIA).
235
236
236
237
> [!NOTE]
237
238
> Some of these environment variables don't have a knob in `knobs.py`-- those are only relevant to the C++ layer(s), hence they don't exist in the python layer.
0 commit comments