-
Notifications
You must be signed in to change notification settings - Fork 76
[ENH] Improve packaging of benchmarks #2572
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
[ENH] Improve packaging of benchmarks #2572
Conversation
Add proper versioning and install requirements.
pbchekin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a couple of nits.
|
|
||
| setup( | ||
| name="triton-kernels-benchmark", | ||
| version="3.1.0" + get_git_commit_hash(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 3.1.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To indicate matching triton version.
|
|
| }, | ||
| ext_modules=[CMakeExtension("triton_kernels_benchmark")], | ||
| extra_require={ | ||
| "ipex": ["numpy<=2.0", "intel-extension-for-pytorch=2.1.10"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we have to use the version defined by the pin here: https://github.com/intel/intel-xpu-backend-for-triton/blob/main/.github/pins/ipex.txt?
Add proper versioning and install requirements.