Skip to content

fix(krea2): make FP8 weights offloadable - #146

Merged
jkoelker merged 1 commit into
mainfrom
jk/krea-fast-tokenizer
Aug 4, 2026
Merged

fix(krea2): make FP8 weights offloadable#146
jkoelker merged 1 commit into
mainfrom
jk/krea-fast-tokenizer

Conversation

@jkoelker

@jkoelker jkoelker commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Diffusers group offloading moves tensor wrapper storage without moving comfy-kitchen internal quantized data and scale. This leaves FP8 weights on CPU while activations run on CUDA.

Store FP8 data as a native parameter and its scale as a module buffer, then construct the quantized view only for execution.

Diffusers group offloading moves tensor wrapper storage without moving
comfy-kitchen internal quantized data and scale. This leaves FP8 weights
on CPU while activations run on CUDA.

Store FP8 data as a native parameter and its scale as a module buffer, then
construct the quantized view only for execution.
@jkoelker

jkoelker commented Aug 4, 2026

Copy link
Copy Markdown
Owner Author

@dobbyphus review this

@jkoelker
jkoelker merged commit 42d9016 into main Aug 4, 2026
4 checks passed
@jkoelker
jkoelker deleted the jk/krea-fast-tokenizer branch August 4, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant