Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
758299c to
68eae3d
Compare
|
Hi, does this PR also cover loading the MOSS-Image Qwen3.5-9B W4A8 GPTQ ConvRot text encoder through Model repository: Text encoder: Environment
Observed failureThe current release fails metadata validation when loading this encoder. For example: The physical input dimension appears to be half the expected logical dimension, consistent with packed 4-bit weights not being interpreted by the current loading path. Replacing this encoder with I have not tested this PR branch yet. Could you confirm whether its packed W4A8 support also applies to this Qwen3.5-9B text encoder, including execution on HIP/ROCm? Thank you! |
- loader: packed-w4 convrot tensor recognition; packed payloads stream to the backend unconverted (no load-time reblock, no sidecar cache) - safetensors IO, tensor storage, block builder support for the packed-w4 payloads - activation quantize gated on unit scale for w4 inputs - ggml: pointer to the squashed w4 convrot kernel commit (6a7f9c31, includes group-size-64 quantize support as h64-PR overlap)
68eae3d to
2f4b8cf
Compare
Summary
Adds direct loading and execution of ComfyUI packed int4 convrot checkpoints (
convrot_w4a4,asym_w4a8_int8). The packed nibble weights stream to the backend unconverted: no load-time reblock, no sidecar cache, roughly half a byte per weight parameter. Formats are documented indocs/int4_convrot.md(added here).Loader/graph side:
docs/int4_convrot.mdGGML dependency
The kernels live in the GGML submodule. The ggml-side changes are submitted as leejet/ggml#10 ("ggml : add packed int4 convrot mul_mat for CPU, CUDA, HIP and Vulkan"), which includes the HIP quantize-gate fix this PR's pin depends on.
This PR therefore bumps the
ggmlpin to a branch on my fork. Per the contribution guidelines, ggml updates are validated by the maintainer - keeping this PR in draft until that side is settled; the pin can be retargeted the moment the ggml content lands inleejet/ggml.Backend notes (disclosure)
int8_tensorwisemodels and int8 convrot text encoders currently fall back to CPU; that enablement is the separate INT8 HIP/BLAS ggml PR's scope and does not affect int4 models.Verification
All runs on RX 7900 XTX (gfx1100), Windows, ROCm 10 / Vulkan, 1024x1024, 8 steps, seed 42:
Linked context
Checklist
LLM Disclosure: Yes, used GLM-5.3-Flash