gfx1151: the exact (bitwise) Aurora switches are on by default on gfx1151 only (arch_defaults), the rounding-level ones stay opt-in
16 switches whose output was byte-identical to the switch off on Aurora (GDN head / PP / CONVL2 / NOY / SPLIT, QFUSE, CVEC_FUSE, HCD_EXACT, PF_PAD, Q8 / Q6 packed, MMVF_ROWS, ATTN_LANECELL, EXPERT_V2, TSUM, LFUSE, PLE_BATCH) are set at start-up when device 0 is gfx1151 and the user has not set them; STRATA_GFX1151_DEFAULTS=0 turns the table off. The GDN head kernels are AMD-only now (HIP builds; CUDA keeps its key-head kernel), and verify.cpp's namespace-scope env reads became lazy so the table reaches them.
This commit is contained in:
1 parent
8a0755a1da
commit
9708b549a4
6 files changed
+179
-15
No files matched your search
@@ -14,6 +14,7 @@
|
||||
// AND IT IS PHASE 2, so hit rate is `h = 0` and the number it prints is slow on purpose
|
||||
// (`phase-2-correct-engine.md:5-9`). What it is FOR is the honest tok/s figure and the logit dump.
|
||||
|
||||
#include "strata/core/arch_defaults.hpp"
|
||||
#include "strata/core/device.hpp"
|
||||
#include "strata/core/remote_expert_opt.hpp"
|
||||
#include "strata/core/expert_cache.hpp"
|
||||
@@ -1617,6 +1618,14 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
}
|
||||
}
|
||||
#if defined(STRATA_USE_HIP)
|
||||
{ // gfx1151 (Strix Halo): the switches that are exact there are on by default (strata/core/arch_defaults.hpp); before
|
||||
// any engine code reads its switches (they are read at first use), and the user's own settings are kept
|
||||
cudaDeviceProp ad{};
|
||||
if (cudaGetDeviceProperties(&ad, 0) == cudaSuccess) strata::core::apply_arch_defaults(ad.gcnArchName);
|
||||
else (void) cudaGetLastError();
|
||||
}
|
||||
#endif
|
||||
strata::core::set_coupled_draft(o.coupled_draft);
|
||||
strata::core::set_peer_portable(o.peer_device >= 1); // multi-GPU: the Portable flag on mapped host buffers only with a peer device (before any allocation)
|
||||
if (o.serve && o.conversation_cache_mib > 0 && (o.prompt_cache == 0 || o.conversation_cache_slots == 0))
|
||||
|
||||
Reference in new issue
Block a user