Add a dynamo plugin parameter to Accelerator. init that accepts a TorchDynamoPlugin instance (or None ).
Add a dynamo plugin parameter to Accelerator. init that accepts a TorchDynamoPlugin instance (or None ).: a task in HF ML Tasksmith (Harbor dataset). Current behavior (before this change): Accelerator only accepts dynamo backend (a string or DynamoBackend enum). Internally it always constructs a…
The task
**Current behavior (before this change):** `Accelerator` only accepts `dynamo_backend` (a string or `DynamoBackend` enum). Internally it always constructs a `TorchDynamoPlugin` from that backend. There is no way to pass a fully configured `TorchDynamoPlugin` with extra settings such as `mode`, `fullgraph`, `dynamic`,…
Part of FineEnvs/HF_ML_Tasksmith.