Put more information about model gating and how to solve it
This commit is contained in:
1 parent
ede6f9ecee
commit
67984754c3
3 files changed
+71
-3
No files matched your search
@@ -22,14 +22,18 @@ AI Toolkit is an easy to use all in one training suite for diffusion models. I t
|
|||||||
- [Tongyi-MAI/Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) (Z-Image Turbo)
|
- [Tongyi-MAI/Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) (Z-Image Turbo)
|
||||||
- [Tongyi-MAI/Z-Image](https://huggingface.co/Tongyi-MAI/Z-Image) (Z-Image)
|
- [Tongyi-MAI/Z-Image](https://huggingface.co/Tongyi-MAI/Z-Image) (Z-Image)
|
||||||
- [ostris/Z-Image-De-Turbo](https://huggingface.co/ostris/Z-Image-De-Turbo) (Z-Image De-Turbo)
|
- [ostris/Z-Image-De-Turbo](https://huggingface.co/ostris/Z-Image-De-Turbo) (Z-Image De-Turbo)
|
||||||
|
- [zhen-nan/L2P](https://huggingface.co/zhen-nan/L2P) (Z-Image L2P)
|
||||||
- [stabilityai/stable-diffusion-xl-base-1.0](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0) (SDXL)
|
- [stabilityai/stable-diffusion-xl-base-1.0](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0) (SDXL)
|
||||||
- [stable-diffusion-v1-5/stable-diffusion-v1-5](https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5) (SD 1.5)
|
- [stable-diffusion-v1-5/stable-diffusion-v1-5](https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5) (SD 1.5)
|
||||||
- [baidu/ERNIE-Image](https://huggingface.co/baidu/ERNIE-Image) (ERNIE-Image)
|
- [baidu/ERNIE-Image](https://huggingface.co/baidu/ERNIE-Image) (ERNIE-Image)
|
||||||
- [NucleusAI/Nucleus-Image](https://huggingface.co/NucleusAI/Nucleus-Image) (Nucleus-Image)
|
- [NucleusAI/Nucleus-Image](https://huggingface.co/NucleusAI/Nucleus-Image) (Nucleus-Image)
|
||||||
- [Boogu/Boogu-Image-0.1-Base](https://huggingface.co/Boogu/Boogu-Image-0.1-Base) (Boogu Image 0.1)
|
- [Boogu/Boogu-Image-0.1-Base](https://huggingface.co/Boogu/Boogu-Image-0.1-Base) (Boogu Image 0.1)
|
||||||
- [HiDream-ai/HiDream-O1-Image](https://huggingface.co/HiDream-ai/HiDream-O1-Image) (HiDream O1)
|
- [HiDream-ai/HiDream-O1-Image](https://huggingface.co/HiDream-ai/HiDream-O1-Image) (HiDream O1)
|
||||||
|
- [ideogram-ai/ideogram-4-fp8](https://huggingface.co/ideogram-ai/ideogram-4-fp8) (Ideogram 4 FP8)
|
||||||
- [Photoroom/prxpixel-t2i](https://huggingface.co/Photoroom/prxpixel-t2i) (PRXPixel)
|
- [Photoroom/prxpixel-t2i](https://huggingface.co/Photoroom/prxpixel-t2i) (PRXPixel)
|
||||||
- [circlestone-labs/Anima-Base-v1.0-Diffusers](https://huggingface.co/circlestone-labs/Anima-Base-v1.0-Diffusers) (Anima)
|
- [circlestone-labs/Anima-Base-v1.0-Diffusers](https://huggingface.co/circlestone-labs/Anima-Base-v1.0-Diffusers) (Anima)
|
||||||
|
- [krea/Krea-2-Raw](https://huggingface.co/krea/Krea-2-Raw) (Krea 2)
|
||||||
|
- [krea/Krea-2-Turbo](https://huggingface.co/krea/Krea-2-Turbo) (Krea 2 Turbo)
|
||||||
|
|
||||||
### Instruction / Edit
|
### Instruction / Edit
|
||||||
- [black-forest-labs/FLUX.1-Kontext-dev](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev) (FLUX.1-Kontext-dev)
|
- [black-forest-labs/FLUX.1-Kontext-dev](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev) (FLUX.1-Kontext-dev)
|
||||||
@@ -38,6 +42,8 @@ AI Toolkit is an easy to use all in one training suite for diffusion models. I t
|
|||||||
- [Qwen/Qwen-Image-Edit-2511](https://huggingface.co/Qwen/Qwen-Image-Edit-2511) (Qwen-Image-Edit-2511)
|
- [Qwen/Qwen-Image-Edit-2511](https://huggingface.co/Qwen/Qwen-Image-Edit-2511) (Qwen-Image-Edit-2511)
|
||||||
- [HiDream-ai/HiDream-E1-1](https://huggingface.co/HiDream-ai/HiDream-E1-1) (HiDream E1)
|
- [HiDream-ai/HiDream-E1-1](https://huggingface.co/HiDream-ai/HiDream-E1-1) (HiDream E1)
|
||||||
- [Boogu/Boogu-Image-0.1-Edit](https://huggingface.co/Boogu/Boogu-Image-0.1-Edit) (Boogu Image Edit)
|
- [Boogu/Boogu-Image-0.1-Edit](https://huggingface.co/Boogu/Boogu-Image-0.1-Edit) (Boogu Image Edit)
|
||||||
|
- [krea/Krea-2-Raw](https://huggingface.co/krea/Krea-2-Raw) (Krea 2 Edit Training)
|
||||||
|
- [krea/Krea-2-Turbo](https://huggingface.co/krea/Krea-2-Turbo) (Krea 2 Turbo Edit Training)
|
||||||
|
|
||||||
### Video
|
### Video
|
||||||
- [Wan-AI/Wan2.1-T2V-1.3B-Diffusers](https://huggingface.co/Wan-AI/Wan2.1-T2V-1.3B-Diffusers) (Wan 2.1 1.3B)
|
- [Wan-AI/Wan2.1-T2V-1.3B-Diffusers](https://huggingface.co/Wan-AI/Wan2.1-T2V-1.3B-Diffusers) (Wan 2.1 1.3B)
|
||||||
@@ -49,7 +55,6 @@ AI Toolkit is an easy to use all in one training suite for diffusion models. I t
|
|||||||
- [Wan-AI/Wan2.2-TI2V-5B-Diffusers](https://huggingface.co/Wan-AI/Wan2.2-TI2V-5B-Diffusers) (Wan 2.2 TI2V 5B)
|
- [Wan-AI/Wan2.2-TI2V-5B-Diffusers](https://huggingface.co/Wan-AI/Wan2.2-TI2V-5B-Diffusers) (Wan 2.2 TI2V 5B)
|
||||||
- [Lightricks/LTX-2](https://huggingface.co/Lightricks/LTX-2) (LTX-2)
|
- [Lightricks/LTX-2](https://huggingface.co/Lightricks/LTX-2) (LTX-2)
|
||||||
- [Lightricks/LTX-2.3](https://huggingface.co/Lightricks/LTX-2.3) (LTX-2.3)
|
- [Lightricks/LTX-2.3](https://huggingface.co/Lightricks/LTX-2.3) (LTX-2.3)
|
||||||
- [krea/Krea-2-Raw](https://huggingface.co/krea/Krea-2-Raw) (Krea 2)
|
|
||||||
|
|
||||||
### Audio
|
### Audio
|
||||||
- [ACE-Step/Ace-Step1.5](https://huggingface.co/ACE-Step/Ace-Step1.5) (Ace Step 1.5)
|
- [ACE-Step/Ace-Step1.5](https://huggingface.co/ACE-Step/Ace-Step1.5) (Ace Step 1.5)
|
||||||
@@ -57,7 +62,6 @@ AI Toolkit is an easy to use all in one training suite for diffusion models. I t
|
|||||||
|
|
||||||
### Experimental
|
### Experimental
|
||||||
- [lodestones/Zeta-Chroma](https://huggingface.co/lodestones/Zeta-Chroma) (Zeta Chroma)
|
- [lodestones/Zeta-Chroma](https://huggingface.co/lodestones/Zeta-Chroma) (Zeta Chroma)
|
||||||
- [ideogram-ai/ideogram-4-fp8](https://huggingface.co/ideogram-ai/ideogram-4-fp8) (Ideogram 4 FP8)
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ import {
|
|||||||
CreatableSelectInput,
|
CreatableSelectInput,
|
||||||
} from '@/components/formInputs';
|
} from '@/components/formInputs';
|
||||||
import Card from '@/components/Card';
|
import Card from '@/components/Card';
|
||||||
import { X, Copy, Wand2, SquareDashed } from 'lucide-react';
|
import { X, Copy, Wand2, SquareDashed, Info } from 'lucide-react';
|
||||||
|
import { openDoc } from '@/components/DocModal';
|
||||||
import { openUpsamplePromptsModal, toAspectRatio } from '@/components/UpsamplePromptsModal';
|
import { openUpsamplePromptsModal, toAspectRatio } from '@/components/UpsamplePromptsModal';
|
||||||
import { openPromptBoxEditor } from '@/components/PromptBoxEditorModal';
|
import { openPromptBoxEditor } from '@/components/PromptBoxEditorModal';
|
||||||
import AddSingleImageModal, { openAddImageModal } from '@/components/AddSingleImageModal';
|
import AddSingleImageModal, { openAddImageModal } from '@/components/AddSingleImageModal';
|
||||||
@@ -323,6 +324,59 @@ export default function SimpleJob({
|
|||||||
placeholder=""
|
placeholder=""
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
{modelArch?.gateUrl && (
|
||||||
|
<div className="pt-2">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={() => {
|
||||||
|
const gateUrl = modelArch.gateUrl as string;
|
||||||
|
openDoc({
|
||||||
|
title: 'Gated Model',
|
||||||
|
description: (
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p>
|
||||||
|
This model is gated on Huggingface. Before you can use it, you will need to accept the model
|
||||||
|
terms on the model page:
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a
|
||||||
|
href={gateUrl}
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="text-blue-400 hover:text-blue-300 underline"
|
||||||
|
>
|
||||||
|
{gateUrl}
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
You will also need to create a Huggingface{' '}
|
||||||
|
<a
|
||||||
|
href="https://huggingface.co/settings/tokens"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="text-blue-400 hover:text-blue-300 underline"
|
||||||
|
>
|
||||||
|
read token
|
||||||
|
</a>{' '}
|
||||||
|
and add it on the{' '}
|
||||||
|
<a href="/settings" className="text-blue-400 hover:text-blue-300 underline">
|
||||||
|
settings page
|
||||||
|
</a>
|
||||||
|
.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
),
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
className="w-full flex items-center gap-2 rounded-md bg-blue-950/60 border border-blue-800 px-3 py-2 text-sm text-blue-200 hover:bg-blue-900/60 text-left"
|
||||||
|
>
|
||||||
|
<Info className="w-4 h-4 shrink-0 text-blue-400" />
|
||||||
|
<span>
|
||||||
|
Gated model. <span className="underline">Learn more.</span>
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
{modelArch?.additionalSections?.includes('model.low_vram') && (
|
{modelArch?.additionalSections?.includes('model.low_vram') && (
|
||||||
<FormGroup label="Options">
|
<FormGroup label="Options">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ export interface ModelArch {
|
|||||||
additionalSections?: AdditionalSections[];
|
additionalSections?: AdditionalSections[];
|
||||||
accuracyRecoveryAdapters?: { [key: string]: string };
|
accuracyRecoveryAdapters?: { [key: string]: string };
|
||||||
sampleTags?: SampleTags;
|
sampleTags?: SampleTags;
|
||||||
|
gateUrl?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const defaultNameOrPath = '';
|
const defaultNameOrPath = '';
|
||||||
@@ -101,6 +102,7 @@ export const modelArchs: ModelArch[] = [
|
|||||||
'config.process[0].train.noise_scheduler': ['flowmatch', 'flowmatch'],
|
'config.process[0].train.noise_scheduler': ['flowmatch', 'flowmatch'],
|
||||||
},
|
},
|
||||||
disableSections: ['network.conv'],
|
disableSections: ['network.conv'],
|
||||||
|
gateUrl: 'https://huggingface.co/black-forest-labs/FLUX.1-dev',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'flux_kontext',
|
name: 'flux_kontext',
|
||||||
@@ -117,6 +119,7 @@ export const modelArchs: ModelArch[] = [
|
|||||||
},
|
},
|
||||||
disableSections: ['network.conv'],
|
disableSections: ['network.conv'],
|
||||||
additionalSections: ['datasets.control_path', 'sample.ctrl_img'],
|
additionalSections: ['datasets.control_path', 'sample.ctrl_img'],
|
||||||
|
gateUrl: 'https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'flex1',
|
name: 'flex1',
|
||||||
@@ -623,6 +626,7 @@ export const modelArchs: ModelArch[] = [
|
|||||||
'model.layer_offloading',
|
'model.layer_offloading',
|
||||||
'model.qie.match_target_res',
|
'model.qie.match_target_res',
|
||||||
],
|
],
|
||||||
|
gateUrl: 'https://huggingface.co/black-forest-labs/FLUX.2-dev',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'zimage:turbo',
|
name: 'zimage:turbo',
|
||||||
@@ -829,6 +833,7 @@ export const modelArchs: ModelArch[] = [
|
|||||||
'model.layer_offloading',
|
'model.layer_offloading',
|
||||||
'model.qie.match_target_res',
|
'model.qie.match_target_res',
|
||||||
],
|
],
|
||||||
|
gateUrl: 'https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'ace_step_15_xl',
|
name: 'ace_step_15_xl',
|
||||||
@@ -1040,6 +1045,7 @@ export const modelArchs: ModelArch[] = [
|
|||||||
'model.unconditional_lora_path',
|
'model.unconditional_lora_path',
|
||||||
],
|
],
|
||||||
hasMultiLinePrompts: true,
|
hasMultiLinePrompts: true,
|
||||||
|
gateUrl: 'https://huggingface.co/ideogram-ai/ideogram-4-fp8',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'prx_pixel',
|
name: 'prx_pixel',
|
||||||
@@ -1066,6 +1072,7 @@ export const modelArchs: ModelArch[] = [
|
|||||||
name: 'krea2',
|
name: 'krea2',
|
||||||
label: 'Krea 2 (raw)',
|
label: 'Krea 2 (raw)',
|
||||||
group: 'image',
|
group: 'image',
|
||||||
|
gateUrl: 'https://huggingface.co/krea/Krea-2-Raw',
|
||||||
defaults: {
|
defaults: {
|
||||||
'config.process[0].model.name_or_path': ['krea/Krea-2-Raw', defaultNameOrPath],
|
'config.process[0].model.name_or_path': ['krea/Krea-2-Raw', defaultNameOrPath],
|
||||||
'config.process[0].model.quantize': [true, false],
|
'config.process[0].model.quantize': [true, false],
|
||||||
@@ -1087,6 +1094,7 @@ export const modelArchs: ModelArch[] = [
|
|||||||
name: 'krea2:turbo',
|
name: 'krea2:turbo',
|
||||||
label: 'Krea 2 Turbo (w/ Training Adapter)',
|
label: 'Krea 2 Turbo (w/ Training Adapter)',
|
||||||
group: 'image',
|
group: 'image',
|
||||||
|
gateUrl: 'https://huggingface.co/krea/Krea-2-Turbo',
|
||||||
defaults: {
|
defaults: {
|
||||||
'config.process[0].model.name_or_path': ['krea/Krea-2-Turbo', defaultNameOrPath],
|
'config.process[0].model.name_or_path': ['krea/Krea-2-Turbo', defaultNameOrPath],
|
||||||
'config.process[0].model.quantize': [true, false],
|
'config.process[0].model.quantize': [true, false],
|
||||||
@@ -1114,6 +1122,7 @@ export const modelArchs: ModelArch[] = [
|
|||||||
{
|
{
|
||||||
name: 'krea2:o_edit',
|
name: 'krea2:o_edit',
|
||||||
label: 'Krea 2 (raw) [Edit Training]',
|
label: 'Krea 2 (raw) [Edit Training]',
|
||||||
|
gateUrl: 'https://huggingface.co/krea/Krea-2-Raw',
|
||||||
group: 'experimental',
|
group: 'experimental',
|
||||||
defaults: {
|
defaults: {
|
||||||
'config.process[0].model.name_or_path': ['krea/Krea-2-Raw', defaultNameOrPath],
|
'config.process[0].model.name_or_path': ['krea/Krea-2-Raw', defaultNameOrPath],
|
||||||
@@ -1148,6 +1157,7 @@ export const modelArchs: ModelArch[] = [
|
|||||||
{
|
{
|
||||||
name: 'krea2:o_edit_turbo',
|
name: 'krea2:o_edit_turbo',
|
||||||
label: 'Krea 2 Turbo (w/ Training Adapter) [Edit Training]',
|
label: 'Krea 2 Turbo (w/ Training Adapter) [Edit Training]',
|
||||||
|
gateUrl: 'https://huggingface.co/krea/Krea-2-Turbo',
|
||||||
group: 'experimental',
|
group: 'experimental',
|
||||||
defaults: {
|
defaults: {
|
||||||
'config.process[0].model.name_or_path': ['krea/Krea-2-Turbo', defaultNameOrPath],
|
'config.process[0].model.name_or_path': ['krea/Krea-2-Turbo', defaultNameOrPath],
|
||||||
|
|||||||
Reference in new issue
Block a user