• 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
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
REQUEST-geoclip-embeddings.md Loading commit data...
REQUEST-vpr-embeddings.md Loading commit data...
amdgpu-coredump-05000.bin Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-crisperwhisper.txt Loading commit data...
requirements-h3.txt Loading commit data...
requirements-longcat-train.txt Loading commit data...
requirements-longcat.txt Loading commit data...
requirements-melotts.txt Loading commit data...
requirements-nemo.txt Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-ocr-paddle.txt Loading commit data...
requirements-ocr.txt Loading commit data...
requirements-pyannote.txt Loading commit data...
requirements-surya.txt Loading commit data...
requirements-vllm.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...