mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[GH-ISSUE #55] INT8 Krea2 models broken on Tesla T4 (SM75): CUDA invalid argument or corrupted outputs #19
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#19
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 @PhoenixCreation on GitHub (Jun 26, 2026).
Original GitHub issue: https://github.com/Comfy-Org/comfy-kitchen/issues/55
Summary
Native INT8 Krea2 models do not work correctly on Tesla T4 (SM75).
Two different failure modes occur:
Krea2_Turbo_convrot_int8mixed.safetensorsor
Krea2_Turbo_int8mixed.safetensorsFP8, NF4 and GGUF versions of Krea2 work correctly on the same system.
Environment
GPU:
PyTorch:
ComfyUI:
github.com/Comfy-Org/ComfyUI@7cb784e0f4)Comfy Kitchen:
CUDA architectures:
Models tested
Models from https://huggingface.co/Winnougan/Krea-2-Base-Turbo-NVFP4-FP8-INT8
Fails with CUDA error:
Krea2_Turbo_convrot_int8mixed.safetensorsProduces corrupted tiled output:
Krea2_Turbo_int8mixed.safetensorsWorks correctly:
Krea2_Turbo_fp8.safetensorsWorkflow settings
Sampler:
er_sdesimple801.0Resolution tested:
These settings follow the recommended Krea2 Turbo settings.
Additional tests performed
Disabled MultiGPU:
Enabled Triton backend:
Disabled CUTLASS:
Expected behavior
INT8 Krea2 models should either:
Actual behavior
This might be an SM75-specific issue in the native INT8 backend.
@coderabbitai[bot] commented on GitHub (Jun 26, 2026):
🔗 Related PRs
Comfy-Org/comfy-kitchen#53 - Add cutlass int8 kernel [merged]
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
@sashasubbbb commented on GitHub (Jun 27, 2026):
Can confirm i'm also getting same error on RTX 2070 (SM75)
error.txt
@comfyanonymous commented on GitHub (Jun 27, 2026):
Can you try these wheels and let me know if they work? https://github.com/Comfy-Org/comfy-kitchen/actions/runs/28279131999
@PhoenixCreation commented on GitHub (Jun 27, 2026):
Hi @comfyanonymous, will try them in some time and will let you know
@PhoenixCreation commented on GitHub (Jun 27, 2026):
Hi @comfyanonymous, it is working with those wheels(tested with linux cp312 cuda wheel). Although two observation:
These are not the speed gains that one might expect from int8 but they are there so no complaints.
Thanks for fixing this 🙇
@Ph0rk0z commented on GitHub (Jun 27, 2026):
I am testing this right now.. not for krea but for klein. Triton is gated for sm_80. That's a huge regression from int8-fast. Half a second is lost and I have trouble disabling eager to check the cuda backend.
I removed the sm80 gate and the triton kernel ran successfully.. albeit a little slower than the previous node. 6.3s vs 5.9s. So why is the gate there?
@PhoenixCreation commented on GitHub (Jun 27, 2026):
Another update, tried the latest wheel with ideogram and it is working fine:
I also tried the int8 from https://huggingface.co/silveroxides/ideogram4-dequant-and-int8-quant/tree/main and it is also working fine with new wheel.
Again, Thanks @comfyanonymous!
@Ph0rk0z commented on GitHub (Jun 27, 2026):
5.9s is back after I add
triton.Config({'block_m': 128, 'block_n': 128, 'block_k': 64, 'group_size_m': 8}, num_stages=2, num_warps=4),so once again
Gate is done for no reason. I guess now to check the cublas_LT kernel for speed.
update: the cublas_LT kernel is slower than cuda, eager and triton and it NaN because all I get is sprinkles.
@comfyanonymous commented on GitHub (Jun 30, 2026):
If you use latest comfyui turing will work with int8.