Divooka Reference

Deep Learning Runtime

5 nodes

On this page 5

Describe Runtime

Function

Which libtorch this distribution carries and what it can see, in one line.

Signature
DescribeRuntime() -> Text
string DescribeRuntime()

Returns

DescriptionText
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Deep Learning Runtime
Package
Machine Learning

Is GPU Available

Function

Whether 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

AvailableTruth
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Deep Learning Runtime
Package
Machine Learning

Loaded Models

Function

The models this program holds in memory now, one line each.

Signature
LoadedModels() -> Text Array
string[] LoadedModels()

Returns

ModelsText Array
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Deep Learning Runtime
Package
Machine Learning

Unload All Models

Function

Frees every model this program has loaded.

Signature
UnloadAllModels() -> Integer
int UnloadAllModels()

Returns

CountInteger
Ships with
Divooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Deep Learning Runtime
Package
Machine Learning

Unload Model

Function

Frees 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

nametypedefaultdescription
modelLoaded Model—The model to unload.
Ships with
Divooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Deep Learning Runtime
Package
Machine Learning