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

Refactor, fix bw POW, fix get_index, deprecated flamegraph, move matmul #78

Merged
merged 7 commits into from
May 21, 2024

Conversation

Benny-Nottonson
Copy link
Contributor

@Benny-Nottonson Benny-Nottonson commented May 11, 2024

Changes to mostly the Graph API, some minor changes to tensorutils aswell. Nothing major but passing all tests and getting SLIGHT (5%) speedup on my machine. Could be placebo but its worth taking a look at, might have to do with list.reserve usage and avoiding append for single items.

This branch fixes #85, #88, and #105

Signed-off-by: benny-nottonson <bennynottonson@gmail.com>
Signed-off-by: benny-nottonson <bennynottonson@gmail.com>
@Benny-Nottonson Benny-Nottonson changed the title Refactor code for improved performance Refactor code and fix bw POW May 17, 2024
@Benny-Nottonson
Copy link
Contributor Author

The most recent commit also fixes #85 by using epsilon for values at 0 (Common in other ML libraries)

@Benny-Nottonson Benny-Nottonson linked an issue May 17, 2024 that may be closed by this pull request
Signed-off-by: benny-nottonson <bennynottonson@gmail.com>
Signed-off-by: benny-nottonson <bennynottonson@gmail.com>
@Benny-Nottonson Benny-Nottonson linked an issue May 17, 2024 that may be closed by this pull request
@Benny-Nottonson Benny-Nottonson changed the title Refactor code and fix bw POW Refactor, fix bw POW, fix get_index May 17, 2024
@Benny-Nottonson Benny-Nottonson changed the title Refactor, fix bw POW, fix get_index Refactor, fix bw POW, fix get_index, deprecated flamegraph May 17, 2024
@Benny-Nottonson
Copy link
Contributor Author

Fixed #88 with vectorization, ideally should be switched to a hashmap but I left as is for now. Also deprecated the flamegraph shell script since the builtin model profile is way more accuarate.

Signed-off-by: benny-nottonson <bennynottonson@gmail.com>
Signed-off-by: benny-nottonson <bennynottonson@gmail.com>
@Benny-Nottonson Benny-Nottonson linked an issue May 18, 2024 that may be closed by this pull request
@Benny-Nottonson Benny-Nottonson changed the title Refactor, fix bw POW, fix get_index, deprecated flamegraph Refactor, fix bw POW, fix get_index, deprecated flamegraph, move matmul May 18, 2024
@Benny-Nottonson
Copy link
Contributor Author

Also fixed #105 now

@StijnWoestenborghs
Copy link
Collaborator

I don't have any comments on this. This is all good for me

@StijnWoestenborghs StijnWoestenborghs merged commit c5d925c into main May 21, 2024
@StijnWoestenborghs StijnWoestenborghs deleted the spring_cleaning_two branch May 21, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants