gtc2017-numba
wgpu-py
gtc2017-numba | wgpu-py | |
---|---|---|
1 | 5 | |
495 | 376 | |
1.0% | 4.0% | |
0.0 | 8.6 | |
10 months ago | 6 days ago | |
Jupyter Notebook | Python | |
- | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gtc2017-numba
-
Unifying the CUDA Python Ecosystem
here is writing a similar kernel in python with numba: https://github.com/ContinuumIO/gtc2017-numba/blob/master/4%2...
I think the contrast is less about the language, and more about the scope and objective of the project. the blog is describing low-level interfaces in python - probably more comparable is the old CUDAdrv.jl package (now merged into CUDA.jl): https://github.com/JuliaGPU/CUDAdrv.jl/blob/master/examples/...
wgpu-py
- Pygfx/wgpu-py: Next generation GPU API for Python
-
I'm working on techno audio-visuals using Ableton & Javascript
If you've a Python background, I might suggest checking out something like https://github.com/pygfx/wgpu-py
-
Chrome Ships WebGPU
FYI you can already use webgpu directly in python, see https://github.com/pygfx/wgpu-py for webgpu wrappers and https://github.com/pygfx/pygfx for a more high level graphics library
-
I've just started mixing shaders with Pygame and got some great results
This reminds me of another Python GPU project, bringing in WebGPU shaders.
https://github.com/pygfx/wgpu-py
-
Unifying the CUDA Python Ecosystem
Somewhat related, I’ve built compute shaders using wgpu-py:
https://github.com/pygfx/wgpu-py
You can define any compute shader you like in Python, with the data types, and it compiles it to SPIRV and runs it.
What are some alternatives?
amaranth - A modern hardware definition language and toolchain based on Python
CudaPy - CudaPy is a runtime library that lets Python programmers access NVIDIA's CUDA parallel computation API.
cudf - cuDF - GPU DataFrame Library
grcuda - Polyglot CUDA integration for the GraalVM
SHA256-WebGPU - Implementation of sha256 in WGSL
copperhead - Data Parallel Python
web-stable-diffusion - Bringing stable diffusion models to web browsers. Everything runs inside the browser with no server support.
CUDAdrv.jl - A Julia wrapper for the CUDA driver API.