mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[GH-ISSUE #125] Segfault in HIP dequantize_per_tensor_fp8 on gfx1201 (RDNA4) #40
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-kitchen#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fgheorghe on GitHub (Aug 21, 2026).
Original GitHub issue: https://github.com/Comfy-Org/comfy-kitchen/issues/125
Environment
rocm/dev-ubuntu-22.04:7.2.4-complete)Description
Hard segfault (no Python exception, process dies) in the HIP backend's
dequantize_per_tensor_fp8when an fp8-quantized text encoder runs its firstforward pass.
Setting
COMFY_KITCHEN_DISABLE_HIP=1avoids the crash entirely, and the sameworkflow then completes correctly via the eager backend - so the inputs
themselves are fine.
This is not an architecture mismatch. comfy-kitchen was rebuilt explicitly
for the local target:
The crash reproduces identically before and after that rebuild.
Steps to reproduce
qwen3vl_4b_fp8_scaled.safetensors)Backend detection at startup
HIP reports available and enabled, and lists
dequantize_per_tensor_fp8amongits capabilities - so this is a kernel that claims support, not a fallback path:
Stack trace
Workaround
COMFY_KITCHEN_DISABLE_HIP=1@0xDELUXA commented on GitHub (Aug 22, 2026):
Upgrade ROCm/PyTorch to the latest TheRock nightly.