kohya-ss / kohya-ss/sd-scripts

Possible additon of quantization or Nfloat4 for lower vram (Same quality as fp8/bf16)

Open
#1,570 3 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

I tested nfloat4 quite a bit on onetrainer, and the results are basically the the same as sd scripts, but almost 9gb vram less.

I was wondering if its possible for you to implement it on your script?

Thank you!

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name files, tests, or an entry point. Start by comparing nfloat4 support in OneTrainer with the existing quantization paths in sd-scripts, then define how equivalent quality and the claimed VRAM reduction would be measured before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.