• Stefy Lanza (nextime / spora )'s avatar
    config(multi-config): fix GGUF dispatch + per-config-id measured persistence · f9f2a373
    Stefy Lanza (nextime / spora ) authored
    Follow-up to the same-path multi-config runtime fix. Two more path-keyed spots
    broke a same-file sibling addressed by its alias (e.g. lisa-32k):
    
    1) GGUF dispatch: _resolve_local_gguf matched entries by path/basename only, so
       a sibling addressed by alias wasn't recognized as GGUF and fell to the HF
       loader ("lisa-32k is not a valid model identifier"). Now also match the
       entry's alias.
    
    2) Measured footprint cross-contamination: persist_model_field matched entries
       by path, so one config's measured_vram_gb/n_gpu_layers overwrote the sibling's
       — the small-ctx variant inherited the large-ctx footprint (34 GB) and still
       offloaded to CPU. persist_model_field now targets by config_id when given;
       record_vram_delta passes cfg['config_id']; _model_cfg carries config_id/
       config_name so the config knows its own entry identity.
    
    Net: lisa (178K) and lisa-32k (32K) are now fully independent — distinct config,
    GGUF load from the shared file, and separate measured footprints.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01Mw2KQiswmD69T45fTfjKwW
    f9f2a373
Name
Last commit
Last update
..
admin Loading commit data...
api Loading commit data...
backends Loading commit data...
broker Loading commit data...
frontproxy Loading commit data...
models Loading commit data...
ocr Loading commit data...
openai Loading commit data...
pydantic Loading commit data...
queue Loading commit data...
tasks Loading commit data...
__init__.py Loading commit data...
cli.py Loading commit data...
config.py Loading commit data...
main.py Loading commit data...
platform_paths.py Loading commit data...
system_app.py Loading commit data...