Skip to content

Feat adding bias - #13

Merged
luigirinaldi merged 14 commits into
mainfrom
feat-adding-bias
Mar 17, 2025
Merged

luigirinaldi merged 14 commits into
mainfrom
feat-adding-bias

Conversation

@omaralkhatib03

Copy link
Copy Markdown
Collaborator

No description provided.

omaralkhatib03 and others added 14 commits March 15, 2025 17:38
)

* fix mxint cast mostly still bugs improve mxint linear

* add an off by one mode to the monitor

* Remove asserts from mxint_cast.sv

* Add off by one to test bench monitor

* Fix over flow problems
* better testing on linear layer

* format

* even better random and asserts

* organize random probabilities

* HACK to avoid mxint_cast issues

* update tb to match working configurations

---------

Co-authored-by: luigirinaldi <luigirinaldi@users.noreply.github.com>
* Use bias in mxint quantise to follow the spec more closely

* python black
* Added mxint relu

* fix test bench and reformat

---------

Co-authored-by: Omar Alkhatib <oa321@ic.ac.uk>
@luigirinaldi
luigirinaldi merged commit 22e24dc into main Mar 17, 2025

@splogdes splogdes left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Very good

@luigirinaldi

Copy link
Copy Markdown
Collaborator

Very good

a bit late to the party

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.

3 participants