Closed esantorella closed 3 days ago
This pull request was exported from Phabricator. Differential Revision: D66102162
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.69%. Comparing base (
0cab5d2
) to head (90ecc89
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
This pull request has been merged in facebook/Ax@17bdef7f21c19bafdea6428e7d298aa686d5dcef.
Summary: Currently, a
BackendSimulator
is initialized by passingBackendSimulatorOptions
. All of the attributes of those options, such asmax_parallelism
, are then written toBackendSimulator
itself. This PR givesBackendSimulator
anoptions: BackendSimulatorOptions
attribute, and makes attributes ofoptions
into properties of the simulator. This will make serialization easier, by having the initialization arguments ofBackendSimulator
more similar to its attributes.Differential Revision: D66102162