Skip to main content
Domino supports the use of cost and energy-efficient AWS-designed silicon processors, AWS Trainum and Inferentia, to accelerate deep-learning model training and AI inference workloads. Use the AWS Neuron SDK to reuse existing code. Learn how to set up Trainium and Inferentia accelerators in your Domino. Set up involves the following:
  1. Node group creation: Create a new node group for Trainium and Inferentia instances.
  2. Device plugin configuration: Provide hardware-specific settings.
  3. Hardware tier setup: Enable Domino users to use Trainium and Inferentia instances for their workloads.
  4. Environment configuration: Set up the necessary development tools and software libraries.

Node group creation

To use AWS accelerators, create a new node group that: For the cluster-autoscaler to scale your Neuron-based node group successfully, you must tag those autoscaling groups with the Neuron device resource template, like the k8s.io/cluster-autoscaler/node-template/resources/aws.amazon.com/neuron tag in the table below:

Example eksctl node group config

Here’s an example eksctl node group config for Neuron-based node groups:

Device plugin deployment

Once your nodes have joined the cluster, deploy the Neuron device plugin DaemonSet using the following specification. You must use version 2.17.3.0 or greater for Domino workloads to be correctly processed by the device plugin. To deploy this DaemonSet:
  1. Save the following specification to a file (such as neuron-device-plugin-ds.yaml).
  2. Apply the specification with kubectl apply -f neuron-device-plugin-ds.yaml.
  3. Once the device plugin DaemonSet is deployed, run kubectl describe node to confirm that you see device plugin daemons running on your Neuron-based instances, and that they advertise aws.amazon.com/neuron resources to Kubernetes.
The following output is an example of a correctly configured Neuron-based node. Note the Neuron device plugin daemon present on the node, the advertised aws.amazon.com/neuron resource, and the Domino node pool label identifying the node as Trainium.

Hardware Tier setup

Next, you need to make the node group accessible to your users by creating a Domino hardware tier that does the following:
  • Targets the node pool label you’ve given to your Neuron-based nodes.
  • Requests a suitable amount of the node vCPU and memory, allowing for necessary overhead.
  • Requests a custom GPU resource with the name aws.amazon.com/neuron.
See the following example:

Environment setup

The AWS Neuron SDK is designed for use with fully integrated frameworks like PyTorch and TensorFlow. When setting up a Domino environment for a new version of Neuron or the integrated framework, you should read the documentation on: As an example, and to facilitate testing, here’s an environment definition for adding PyTorch Neuron to the Domino 5.7 Standard Environment (quay.io/domino/compute-environment-images:ubuntu20-py3.9-r4.3-domino5.7-standard):

Testing Neuron devices in Domino

To test your setup, start a Jupyter workspace using a Neuron-based hardware tier and Neuron-enabled Workspace Environment. Once your workspace has started, open a Python notebook and execute a cell with the command !/opt/aws/neuron/bin/neuron-ls to see mounted Neuron devices. You can now use the Neuron framework you’ve installed to invoke the mounted accelerator.

Next steps

Refer to the Getting Started with Neuron guide for your chosen framework to get started.
Last modified on July 15, 2026