Repository navigation
Releases
Releases · WeirdBrains/weirdnet-model
weirdnet-model 0.2.0
Added
examples/model.rs:fetch,chat(with timings) andcpucommands.cpumodule:cpu::check(),cpu::required()andcpu::missing()say whether this CPU can run
the compiled-in llama.cpp.build.rsworks out which x86 instructions the build contains.cpu-dispatchfeature: llama.cpp built for every CPU level (GGML_BACKEND_DLand
GGML_CPU_ALL_VARIANTSthrough llama-cpp-2'sdynamic-backends) and chosen at run time, with
llama::backends_dir()andllama::set_backends_dir(). Apps ship the llama.cpp shared libraries;
the README lists them.Error::UnsupportedCpuandError::NoCpuBackend. Adding variants toErroris a breaking
change.
Changed
LlamaEngine::loadchecks the CPU before any llama.cpp code runs. On a CPU without the
instructions the build uses (AVX, AVX2, BMI2, FMA and F16C by default, so most x86 CPUs from
before 2013) it returnsError::UnsupportedCpuinstead of crashing with an illegal instruction.
llama::describe()saysllama.cpp (unsupported CPU)there.
Fixed
- README named the cache override
WEIRDNET_MODEL_DIR; the variable isWEIRDNET_MODELS_DIR.
On crates.io: https://crates.io/crates/weirdnet-model/0.2.0
v0.1.0
Added
- Model catalog with Gemma 4 E2B and E4B GGUF defaults, a model store, and consent-gated Hugging Face downloads with resume, progress and SHA-256 verification.
- Hugging Face repo listing for GGUF files.
- Chat prompt rendering through the model's chat template, and a streaming tool-call parser.
- Worker thread with streaming generation and cancel, and an
Enginetrait with a mock for tests. llamafeature (llama.cpp),vulkanandmetalGPU features, andagentfeature implementingweirdnet_agent::ModelBackend.