Skip to content

Gracefully handle the error, "failed to translate module to LLVM IR"#1793

Merged
umechand-amd merged 1 commit into
pytorch:mainfrom
umechand-amd:umechand/test_fix_triton_lowering
Mar 26, 2026
Merged

Gracefully handle the error, "failed to translate module to LLVM IR"#1793
umechand-amd merged 1 commit into
pytorch:mainfrom
umechand-amd:umechand/test_fix_triton_lowering

Conversation

@umechand-amd
Copy link
Copy Markdown
Collaborator

@umechand-amd umechand-amd commented Mar 23, 2026

This PR makes the autotuner gracefully handle the "failed to translate module to LLVM IR" error instead of crashing.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 23, 2026
@umechand-amd umechand-amd requested a review from jansel March 24, 2026 07:00
@umechand-amd umechand-amd force-pushed the umechand/test_fix_triton_lowering branch from 221372b to 40e491e Compare March 24, 2026 07:21
@umechand-amd umechand-amd changed the title Not all configs are expected to lower to Triton. Gracefully handle the error, "failed to translate module to LLVM IR" Mar 24, 2026
@umechand-amd umechand-amd force-pushed the umechand/test_fix_triton_lowering branch 3 times, most recently from 76e78b7 to c16f113 Compare March 25, 2026 19:41
@umechand-amd umechand-amd requested a review from oulgen March 25, 2026 22:41
@umechand-amd umechand-amd enabled auto-merge (squash) March 25, 2026 23:15
@umechand-amd umechand-amd force-pushed the umechand/test_fix_triton_lowering branch from c16f113 to b26980e Compare March 25, 2026 23:16
@umechand-amd umechand-amd merged commit 71ccc03 into pytorch:main Mar 26, 2026
18 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