Skip to content

u/Kromgar

In this archive from Jul 2012 to Feb 2026

58
posts
429
comments
29
media
24k
score

accelerate launch anima_train_network.py --pretrained_model_name_or_path="E:\sd-webui-forge-neo\models\Stable-diffusion\anima-preview.safetensors" --vae="E:\sd-webui-forge-neo\models\VAE\qwen_image_vae(anima).safetensors" --qwen3="E:\sd-webui-forge-neo\models\text_encoder\qwen_3_06b_base(anima).safetensors" --dataset_config= "E:\Training\sd-scripts\tomls\dataset.toml" --output_name "anima_lora" --network_module "networks.lora_anima" --network_dim=64 --network_alpha=32 --learning_rate=1e-4 --max_train_epochs=30 --mixed_precision="bf16" --full_bf16 --cache_latents --cache_latents_to_disk --discrete_flow_shift=3 --gradient_checkpointing --persistent_data_loader_workers --optimizer_type "AdamW" --lr_scheduler "cosine_with_restarts" --lr_warmup_steps 100 --lr_scheduler_num_cycles 3 --cache_text_encoder_outputs --vae_chunk_size=64 --vae_disable_cache

Can't seem to get it working at all.

Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in run_code File "E:\Training\sd-scripts\venv\Scripts\accelerate.exe_main.py", line 7, in <module> File "E:\Training\sd-scripts\venv\Lib\site-packages\accelerate\commands\accelerate_cli.py", line 50, in main args.func(args) File "E:\Training\sd-scripts\venv\Lib\site-packages\accelerate\commands\launch.py", line 1213, in launch_command simple_launcher(args) File "E:\Training\sd-scripts\venv\Lib\site-packages\accelerate\commands\launch.py", line 795, in simple_launcher raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd) subprocess.CalledProcessError: Command

returned non-zero exit status 2.

I should be running the command in the venv, right?

1 points

AI toolkit is such a giant piece of shit. How can you make a fucking program that if you try to stop training it just endlessly loops and its unfixed for months? Oh but you can manually edit it!

WELL FUCK WHAT A SOLUTION!

1 points

Depends on the lora. Generally the lora will have activation words listed if they use them or you can look at the training metadata to find the most common keywords.

Style loras for the most part don't have activation word but some do it depends on the training.

Its mostly just based on what the creator did you can absolutely do triggerless concepts too.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.