Enable passing mode
and other kwargs to torch.compile
in BaseHandler
#2783
Labels
enhancement
New feature or request
perf
Performance issue
triaged
Issue has been reviewed and triaged
🚀 The feature
Enable passing
mode
and other kwargs totorch.compile
inBaseHandler
At the moment only
backend
is configurable.Motivation, pitch
I'm working on a custom handler that re-uses
initialize
from BaseHandler. It would be great to have more control overtorch.compile
options.Alternatives
I've considered re-implementing
initialize
in my custom handler, but it seems a bit wasteful just for this.Additional context
Happy to take a stab at it myself
The text was updated successfully, but these errors were encountered: