# Conflicts: # cmake/ggml_tq_overlay_test.cmake # src/core/verify.cpp
This commit is contained in:
commit
ba8b2bcb9c
30 files changed
+1392
-92
No files matched your search
@@ -3908,6 +3908,7 @@ int main(int argc, char** argv) {
|
||||
// compiled `/arch:AVX512`, so on a CPU without those features it does not fail - it executes an illegal
|
||||
// instruction at some unpredictable token. Refusing at second zero is the whole point of P2.S3's check.
|
||||
strata::kernels::cpu::expert_set_oracle_q8_0(o.cpu_oracle_q8_0);
|
||||
#if defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86) || defined(STRATA_GPU_METAL)
|
||||
// ... and nothing runs on a CPU without AVX2: every CPU expert kernel is AVX2 at least (the AVX-512 ones are
|
||||
// chosen above it), and so is ggml-cpu in the release build, which the native pack's layout load initializes
|
||||
// next. Refused here, by name, rather than an illegal instruction in the first expert.
|
||||
@@ -3945,6 +3946,14 @@ int main(int argc, char** argv) {
|
||||
"and the normal build is faster on it\n", isa_floor);
|
||||
}
|
||||
|
||||
#else
|
||||
if (o.cpu_oracle_q8_0) {
|
||||
std::fprintf(stderr, "strata generate: --cpu-oracle-q8-0 is the x86 Q8_0 activation contract; this CPU uses the "
|
||||
"scalar quantizer\n");
|
||||
return 2;
|
||||
}
|
||||
#endif
|
||||
|
||||
std::string err;
|
||||
if (!o.native_head_gguf.empty() && !o.stream_token) {
|
||||
std::fprintf(stderr, "--native-head-gguf requires --stream-token\n");
|
||||
|
||||
Reference in new issue
Block a user