mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-05-01 03:31:35 +00:00
Add FLUX.2 official weights
This commit is contained in:
@@ -47,8 +47,8 @@ scheduler_config = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
MISTRAL_PATH = "mistralai/Mistral-Small-3.1-24B-Instruct-2503"
|
MISTRAL_PATH = "mistralai/Mistral-Small-3.1-24B-Instruct-2503"
|
||||||
FLUX2_VAE_FILENAME = "flux2-vae.sft"
|
FLUX2_VAE_FILENAME = "ae.safetensors"
|
||||||
FLUX2_TRANSFORMER_FILENAME = "flux2-final-dev.sft"
|
FLUX2_TRANSFORMER_FILENAME = "flux2-dev.safetensors"
|
||||||
|
|
||||||
HF_TOKEN = os.getenv("HF_TOKEN", None)
|
HF_TOKEN = os.getenv("HF_TOKEN", None)
|
||||||
|
|
||||||
|
|||||||
@@ -467,11 +467,11 @@ export const modelArchs: ModelArch[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'flux2',
|
name: 'flux2',
|
||||||
label: 'FLUX.2(DUMMY)',
|
label: 'FLUX.2',
|
||||||
group: 'image',
|
group: 'image',
|
||||||
defaults: {
|
defaults: {
|
||||||
// default updates when [selected, unselected] in the UI
|
// default updates when [selected, unselected] in the UI
|
||||||
'config.process[0].model.name_or_path': ['ostris/f2', defaultNameOrPath],
|
'config.process[0].model.name_or_path': ['black-forest-labs/FLUX.2-dev', defaultNameOrPath],
|
||||||
'config.process[0].model.quantize': [true, false],
|
'config.process[0].model.quantize': [true, false],
|
||||||
'config.process[0].model.quantize_te': [true, false],
|
'config.process[0].model.quantize_te': [true, false],
|
||||||
'config.process[0].model.low_vram': [true, false],
|
'config.process[0].model.low_vram': [true, false],
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
VERSION = "0.7.4"
|
VERSION = "0.7.5"
|
||||||
Reference in New Issue
Block a user