Skip to content

Conversation

@benvanwerkhoven
Copy link
Collaborator

The notebooks for the tutorial (also linked from the Kernel Tuner readme) are broken on Google Colab now because Google Colab automatically imports a Numpy > 2.0. There is no easy workaround unfortunately.

The best solution is to support Numpy >2.0 from Kernel Tuner. Earlier, it was believed the Numpy version was held back by PyCUDA, but I've just tested with Numpy 2.2.4 and PyCUDA 2024.1 and there seems to be no issue.

As such, I've made a minimal number of changes and we're good to go on supporting Numpy >2.0.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 8, 2025

@benvanwerkhoven
Copy link
Collaborator Author

Tested this on Google Colab, it now works!

@benvanwerkhoven benvanwerkhoven merged commit ece0719 into master Apr 8, 2025
4 checks passed
@benvanwerkhoven benvanwerkhoven deleted the numpy2-support branch April 16, 2025 13:43
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