Deep Learning Runtime
5 nodes
On this page 5
Describe Runtime
FunctionWhich libtorch this distribution carries and what it can see, in one line.
Signature
DescribeRuntime() -> Text
string DescribeRuntime()
Returns
| Description | Text |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Deep Learning Runtime
- Package
- Machine Learning
Is GPU Available
FunctionWhether models can run on an NVIDIA GPU here: the machine has one and a driver, and the distribution carries the CUDA build of libtorch.
Signature
IsGpuAvailable() -> Truth
bool IsGpuAvailable()
Returns
| Available | Truth |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Deep Learning Runtime
- Package
- Machine Learning
Loaded Models
FunctionThe models this program holds in memory now, one line each.
Signature
LoadedModels() -> Text Array
string[] LoadedModels()
Returns
| Models | Text Array |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Deep Learning Runtime
- Package
- Machine Learning
Unload All Models
FunctionFrees every model this program has loaded.
Signature
UnloadAllModels() -> Integer
int UnloadAllModels()
Returns
| Count | Integer |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Deep Learning Runtime
- Package
- Machine Learning
Unload Model
FunctionFrees the memory a model holds. The next Load of it reads it again; nodes still holding it refuse to use it.
Signature
UnloadModel(model: Loaded Model)
void UnloadModel(LoadedModel model)
Parameters
| name | type | default | description |
|---|---|---|---|
| model | Loaded Model | — | The model to unload. |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Deep Learning Runtime
- Package
- Machine Learning