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

started split layer #26

Merged
merged 12 commits into from
May 20, 2021
Merged

Conversation

biggsbenjamin
Copy link
Collaborator

No description provided.

Comment on lines 94 to 98
def rates_graph(self):
rates_graph = np.zeros( shape=(5,6) , dtype=float)
# fork
rates_graph[1,1] = self.modules['fork'].rate_in(0)
rates_graph[1,2] = self.modules['fork'].rate_out(0)
Copy link
Owner

Choose a reason for hiding this comment

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

the rate's graph should only have a shape of (1,2) as there is 1 module (per stream) and 2 edges (per stream)

@AlexMontgomerie
Copy link
Owner

Also, is there a functional model of the split layer? We will need this for the backend to verify the hardware functionality

@biggsbenjamin biggsbenjamin merged commit 9c525fe into dev-multi-exit May 20, 2021
@biggsbenjamin biggsbenjamin deleted the issue10_adding_splittinglayer branch May 20, 2021 11:33
biggsbenjamin added a commit that referenced this pull request Jul 6, 2021
* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>
biggsbenjamin added a commit that referenced this pull request Jul 6, 2021
* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>
biggsbenjamin added a commit that referenced this pull request Jul 6, 2021
* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>
biggsbenjamin added a commit that referenced this pull request Jul 6, 2021
* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>
biggsbenjamin added a commit that referenced this pull request Aug 26, 2021
* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>
biggsbenjamin added a commit that referenced this pull request Aug 26, 2021
* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>
biggsbenjamin added a commit that referenced this pull request Aug 26, 2021
* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>
biggsbenjamin added a commit that referenced this pull request Sep 10, 2021
* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>
biggsbenjamin pushed a commit that referenced this pull request Dec 9, 2021
…iser

started split layer (#26)

* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>

Issue47 parsing ee onnx graph (#50)

* ee parser work bringup

* started updating parser, temp save

* expanded subgraphs, updated explicit edges of subnodes

* added early exit dataflow edges to output of If operation/layer

* adding splitlayers to branching connections, removed extra nodes

* adding buffer layer, reworking ctrl edges

* updated parsering layers

* added Buffer and BufferLayer for hw optimiser

* ignoring egg dir, adding custom setup for recompilation ease

* updated Buffer layer/mod, added Exit layers, updated init

* updated add_hardware with new layers, linking control signals, fixing graph and ctrl edges

* updating add_dimensions function - savepoint

* fixing additional conflicts after rebase

* init hw for split layer, fixed comment typos

* working parser for branchnet onnx graph (somewhat verified)

added support for matmul op in parser (#64)

Co-authored-by: Ben Biggs <[email protected]>

fixed parsing of matmul layer, edited proto (#66)

Co-authored-by: Ben Biggs <[email protected]>

started split layer (#26)

* started split layer

* working with main branch now (for current tests)

* added test for optimiser

* working on improving resource modelling

* updated resource models

* changes to split layer

* fixed merge conflict

* updated visualiser and fn model for splitlayer

Co-authored-by: AlexMontgomerie <[email protected]>
Co-authored-by: AlexMontgomerie <[email protected]>
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