Skip to content

Conversation

@croquelois
Copy link
Contributor

Some T5 quantification are quantizing the layer enc.blk.0.attn_rel_b.weight
image

it's supported by City96 in his comfy node https://github.com/city96/ComfyUI-GGUF/blob/main/ops.py#L251

but not in Forge, as only the Linear class is overriden in ForgeOperationsGGUF

in this PR, I add the Embedding which I keep as close as possible from the spirit of both the Linear of ForgeOperationsGGUF, and the Embedding of ForgeOperations.

  • tested on T5 quantization where enc.blk.0.attn_rel_b.weight is not quantized. It was working before and it is still working.
  • tested on T5 quantization where enc.blk.0.attn_rel_b.weight is quantized. It was not working beofre, it is working now !

@croquelois croquelois requested a review from lllyasviel as a code owner June 30, 2025 22:04
Panchovix added a commit to Panchovix/stable-diffusion-webui-reForge that referenced this pull request Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant