Add native Windows builds, WGL rendering, and ABI-checked Python bindings - #17
Open
reymondmeking-dot wants to merge 2 commits into
Open
Add native Windows builds, WGL rendering, and ABI-checked Python bindings#17reymondmeking-dot wants to merge 2 commits into
reymondmeking-dot wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The native Windows build currently stops at POSIX threading, GLX, MSVC C compatibility, ONNX Runtime path types and DLL loading. This adds an MSVC x64 build for the inference CLI, C/Python DLL, offline BVH extractor and Win32/WGL viewer, with a PowerShell build/model-download path and Windows CI.
The WGL backend is adapted from beemsoft's work in #13, with attribution retained in the source and Windows guide. This contribution applies that approach to the current pipeline and covers the current CLI, threading, ABI and runtime dependency requirements.
Changes
--decodermodel selection alongside--backbone, including the smaller FP16 graphs on the CUDA execution provider.SAM3D_AUTO_FETCH.Validation
Local Windows 11 x64, VS 2022/MSVC 14.44, OpenCV 4.10, GLEW 2.2, ORT 1.20.1 GPU, RTX 4060 Laptop 8 GB:
ab376f5: Windows native build. A cleanwindows-2022runner downloaded CPU ORT 1.20.1, built all native targets including the viewer, passed 11/11 CTest checks, and passed the 17 PowerShell downloader checks. Hardware WGL execution is tested locally, not on the hosted runner.See
knowledge/WINDOWS_VALIDATION.mdfor the exact environment, commands, public input sources and limits. No model weights, dependency binaries or test media are included.Scope
Camera backends, native nvcc compilation, TensorRT, refined models, Blender import, exhaustive non-ASCII paths and Linux runtime regression remain unverified. The repository assets are still required at runtime; this is not a standalone Windows installer. POSIX server/shared-memory/V4L2 and X11-only tools remain outside native Windows support. The new ABI guard requires rebuilding the DLL alongside the updated Python files.