Archived
core: an architecture plugin can decline imported checkpoints
An imported quantisation names its tool, which no plugin claims, so the family's one quantised plugin serves it and two are refused. rad_arch_serves_imports(), optional and absent = yes, lets a second quantised plugin that reads only its own containers return 0: the import pick then leaves it out of the family, neither counted nor picked as the only plugin. Its own descriptor still selects it. Additive export; RAD_ABI_VERSION does not move. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f706caecec
commit
0b0403603b
10 files changed
+55
-5
No files matched your search
@@ -60,6 +60,11 @@ foreach(q plain fp8 w4)
|
||||
RADTEST_ARCHQ_NAME="radtest_archq_${q}"
|
||||
RADTEST_ARCHQ_QUANT="${_rad_q}")
|
||||
endforeach()
|
||||
# A fourth member, quantised but declining imported checkpoints (rad_arch_serves_imports).
|
||||
rad_add_plugin(radtest_archq_w8 testarchq SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/testplugin.cc)
|
||||
target_compile_definitions(radtest_archq_w8 PRIVATE RADTEST_ARCHQ=1
|
||||
RADTEST_ARCHQ_NAME="radtest_archq_w8" RADTEST_ARCHQ_QUANT="w8"
|
||||
RADTEST_ARCHQ_NO_IMPORTS=1)
|
||||
|
||||
# KV tier transfer test plugin. Unlike the others it computes (byte-row gather and scatter in the
|
||||
# device domain, on host backend memory), so only tests/mem_test.cpp loads it, by path. It calls
|
||||
|
||||
Reference in new issue
Block a user