Skip to content

Custom Triton kernel registration #57849

Custom Triton kernel registration

Custom Triton kernel registration #57849

Triggered via pull request November 12, 2025 23:55
Status Failure
Total duration 13m 5s
Artifacts

lint.yml

on: pull_request
Get changed files  /  get-changed-files
3s
Get changed files / get-changed-files
link-check  /  ...  /  linux-job
4m 18s
link-check / lint-urls / linux-job
link-check  /  ...  /  linux-job
4m 17s
link-check / lint-xrefs / linux-job
link-check  /  ...  /  linux-job
4m 19s
link-check / lint-file-size / linux-job
android-java-format  /  linux-job
4m 30s
android-java-format / linux-job
lintrunner-mypy  /  linux-job
10m 0s
lintrunner-mypy / linux-job
lintrunner  /  linux-job
4m 19s
lintrunner / linux-job
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
lintrunner / linux-job
Process completed with exit code 1.
FLAKE8 B011: /pytorch/executorch/custom_triton_playground/test-sdpa-with-custom-kernel.py#L50
Do not call assert False since python -O removes these calls. Instead callers should raise AssertionError(). See https://github.com/PyCQA/flake8-bugbear#list-of-warnings.
FLAKE8 F401: /pytorch/executorch/custom_triton_playground/test-sdpa-with-custom-kernel.py#L15
'torch.export.Dim' imported but unused See https://www.flake8rules.com/rules/F401.html.
FLAKE8 E741: /pytorch/executorch/custom_triton_playground/sdpa_triton.py#L242
ambiguous variable name 'O' See https://www.flake8rules.com/rules/E741.html.
FLAKE8 F401: /pytorch/executorch/custom_triton_playground/sdpa_triton.py#L3
'typing.Any' imported but unused See https://www.flake8rules.com/rules/F401.html.
UFMT format: /pytorch/executorch/backends/cuda/cuda_backend.py#L0
Run `lintrunner -a` to apply this patch.
FLAKE8 F401: /pytorch/executorch/backends/cuda/cuda_backend.py#L30
'torch.nn.attention.SDPBackend' imported but unused See https://www.flake8rules.com/rules/F401.html.
FLAKE8 F401: /pytorch/executorch/custom_triton_playground/optimized_sdpa_triton.py#L2
'typing.Any' imported but unused See https://www.flake8rules.com/rules/F401.html.