Archived
radiance 1.4.0
- Qwen3.8-Flash-Next on one card: the heat engine moves 64 experts a step (was 8), its copies and the prefill's expert staging run on the card's DMA engines instead of as copy kernels, and at decode the next layer's likeliest experts are copied onto the card ahead of its GEMMs. Against 1.3.0 at --tp 1: prefill +17-20% from 8K tokens up, throughput under load +16-20% - deploy/compose/flashnext-tp1.yaml: Qwen3.8-Flash-Next on one card and 64 GB of host RAM (4096-token prefill steps, 4 sequences, a 301K-token cache) - #61: --busy-prefill-chunk (default auto): a long prefill leaves the rest of the step to the requests decoding beside it and to new arrivals, instead of taking all of it (baKon) - LiquidAI's LFM2 and LFM2-VL, and d1's /v1/systemone (after zivius's PR #50) - a startup report: every option with its value and where it came from, the hardware, and what on it costs speed with the fix; /diagnostics serves it (behind the API key; without one, only to the same machine) - #69: a GPU memory fault names the buffer and kernel argument behind it and ends the server at once (exit status 70), instead of hanging or writing a core of tens of gigabytes - #64: a card without Resizable BAR is refused at startup, naming what to turn on, instead of crashing at the first launch - the image is built with ROCm 10.1 (the host's amdgpu driver must support it), with ROCm's libLLVM rebuilt so the same source compiles to the same kernels every time; a source build takes ROCm 10.1 or 7.2 - #71: the image ships curl, jq and a CA bundle, so --model <HF repo id> works in the container, and hfget.sh runs under its busybox (baKon) - --profile-ops shows how long each op's lane sat idle before it; cardclock.py skips an integrated GPU instead of stopping
This commit is contained in:
1 parent
d5b65cddc6
commit
dc339b4cd2
153 files changed
+12956
-1067
No files matched your search
+13
-5
@@ -55,6 +55,14 @@ set(RAD_TESTS_WITH_R4D_HOST relayout_parity_test)
|
||||
set(RAD_CHAT_FIXTURES ${CMAKE_CURRENT_SOURCE_DIR}/data/chat)
|
||||
set(RAD_MEDIA_FIXTURES ${CMAKE_CURRENT_SOURCE_DIR}/data/media)
|
||||
|
||||
# libstdc++ AHEAD OF rad_core ON EVERY TEST'S LINK LINE. lld extracts an archive member to resolve
|
||||
# any undefined symbol, a shared library's imports included: ROCm 10.1's libamdhip64 imports
|
||||
# std::string::reserve, g++-14 emits that template weak in rad_graph.cpp.o, and what that object
|
||||
# needs in turn reaches dispatch.cpp.o, whose strong device calls replace the weak fakes sched_test,
|
||||
# ref_test and runtime_test run on -- with no link error, only a test on the wrong backend. With
|
||||
# libstdc++ first, the import resolves to it and no member is extracted for it.
|
||||
set(RAD_TEST_CORE stdc++ rad_core)
|
||||
|
||||
file(GLOB RAD_TESTS CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/*_test.cpp)
|
||||
foreach(t ${RAD_TESTS})
|
||||
get_filename_component(n ${t} NAME_WE)
|
||||
@@ -62,28 +70,28 @@ foreach(t ${RAD_TESTS})
|
||||
add_executable(${n} ${t} ${CMAKE_SOURCE_DIR}/core/util/rad_util.cpp)
|
||||
elseif(n IN_LIST RAD_TESTS_WITH_TOKREF)
|
||||
add_executable(${n} ${t})
|
||||
target_link_libraries(${n} PRIVATE rad_tokref rad_core)
|
||||
target_link_libraries(${n} PRIVATE rad_tokref ${RAD_TEST_CORE})
|
||||
elseif(n IN_LIST RAD_TESTS_WITH_TOOLS)
|
||||
add_executable(${n} ${t} ${CMAKE_SOURCE_DIR}/tools/kfixture.cpp
|
||||
${CMAKE_SOURCE_DIR}/tools/opshapes.cpp)
|
||||
target_link_libraries(${n} PRIVATE rad_core)
|
||||
target_link_libraries(${n} PRIVATE ${RAD_TEST_CORE})
|
||||
target_include_directories(${n} PRIVATE ${CMAKE_SOURCE_DIR}/tools)
|
||||
elseif(n IN_LIST RAD_TESTS_WITH_R4D_HOST)
|
||||
add_executable(${n} ${t} ${CMAKE_SOURCE_DIR}/libr4d/r4d_layout.cpp
|
||||
${CMAKE_SOURCE_DIR}/libr4d/r4d_fp8_layout.cpp)
|
||||
target_link_libraries(${n} PRIVATE rad_core ${CMAKE_DL_LIBS})
|
||||
target_link_libraries(${n} PRIVATE ${RAD_TEST_CORE} ${CMAKE_DL_LIBS})
|
||||
target_include_directories(${n} PRIVATE ${CMAKE_SOURCE_DIR}/libr4d)
|
||||
target_compile_options(${n} PRIVATE -ffp-contract=off)
|
||||
elseif(n IN_LIST RAD_TESTS_WITH_GBNF_ORACLE)
|
||||
add_executable(${n} ${t} ${CMAKE_CURRENT_SOURCE_DIR}/gbnf_oracle.cpp)
|
||||
target_link_libraries(${n} PRIVATE rad_core)
|
||||
target_link_libraries(${n} PRIVATE ${RAD_TEST_CORE})
|
||||
# The chat templates whose tool-call grammars the engine is held to the oracle on. Checked
|
||||
# in, because a template is a few kilobytes and the tokenizer beside it is not.
|
||||
target_compile_definitions(${n} PRIVATE
|
||||
RAD_GBNF_TEST_DATA="${CMAKE_CURRENT_SOURCE_DIR}/data/gbnf")
|
||||
else()
|
||||
add_executable(${n} ${t})
|
||||
target_link_libraries(${n} PRIVATE rad_core)
|
||||
target_link_libraries(${n} PRIVATE ${RAD_TEST_CORE})
|
||||
endif()
|
||||
if(n IN_LIST RAD_TESTS_WITH_LEGACY)
|
||||
target_link_libraries(${n} PRIVATE rad_legacy_toolparse)
|
||||
|
||||
Reference in new issue
Block a user