kohya-ss / kohya-ss/sd-scripts
FLUX.1 fine-tuning, dataset_1024_bs1.toml not found
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
FLUX.1 fine-tuning
```bash
accelerate launch --mixed_precision bf16 --num_cpu_threads_per_process 1 flux_train.py
--pretrained_model_name_or_path flux1-dev.safetensors --clip_l clip_l.safetensors --t5xxl t5xxl_fp16.safetensors --ae ae_dev.safetensors
--save_model_as safetensors --sdpa --persistent_data_loader_workers --max_data_loader_n_workers 2
--seed 42 --gradient_checkpointing --mixed_precision bf16 --save_precision bf16
--dataset_config dataset_1024_bs1.toml --output_dir path/to/output/dir --output_name output-name
--learning_rate 5e-5 --max_train_epochs 4 --sdpa --highvram --cache_text_encoder_outputs_to_disk --cache_latents_to_disk --save_every_n_epochs 1
--optimizer_type adafactor --optimizer_args "relative_step=False" "scale_parameter=False" "warmup_init=False"
--lr_scheduler constant_with_warmup --max_grad_norm 0.0
--timestep_sampling shift --discrete_flow_shift 3.1582 --model_prediction_type raw --guidance_scale 1.0
--fused_backward_pass --blocks_to_swap 8 --full_bf16
```
error log
```
File "/picassox/ma-sfs-bj-training/hj-data/Debug-Train/sd-scripts/sd-scripts/library/config_util.py", line 651, in load_user_config
raise ValueError(f"file not found / ファイルが見つかりません: {file}")
ValueError: file not found / ファイルが見つかりません: dataset_1024_bs1.toml
```
Is there any example of `dataset_1024_bs1.toml`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the command in the issue and library/config_util.py at line 651 to understand how --dataset_config resolves filenames. Check the repository’s examples and documentation for dataset_1024_bs1.toml; done means documenting or supplying the referenced configuration so the shown command no longer points to a missing file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100