Compact SVD adapters enabling 4-step generation with the base Iris-3B model.
公式Iris-3B Turboの重み差分をSVD圧縮した、4ステップ生成用アダプターです。
| File / ファイル | Rank / alpha | Size / サイズ | Description / 概要 |
|---|---|---|---|
| iris-turbo-r128.safetensors | 128 / 128 | 500,736,776 bytes (477.54 MiB) | Higher fidelity to official Turbo output (Mean SSIM: 0.9218) / 出力再現性を重視 |
| iris-turbo-r64.safetensors | 64 / 64 | 252,274,688 bytes (240.59 MiB) | Smaller file footprint (~50% size, Mean SSIM: 0.9141) / 容量削減を重視 |
These adapters approximate the official Iris-3B Turbo weights using a hybrid iris-turbo-svd-v1 format:
delta = official_turbo - original_base in FP32 using SVD (alpha / rank = 1). Rank128 uses randomized SVD with 64 oversampling components and 8 power iterations; rank64 uses the leading 64 components of the same decomposition. Smaller matrices use exact SVD with zero-padding as needed. Applied as W = W_base + up.float() @ down.float().Loader Compatibility: Generic LoRA loaders (PEFT, Diffusers, or standard Stable Diffusion loaders) cannot load this hybrid format. Use an
iris-turbo-svd-v1-compatible loader or merge into a full checkpoint.
[1.0, 0.938, 0.833, 0.625].iris-turbo-svd-v1.models/Iris-3B/loras/official-turbo-svd/.The included merge_adapter.py converts an adapter and the original base model into an FP32 full checkpoint compatible with the official Iris code.
safetensors, ~32 GB available system RAM, and ~12 GB free output disk space. Existing output directories are protected against overwriting.# 1. Download adapter and base model snapshot
hf download Aikimi/iris-3b-turbo-svd-lora --local-dir iris-turbo-svd
hf download speridlabs/iris-3b model.safetensors config.yaml --revision adc05b909fb05d4276d26aae5a52b36406b2ef26 --local-dir iris-base
# 2. Merge (substitute r64 for rank64)
python iris-turbo-svd/merge_adapter.py --base iris-base --adapter iris-turbo-svd/iris-turbo-r128.safetensors --output iris-turbo-r128
# 3. Run from the official Iris code directory after installing its dependencies
python scripts/sample.py --checkpoint /path/to/iris-turbo-r128 --prompt "A red fox sleeping in fresh snow, golden hour" --seed 6
本アダプターは、公式 Iris-3B Turbo の重み差分をSVD圧縮したハイブリッド形式 iris-turbo-svd-v1 です。
official_turbo - original_base をSVD圧縮(alpha / rank = 1)。rank128はrandomized SVD(oversampling 64、power iteration 8回)、rank64は同一分解の上位64成分を使用。小行列は正確なSVDとゼロパディングで処理。W = W_base + up @ down として適用。注意: 本形式は
iris-turbo-svd-v1専用ローダーが必要です。PEFT、Diffusers、一般的なStable Diffusion向けLoRAローダーでは直接読み込めません。
[1.0, 0.938, 0.833, 0.625]。iris-turbo-svd-v1 対応の Forge Neo を使用します。models/Iris-3B/loras/official-turbo-svd/ に配置します。同梱の merge_adapter.py で元モデルと結合し、公式Irisリポジトリ のサンプラーで動作する通常のFP32フル重みを作成できます。
safetensors、空きRAM約32 GB、空きディスク約12 GB(既存フォルダは上書きされません)。iris-turbo-r64 に変更)。Measured on a local RTX 3090 (PyTorch 2.13.0+cu130, CPU threads = 4, FP32 weights / BF16 autocast, 1024×1024, 4 steps, CFG 1, CPU initial noise; 4 prompts × seeds 6 & 2026 = 8 images per variant). ローカルRTX 3090環境における4プロンプト×2シード(計8枚)での測定結果です。
| Variant | Median Denoising | Median Complete Gen | Mean SSIM vs Official | Peak Allocated GPU VRAM |
|---|---|---|---|---|
| Official Turbo (Full Checkpoint) | 5.129 s | 15.175 s | 1.0000 (reference) | 15,422.93 MiB |
| Rank128 | 4.796 s | 14.406 s | 0.9218 | 15,422.93 MiB |
| Rank64 | 4.739 s | 14.449 s | 0.9141 | 15,422.93 MiB |
測定時間には初回のモデル読み込みとCPU合成を含めていません。合成後のモデルは同じ3Bモデルで、今回の測定では全方式ともGPUの割り当て済みメモリーのピークは15,422.93 MiBでした。SSIMは公式画像との類似度を表します。
Columns: Official Turbo / Rank128 / Rank64. Rows: portrait, anime illustration, spatial relationship, poster (seed 6).
See benchmark.json for prompt configurations and complete metrics, and images/ for samples across both seeds.
adc05b909fb05d4276d26aae5a52b36406b2ef26). Official Turbo weights are under turbo/.iris-turbo-r128.safetensors 501 MBiris-turbo-r64.safetensors 252 MBsperidlabs/iris-3b