Skip to content

Native 0.1.1

Choose a tag to compare

@pissang pissang released this 25 Oct 05:25

Native 0.1.1 adds CMake integration for the precompiled C packages. The C ABI and denoising kernels are unchanged from Native 0.1.0.

CMake integration

Set CMAKE_PREFIX_PATH to the extracted package root. With CMake 3.20 or newer:

find_package(oidn_webgpu CONFIG REQUIRED)
add_executable(my_app main.c)
target_link_libraries(my_app PRIVATE oidn_webgpu::oidn_webgpu)
  • oidn_webgpu::oidn_webgpu: shared C filter library and public headers.
  • oidn_webgpu::oidn_webgpu_core: static planner library, public headers and required system libraries.
  • The config and version files remain usable when the package is moved. Version checks use the native crate version.
  • examples/CMakeLists.txt builds and installs denoise, plan and the Windows validation application. Windows examples copy the DLL beside the executable; installed examples can be deployed as one directory.

Weights are separate from these packages. Choose the package for your target OS and CPU architecture.

Downloads

C packages now use stable, versioned names such as oidn-webgpu-native-0.1.1-aarch64-apple-darwin.tar.gz. The source commit remains in manifest.json.

Packages cover macOS ARM64, macOS x86_64, Windows x86_64 MSVC and Linux x86_64 GNU. The release also includes the four planner cores, their manifest, a Rust crate with bundled cores, license notices and SHA-256 checksums.

The Rust crate is available on crates.io:

[dependencies]
oidn-webgpu = { package = "oidn-webgpu-native", version = "0.1.1" }

Rust hosts must share the exact wgpu 30.0.1 crate and source. The browser npm package remains at 0.6.0.

Validation

Four-platform CI builds the C packages, checks the CMake targets, relocated packages and installed applications, then validates the assembled crate in isolation without Node/scriptc. Hosted CI does not run GPU inference.

Local validation on Apple M4 Max / Metal includes CMake-built applications after SDK relocation and a real 1024×1024 HDR image whose implicit-GEMM / FP16 output matches the browser byte-for-byte. JavaScript tests: 69 passed; native unit tests: 5 passed. Windows/Linux and Intel Mac GPU execution are not exercised by this release validation.

Native integration guide · Source 26a4eb1 · Release validation