) are possible languages that offer portability for accelerators. You may wish to check whether MLPack developers have interest in using one of these since it may be easier to add the acceleration directly in MLPack. Perhaps also obtain an estimate of how long it would take to integrate MLPack in Octave. If one can export models in ONNX (https://onnx.ai/) format as well, this would allow using other frameworks when needed.