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

Improve logic for MTSplit #66

Merged
merged 16 commits into from
Oct 15, 2024
Merged

Conversation

mariodruiz
Copy link
Collaborator

Describe the problem solved by the commit

Double tracing the app leads to error as discussed in #63 for non anonymous kernels.

How is the problem solved?

  • Caching the original tracing of the application.
  • Added extensive testing with multiple MTSplit scenarios, different datatypes and sizes.
  • Raise an error when the split type is not supported to avoid cryptic message such as '<' not supported between instances of 'NoneType' and 'NoneType'

Are there any risks associated to the change?

No

Is there a documentation impact?

No

Checklist

  • I added a test to cover my changes
  • Existing and new test pass
  • I read and I accept the CONTRIBUTING.md guidelines

Please provide screenshots (if applicable)

Related issues

#63

@mariodruiz mariodruiz requested a review from STFleming October 4, 2024 15:03
@mariodruiz mariodruiz merged commit 6338ba4 into AMDResearch:main Oct 15, 2024
0 of 2 checks passed
@mariodruiz mariodruiz deleted the mtsplit-nonanonym branch October 15, 2024 16:15
mariodruiz added a commit to mariodruiz/Riallto that referenced this pull request Oct 15, 2024
* Add test to check for non anonymous kernels and MTSplit and MTConcat

* Do not trace application again if args are the same

* Fix call

* Remove unused test

* Add testcases with float numbers

* Add memtile reduce test

* Flake8

* Fix source name

* Fix name

* Fix behavior

* Add more comprehensive tests

* Flake8

* Increase tolerance

* Set random seed

* Raise error if datatype not supported for mt links

* Remove trailing whitespace and some flake8
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.

1 participant