Model Weight
Schemas describing immutable, checksum-verified model artifacts.
ModelWeight
Bases: BaseModel
Describe immutable model metadata accepted by the weight resolver.
validate_integrity_metadata()
Reject incomplete or unsafe artifact metadata.
Returns:
| Name | Type | Description |
|---|---|---|
ModelWeight |
'ModelWeight'
|
This validated immutable specification. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the filename, digest, URL, or size limit is invalid. |