Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeneralRunConfig Which Selects Appropriate Config Based on Hardware #900

Open
kds300 opened this issue Dec 6, 2024 · 0 comments
Open

GeneralRunConfig Which Selects Appropriate Config Based on Hardware #900

kds300 opened this issue Dec 6, 2024 · 0 comments
Labels
0-needs-review For all new issues 1-feature New feature request

Comments

@kds300
Copy link
Contributor

kds300 commented Dec 6, 2024

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 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.
@kds300 kds300 added the 1-feature New feature request label Dec 6, 2024
@github-actions github-actions bot added the 0-needs-review For all new issues label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-needs-review For all new issues 1-feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant