unloadModel

suspend fun unloadModel(model: String)

Unloads model from memory, with POST /v1/models/{id}/unload.

Returns when the model is out of memory.

Throws

if model is blank, before any request.

on a non-2xx response. Unloading a model that is not loaded is a 400 invalid_request_error.