You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I want to be able to test a model on different hardware while minimizing changes to the code. One component that needs to be changed when switching hardware is the RunConfig. Having a GeneralRunConfig class that can return an instance of the appropriate config as determined by a supplied hardware parameter.
Conditions of satisfaction
Users can select GeneralRunConfig class that takes a hardware parameter
GeneralRunConfig also accepts all parameters of the normal run configs
Based on the hardware parameter, GeneralRunConfig selects the appropriate config and creates an instance of the config with the relevant parameters.
Acceptance tests
Test that instances created have the correct return type. (GeneralRunConfig(hardware=CPU) -> Loihi2SimCfg, etc.)
Parameters are correctly filtered so that parameters not accepted by the resulting class are ignored.
User story
As a user, I want to be able to test a model on different hardware while minimizing changes to the code. One component that needs to be changed when switching hardware is the
RunConfig. Having aGeneralRunConfigclass that can return an instance of the appropriate config as determined by a suppliedhardwareparameter.Conditions of satisfaction
GeneralRunConfigclass that takes ahardwareparameterGeneralRunConfigalso accepts all parameters of the normal run configshardwareparameter,GeneralRunConfigselects the appropriate config and creates an instance of the config with the relevant parameters.Acceptance tests
GeneralRunConfig(hardware=CPU) -> Loihi2SimCfg, etc.)