Running with Adaptive Placement
Muna can adaptively search for the best hardware to run models, depending on your cost, latency, and throughput requirements. Use themuna.predictions.create method, and specify your constraints in natural language:
Specifying Placement Constraints
We strongly recommend anchoring your placement constraints around these three canonical intents:Running on Datacenter GPUs
Use themuna.predictions.create method, and specify a remote_* acceleration to run inference on a datacenter GPU:
Supported Datacenter GPUs
Below are the currently supported cloud GPUs:Running Locally
Use themuna.predictions.create method to run inference locally:
Supported Local Processors
Below are the currently supported local processors:Muna currently does not support multi-GPU local acceleration. This is planned for the future.
Specifying the Local GPU
Some Muna clients allow you to specify the acceleration device used to make predictions. Our clients expose this field as an untyped integer or pointer. The underlying type depends on the current operating system:The prediction
device is merely a hint. Setting a device does not guarantee that all
or any operation in the prediction function will actually use that acceleration device.You should absolutely (absolutely) never ever do this unless you know what the hell youβre doing.