Model versions
Get a model version's configuration
Gets the configuration for a model version. This configuration is applied when the version runs.
AuthorizationBearer <token>
In: header
Path Parameters
model_ownerModel Owner
The name of the model's owner.
model_nameModel Name
The name of the model.
version_numberVersion Number
The number of the model version.
Response Body
from wriftai import Clientwriftai = Client()configuration = wriftai.model_versions.get_configuration( "jane-doe/kokoro-82m:1")print(configuration.hardware_identifier){
"hardware_identifier": "l40s",
"variable_names": [
"my-hf-token"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}