Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions amd_triton_npu/backend/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,10 +478,7 @@ def _get_output_format():
"npu_config.output_format to 'xclbin' or None."
)
return configured_format
# Auto-detect: xclbin on Windows (ELF flow has stoul bug in NPU driver),
# ELF for npu2 on Linux, xclbin for npu1 everywhere.
if IS_WINDOWS:
return "xclbin"
# Auto-detect: ELF for npu2, xclbin for npu1.
return "elf" if npu_version == "npu2" else "xclbin"


Expand Down
Loading