mstar.model.waypoint.checkpoint#
Resolve and validate the two checkpoints used by Waypoint.
Resolution happens before model construction so a bad repository, partial local
download, or incompatible config.yaml cannot allocate several GiB of GPU
storage before failing. Local paths always win and never touch Hugging Face.
Functions
Fail before checkpoint download or module allocation if TAEHV is absent. |
|
|
Resolve only |
|
Resolve a local directory or HF repo ID and validate it before allocation. |
|
Validate files and checkpoint facts, returning an absolute directory. |
- mstar.model.waypoint.checkpoint.require_taehv_runtime()[source]#
Fail before checkpoint download or module allocation if TAEHV is absent.
- Return type:
None
- mstar.model.waypoint.checkpoint.resolve_taehv_checkpoint(source, *, cache_dir=None, revision=None)[source]#
Resolve only
taehv1_5.pthfrom a local path or HF repository.