[RFC] Support passing pluggable Accelerators to Trainer #10687
Labels
accelerator
discussion
In a discussion stage
feature
Is an improvement or enhancement
priority: 1
Medium priority task
Uh oh!
There was an error while loading. Please reload this page.
🚀 Feature
With the present Lightning accelerator design, new accelerators cannot be passed to Trainer unless they are part of the Lightning accelerators.
This is not possible.
There is a lot of innovation happening in the space of ML Accelerators, and the list will continue to grow. We should enable support for this functionality and make it easier for users to experiment with new accelerators using Lightning.
This proposal also aims at cleaning up and moving hardware specific logic from the accelerator connector to the accelerators.
For example, the
HPUAccelerator
PR, which is still in development, adds support for Habana's Gaudi Accelerator. Based on the above points, the Accelerator interface would look like this.After defining
HPUAccelerator
, the user could provide it to the Trainer without it being part of the Lightning accelerators.cc @Borda @tchaton @rohitgr7 @akihironitta
The text was updated successfully, but these errors were encountered: