• Stefy Lanza (nextime / spora )'s avatar
    longcat: hand SimpleTuner its config the way it actually reads one (v0.2.58) · 7f54eb80
    Stefy Lanza (nextime / spora ) authored
    The venv built, SimpleTuner 4.9.3 installed, and the trainer RAN — the first time
    anything past the setup has executed. It then failed on how it was invoked:
    
      ValueError: JSON configuration file not found. Paths tried: config/config.json
    
    SimpleTuner takes no --config. Its loader picks a configuration BACKEND and asks
    that backend where to look; the JSON one reads CONFIG_PATH (a file, or a directory
    holding config.json) and otherwise defaults to ./config/config.json relative to
    the working directory. The --config we passed was simply ignored, so it fell
    through to the default and found nothing.
    
    Now the backend is named (SIMPLETUNER_CONFIG_BACKEND=json) and the path handed
    over in CONFIG_PATH, read from the installed package's own json_file.py rather
    than guessed. The same config is also written to <workdir>/config/config.json, so
    a loader change that ignored CONFIG_PATH would still find it.
    
    Worth recording what this run proved, since all of it was unexercised an hour ago:
    the vendored source resolves, the training venv rebuilds itself with a 3.12+
    interpreter, SimpleTuner installs from PyPI into it, and the job reaches
    SimpleTuner's own argument parsing. The dataset built from the township clips has
    not been read yet — that is the next thing in the way.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_0182DhR1eFNPQyGmDrpHbedY
    7f54eb80
Name
Last commit
Last update
..
test_admin_auth.py Loading commit data...
test_admin_remote_ui.py Loading commit data...
test_audio_ml_backends.py Loading commit data...
test_audio_ml_endpoints.py Loading commit data...
test_broker_config.py Loading commit data...
test_broker_dispatch.py Loading commit data...
test_broker_protocol.py Loading commit data...
test_broker_streaming.py Loading commit data...
test_burst_placement.py Loading commit data...
test_character_studio_fetch.py Loading commit data...
test_compose.py Loading commit data...
test_front_ocr_swap_gate.py Loading commit data...
test_longcat_config_ui.py Loading commit data...
test_longcat_external_training.py Loading commit data...
test_longcat_lora.py Loading commit data...
test_longcat_orchestration.py Loading commit data...
test_longcat_packaging.py Loading commit data...
test_longcat_quantize.py Loading commit data...
test_longcat_scale.py Loading commit data...
test_longcat_tasks.py Loading commit data...
test_longcat_variants.py Loading commit data...
test_longcat_vendored_source.py Loading commit data...
test_longcat_venv_env.py Loading commit data...
test_longcat_worker.py Loading commit data...
test_manual_multimodal_test_client.py Loading commit data...
test_model_scan_cache.py Loading commit data...
test_ocr_olmocr.py Loading commit data...
test_ocr_vram_share_and_fallback.py Loading commit data...
test_remote_execution.py Loading commit data...
test_runpod_ocr_remotization.py Loading commit data...
test_studio_composed_surfaces.py Loading commit data...
test_township_api_key.py Loading commit data...
test_township_longcat.py Loading commit data...
test_township_page_js.py Loading commit data...
test_township_templates.py Loading commit data...
test_township_video_dataset.py Loading commit data...
test_upgrade_launcher.py Loading commit data...
test_vllm_share_self_tuning.py Loading commit data...
test_vram_releasers.py Loading commit data...
test_weight_stores.py Loading commit data...
test_whisper_server_local_models.py Loading commit data...