Archived
Ref2VA ref-image conditioning verified on-device: ref step runs all steps no fault; output differs ref-present vs ref-absent (by log). 6-9 images rejected cleanly at submit (no engine crash). Merged-cell modulation (<=9) tracked next. NOTE: placeholder author -- re-author before any push. Do NOT push this branch. Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
931 B
CMake
17 lines
931 B
CMake
# Built in radiance's tree, or standalone against an installed radiance
|
|
# (`cmake -S arch/minimaxh3 -B build -DCMAKE_PREFIX_PATH=<radiance prefix>`); see cmake/RadAddPlugin.cmake.
|
|
if(NOT COMMAND rad_add_plugin)
|
|
cmake_minimum_required(VERSION 3.21)
|
|
project(minimaxh3 LANGUAGES CXX)
|
|
find_package(radiance REQUIRED)
|
|
rad_plugin_defaults()
|
|
endif()
|
|
|
|
# rad_ref2va_pack.cpp holds the Ref2VA sequence packing and rad_vae_geom.cpp the encode geometry
|
|
# (latent counts, tile plans, normalization tables) -- both pure host arithmetic, device-free, and
|
|
# unit-tested on their own (tests/ref2va_pack_test.cpp, tests/vae_geom_test.cpp compile them
|
|
# directly). The video pass consumes them as the reference-media path lands.
|
|
rad_add_plugin(minimaxh3 architectures SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/minimaxh3.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/rad_ref2va_pack.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/rad_vae_geom.cpp)
|