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

New User Interface #50

Merged
merged 22 commits into from
May 15, 2024
Merged

New User Interface #50

merged 22 commits into from
May 15, 2024

Conversation

RobinGeens
Copy link
Contributor

@RobinGeens RobinGeens commented May 8, 2024

Mappings, workloads and accelerators are now defined as yaml files. The files are validated in corresponding the Validator, and converted into the internal representation in Factory.

Notes:

  • IMC architectures are not yet supported, and will need to be added later on.
  • Layer Operands can only be called I or W (and not X or Y or ...). This just makes it easier for the validator. Do we need the freedom to rename Layer Operands or are there no use cases for this?
  • I could use some feedback on the new user format in particular. Can it be simplified further in any way?

Dependency: Pull request #49 (Reworked internals)

@RobinGeens RobinGeens self-assigned this May 8, 2024
@RobinGeens RobinGeens requested a review from asyms May 8, 2024 13:18
@jorendumoulin jorendumoulin changed the base branch from master to robin-dev May 8, 2024 13:20
Copy link
Contributor

@asyms asyms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMC part to be done in separate PR.

@asyms asyms merged commit df598d3 into robin-dev May 15, 2024
2 of 4 checks passed
asyms added a commit that referenced this pull request May 15, 2024
asyms added a commit that referenced this pull request May 15, 2024
* Create AcceleratorValidator and Factory

* Create WorkloadValidator and Factory

* test works for tpu_like

* tests work with new hardware definitions

* Minor cleanup: examle file, nice print

* restore get_total_inst_bandwidth function (used in stream)

* Refactor AcceleratorFactory into CoreFactory, re-introduce  in Core

* make memory area a float

* Multiplier area can be float

* Extract LayetAttributes class from LayerNode for Stream compatibility

* Make core allocation a list

* Create ABC for LayerNode and DummyNode

* Fix very nasty bug in LayerEquation

* minor bug in spatial mapping generator

* fix ruff error in AimcArray so CI/CD can run tetst

* add cerberus library to requirements.txt

* Fix bug in workload validator when using padding

* fix minor bug in parsing

* Fix __eq__ for LayerAttributes

* Fix test energy/latency values after fixing bug in commit c408a13

* edit .pylintrc indentation from 2 to 4

Co-authored-by: RobinGeens <[email protected]>
@asyms asyms deleted the new-ui branch May 15, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants