3 ms·
Kompute author here - thank you very much for sharing our work! If you are interested to learn more, do join the community through our discord here: https://di
by axsaucedo 2y ago
Kompute author here - thank you very much for sharing our work!
If you are interested to learn more, do join the community through our discord here: https://discord.gg/MaH5Jv5zwv https://discord.gg/MaH5Jv5zwv
For some background, this project started after seeing various renowned machine learning frameworks like Pytorch and Tensorflow integrating Vulkan as a backend. The Vulkan SDK offers a great low level interface that enables for highly specialized optimizations - however it comes at a cost of highly verbose code which requires 800-2000 lines of code to even begin writing application code. This has resulted in each of these projects having to implement the same baseline to abstract the non-compute related features of the Vulkan SDK.
This large amount of non-standardised boiler-plate can result in limited knowledge transfer, higher chance of unique framework implementation bugs being introduced, etc. We are aiming to address this with Kompute. As of today, we are now part of the Linux Foundation, and slowly contributing to the cross-vendor GPGPU revolution.
Some of the key features / highlights of Kompute:
* C++ SDK with Flexible Python Package
* BYOV: Bring-your-own-Vulkan design to play nice with existing Vulkan applications
* Asynchronous & parallel processing support through GPU family queues
* Explicit relationships for GPU and host memory ownership and memory management: https://kompute.cc/overview/memory-management.html https://kompute.cc/overview/memory-management.html
* Robust codebase with 90% unit test code coverage: https://kompute.cc/codecov/ https://kompute.cc/codecov/
* Mobile enabled via Android NDK across several architectures
Relevant blog posts:
Machine Learning: https://towardsdatascience.com/machine-learning-and-data-processing-in-the-gpu-with-vulkan-kompute-c9350e5e5d3a https://towardsdatascience.com/machine-learning-and-data-pro...
Mobile development: https://towardsdatascience.com/gpu-accelerated-machine-learning-in-your-mobile-applications-using-the-android-ndk-vulkan-kompute-1e9da37b7617 https://towardsdatascience.com/gpu-accelerated-machine-learn...
Game development (we need to update to Godot4): https://towardsdatascience.com/supercharging-game-development-with-gpu-accelerated-ml-using-vulkan-kompute-the-godot-game-engine-4e75a84ea9f0 https://towardsdatascience.com/supercharging-game-developmen...