In this article
A rendering variant determines object implementations; changing its name does not migrate an existing scene to another backend.
Treat the variant as an implementation choice
A worker can have a supported GPU yet construct a scene using the wrong renderer implementation. Mitsuba combines backend selection with choices about differentiation, color representation and precision. The variant guide describes these as separate parts of a variant name. Selecting a CUDA variant is therefore more specific than requesting that an otherwise unchanged CPU scene use a graphics card.
Select before constructing scene state
The quickstart requires choosing a variant before using its components. Scene objects, plugins and associated array types belong to the selected implementation. A scene created under a CPU variant cannot simply be passed to a GPU variant for rendering. If a service changes its execution mode, rebuild the scene and supporting objects under the new selection instead of assuming that changing a global setting converts existing state.
Inspect the variants actually installed
Use the installed package’s variant inventory when preparing a worker. Available combinations depend on the distribution or build configuration; the theoretical naming scheme does not imply that every combination is present. The compilation guide explains enabled variants and backend dependencies. Record the concrete renderer build with the worker configuration, especially when a custom package differs from the documentation’s example environment.
Make fallback observable
Current quickstart examples can pass several preferred variants and choose the first that loads. That is useful for a portable demonstration, but a production experiment should record which backend was selected. An unexpected CPU fallback changes the resource being measured. Choose whether fallback is permitted for the workload, and distinguish successful variant loading from successful scene construction and completion of a render. These are separate observations, with different possible failure causes.
Keep comparison inputs aligned
When comparing execution backends, preserve the scene description, integrator, sensor, sampling settings and output interpretation. Reconstruct variant-specific objects consistently for each run. The broader renderer compatibility guide addresses hardware support; autograd’s computation graph explains related derivative concepts. Neither replaces recording the selected Mitsuba implementation. A familiar scene filename and an available GPU are insufficient evidence that equivalent rendering work ran on the intended device.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.