Multi-stage builds with GPU-enabled runnersMulti-stage builds with GPU-enabled runners let Ruby AI apps compile native gems, package PyTorch/TensorRT dependencies, and slim the final image while retaining CUDA/cuDNN layers only where needed. Use a builder stage to compile Ruby extensions and a runtime stage based on CUDA images; on CI, attach GPU-enabled runners to run GPU unit tests and inferen..