-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Update to latest wgpu-native #359
Comments
Hey! I'm interested in having wgpu-py working with the latest version of wgpu-native. I tried running the update script(s), Ran into another issue that needed fixing. Also its worth noting somewhere that the WGSL language has changed since the release |
Yeah, the update process typically comes with added complexities :) - We have the update planned after the current work on mesh morphing. |
I would be interesting in helping out to some extent. I've managed to compile https://github.com/conda-forge/wgpu-native-feedstock/ I'm happy to compile a few intermediate versions as well if that helps. Second, there would be the challenge of updating your CIs for PyPI. I know that isn't always trivial. |
Thanks. Well one thing that would be great, since the wgpu-native binaries are now on conda, is to enable wgpu-py to use these. I.e. check whether the binary is bundled or detectable on conda, and select one.
Sorry, what do you mean? We already publish binary wheels to pypi. Not sure if its related to your comment, but the wgpu-native repo has CD setup to produce binaries (using manylinux). |
wgpu-py, as installed from conda-forge will use these today. it will pin to the specific version you use since there were some breaks when i tried to use version 0.17
I mean that there work going from version 0.14 to 0.17 and sometimes compilation fails. Not sure if it really is as easy as updating a single line in a configuration file. |
You appear to misunderstand the setup here. Let me try to clarify:
So updating wgpu-py to a newer version of wgpu-native is a three step process:
|
Hihi, I was it was 😄 But the "Determining what portion of the wrappers need to be updated" step that Korijn mentions above is a pretty big step that will cost me multiple days, especially now that we're behind wgpu-native by quite a bit. |
Thanks for the explanation. In your experience, would it make sense to update from
or to just try to do the leap from
Is there a blocker, perhaps meshmorphing, that you still want to accomplish before this work is undertaken (potentially by others) |
It depends on the situation, i.e. what changes are made in each release. But it might indeed be easier to do it in 2 steps (or more).
Yeah, I'm still wrapping up the meshmorphing now. |
Just letting all the subscribers here know @almarklein is working on this now, see #370 If you're curious to see what the work entails, this is your moment to observe |
Also see the top post in this issue, that I use for planning the update. |
For context, the last update was #289 and finished January 2023.
Preparations:
Updating:
More improvements after-care:
wgpu-native versions
The text was updated successfully, but these errors were encountered: