Skip to main content

Module model_ref

Module model_ref 

Source
Expand description

Advanced model reference type for git-native model management

Structs§

ModelRef
Model reference with typed git references Examples: “llama3” -> model “llama3” with GitRef::DefaultBranch “llama3:main” -> model “llama3” with GitRef::Branch(“main”) “llama3:v2.0” -> model “llama3” with GitRef::Tag(“v2.0”) “llama3:abc123” -> model “llama3” with GitRef::Commit(oid) “llama3:HEAD~1” -> model “llama3” with GitRef::Revspec(“HEAD~1”)

Enums§

GitRef
Git reference types

Functions§

validate_model_name
Validate model name