THE OPEN NOTEBOOK · v1.7.3
A book for the curious.
112 chapters inside the Welvet AI engine, including NativeCPU, Qualcomm Hexagon HTP, Apple Metal, Apple MLX, NVIDIA CUDA, AMD ROCm, Vulkan, and Python C-ABI. Start with why it exists, then follow the ideas into layers, learning, and the systems that connect them.
welvet.qnn path — see the Android QNN lab PDF and /welvet. Code examples and reported results below are preserved from the source edition. Read the complete book on one page →4 entries · Clear filters
XVII · Python C-ABI (welvet on PyPI)
Python C-ABI: install and Dense forward
Use the same Welvet engine from Python via ctypes over a prebuilt C ABI: no Go toolchain required for day-to-day scripts.
Read moreXVII · Python C-ABI (welvet on PyPI)
Python C-ABI: list backends and pick one
Accelerators are opt-in at runtime. Scripts should probe what this host can run instead of hard-coding CUDA or Metal.
Read moreXVII · Python C-ABI (welvet on PyPI)
Python C-ABI: train SGD and .entity round-trip
Training and checkpoints should match the Go ENTITY path so Python scripts can hand off to Go apps (and back).
Read moreXVII · Python C-ABI (welvet on PyPI)
Python C-ABI: MHA place and prepare_grid
Not every layer is Dense. Python place takes the same kind strings as Go; some accelerators need an explicit prepare/Sync before forward.
Read more