MOSS-Image int8_convrot: HIPBLAS_STATUS_INVALID_VALUE in torch._int_mm on RX 6900 XT (gfx1030, ROCm 7.2)

Open
#17,659 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python, pytorch

Research direction

Start by tracing the int8_convrot model path used by ComfyUI and how it reaches torch._int_mm on ROCm; the report does not name a source file or test. Compare that path with the working bf16 variant on the RX 6900 XT and reproduce the failure using the supplied MOSS-Image template at 1024×1024. Done means int8 sampling completes without the HIPBLAS_STATUS_INVALID_VALUE error and produces an image.

Written by the indexing model from the issue text.

Description

Potential Bug
Custom Node Testing
Expected Behavior

The MOSS-Image int8_convrot model should complete sampling on an RX 6900 XT, as the bf16 variant does.

Actual Behavior

Generation stops at the first sampling step.
The node is marked as failed, and the prompt is aborted. No image is produced. The same error appears on every attempt with the int8 models, including with --use-split-cross-attention, and no output file is written.

Steps to Reproduce

Launch ComfyUI with python main.py --listen
Load the MOSS-Image template with moss_image_sft_int8_convrot.safetensors
Queue a generation at 1024×1024

Debug Logs
RuntimeError: CUDA error: HIPBLAS_STATUS_INVALID_VALUE when calling
`hipblasLtMatmulAlgoGetHeuristic(ltHandle, computeDesc.descriptor(), Adesc.descriptor(),
Bdesc.descriptor(), Cdesc.descriptor(), Cdesc.descriptor(), preference.descriptor(), 1,
&heuristicResult, &returnedResult)`
Other

Enabling --use-split-cross-attention (log confirms “Using split optimization for attention”) does not change the error, so attention is not the cause.
The same template with the bf16 model runs correctly on this card.
Flux.1 Krea (fp8 scaled) also runs on this card.

Dominant language
Python
Stars
146k
Forks
17.4k
Avg merge
19h 44m
Merged PRs (30d)
178

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Comfy-Org/ComfyUI

All issues in Comfy-Org/ComfyUI

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.