Model commands
The akka models commands deploy models in Akka’s inference regions and serve them through the gateway. The akka optimize models commands record which models an organization sanctions. See Serving models for the tasks these commands support, and Model descriptor for the file they apply.
Every command supports --help. Most support -o json for output consumed by another program, and --region to act on a region other than the project’s primary region. The singular alias model is accepted.
Accelerator pools
Every inference-capable region declares pools of accelerator devices. A pool name is a regional identifier only: two regions can name the same hardware differently. Compare the PRODUCT and MIG PROFILE columns, not the name, across regions. The alias pool is accepted.
| Command | Description |
|---|---|
|
List the accelerator pools available to the organization. |
|
List the pools of one region. Repeat |
The listing is discovery only. The region decides how many devices a project can draw when it admits an allocation.
Accelerator allocations
An accelerator allocation claims devices from a region’s pools for the project. Models place onto an allocation’s entries by name. The alias allocation is accepted.
| Command | Description |
|---|---|
|
List the project’s accelerator allocations in the region. |
|
Describe one accelerator allocation, entry by entry. |
DEVICES is what the entries ask for. BOUND is how many devices the region has bound to claims. An allocation is usable when Ready is True and the two values agree.
Models
A model is one checkpoint served by an engine on an allocation entry.
| Command | Description |
|---|---|
|
List the project’s models in the region. |
|
Describe one model. When the model is not ready, this prints the reason from its |
|
Wait until the model is ready. |
Applying and deleting descriptors
A model descriptor is multi-document YAML. Each document declares an AcceleratorAllocation, a Model, or a ModelEndpoint. When -f is omitted, both commands read the descriptor from standard input.
| Command | Description |
|---|---|
|
Create or update every resource the descriptor names, by name. |
|
Run the region’s full admission without persisting anything. |
|
Delete every resource the descriptor names. Endpoints are deleted first, then models, then allocations. A resource that is already absent is skipped, so the command is safe to repeat. |
|
Delete without asking for confirmation. |
The CLI checks the shape of the descriptor before it sends anything and reports every problem at once. Whether the devices fit the pool is decided by the region when it admits the change.
Service, Route, and Secret resources belong to the project descriptor. Apply them with akka projects apply.
Model endpoints
A model endpoint serves one or more models through the gateway. The alias endpoint is accepted.
| Command | Description |
|---|---|
|
List the project’s model endpoints in the region. |
|
Describe one model endpoint. When the endpoint is not ready, this prints the reason. |
API keys
An endpoint must name an apiKeySecret. Keys are stored as entries of that secret, one entry per client. The alias key is accepted.
| Command | Description |
|---|---|
|
Add an API key for one client. The key is printed once and cannot be read back. |
|
List the clients that hold a key. The key values are never printed. |
|
Remove one client’s key. The secret remains, so requests without a valid key are refused. |
To rotate a key, add a key under a new client name, move the client to it, and then remove the old key.
|
|
Model governance
akka optimize models is the organization’s model registry. It records which models are sanctioned and the conditions attached to them. The registry is an index, not a store: retiring an entry ends the sanction to use the model and does not delete the weights. The alias model is accepted.
| Command | Description |
|---|---|
|
List the models in the registry. |
|
Show one registry entry. |
|
Register a model or update its metadata. |
|
Promote a candidate to active. |
|
Discourage new use of a model. |
|
End the sanction to use a model. |
|
Resolve a decision on the model that owns it. |
|
Record human sign-off closing a risk condition. |
|
Record a time-bound waiver on an open condition. |
|
Turn off a condition that does not apply. |
|
Every condition on a model and its state. |
|
Every attestation recorded against a model. |
|
Record an externally run evaluation or report. |
|
What may be decided about this model, and how guarded each choice is. |
|
The features described in this section are an add-on to Akka Automated Operations. They are not included in the base product. |