发布

  • create: Clean up experimental paths, fix create from existing safetensor model (#14679)

    frostbyte_neo 发布于 2026-04-07 15:12:57 +00:00

    • create: Clean up experimental paths

    This cleans up the experimental features, and adds both unit and integration test coverage to verify no regressions.

    • create: preserve config and layer names when creating from safetensors models

    When creating a model FROM an existing safetensors model, ModelFormat,
    Capabilities, and layer Name fields were lost. ModelFormat stayed empty
    because it's only set from GGML layers (which safetensors models lack),
    and layer names weren't copied in parseFromModel. This caused derived
    models to fail loading ("config.json not found in manifest").

    • review comments
    下载附件