Timestral-209M GGUF — F32
An unofficial, lossless F32 GGUF conversion of Mistral AI's Timestral-209M, a time-series foundation model for zero-shot probabilistic forecasting.
The weights were converted from the official model.safetensors. There is no quantization or fine-tuning: all 203 F32 tensor payloads preserve the original bytes, names, and shapes (dimensions are represented in GGUF order). Model authorship and the original license remain with Mistral AI.
Files
| File | Description |
|---|---|
Timestral-209M-F32.gguf | 209,312,256 parameters, F32; 837,265,632 bytes (about 798.5 MiB). |
LICENSE | Unmodified upstream Modified MIT License and attribution notice. |
source_config.json | Original model configuration for provenance; also embedded in the GGUF metadata. |
conversion.json | Fixed source revision, converter revision, and SHA-256 hashes. |
example_request.json | Minimal forecasting request for the Rust runtime. |
GGUF SHA-256:
7628bcbfe43c8fec82bfbeace0ebbeb7dcd49facec6a785a51f430995d704e10
Model capabilities
- 24 Transformer layers, hidden width 768, 12 attention heads, patch size 32.
- Univariate and joint multivariate forecasting, missing observations, and numeric past-only / known-future covariates in the validated Rust implementation.
- Up to 32,768 historical steps; up to 1,024 forecast steps per block. Longer horizons use blockwise median feedback.
- 21 output quantiles:
0.01, 0.05, 0.10, 0.15, ..., 0.85, 0.90, 0.95, 0.99.
Runtime compatibility
This GGUF uses the explicit architecture timestral and the original Timestral tensor layout. It requires a Timestral-aware runtime. The validated implementation is rust-model-inference; upstream integration PR #181 provides the implementation context.
Compatibility with llama.cpp, Ollama, Transformers, and other generic GGUF loaders has not been validated. This repository is a forecasting model, so it does not include a tokenizer or chat template.
Quick start
Use a recent Rust toolchain. The pinned commit below includes both CPU and Vulkan forecasting support.
git clone https://github.com/gouzil/rust-model-inference.git
cd rust-model-inference
git checkout cc72a61fcd0c4314479291bd189555f5718ca85e
hf download EvoAwaken-Workshop/Timestral-209M-gguf \
Timestral-209M-F32.gguf example_request.json \
--local-dir models/Timestral-209M
cargo build --release --features vulkan --bin rust-model-inference
./target/release/rust-model-inference \
--model models/Timestral-209M/Timestral-209M-F32.gguf \
--timestral-request models/Timestral-209M/example_request.json \
--compute cpu --threads 4
For GPU inference, use the same command with --compute vulkan and an available hardware Vulkan device. --compute vulkan returns an error if GPU initialization or execution fails; --compute auto prefers Vulkan and explicitly reports any CPU fallback. CPU-only builds can omit --features vulkan.
The Vulkan implementation runs the 24-layer Transformer on GPU. Scaling, patch/head projections, quantile postprocessing, and forecast feedback remain on CPU. Only Apple M3 Max through MoltenVK was hardware-validated for this conversion.
Request and output
{"context":[1,2,null,4,5,6,7,8],"prediction_length":96}
null marks a missing observation. context accepts [time] or [variate][time]; the latter is one jointly forecast multivariate series. Output JSON contains quantile_levels and quantiles[variate][horizon][quantile]; median predictions are at quantile index 10.
Optional numeric covariates use past_covariates[covariate][context_time] and known_covariates[covariate][context_time + prediction_length]. symmetric_averaging and clip_nonnegative default to true, following the official implementation. See the runtime documentation for the complete request contract.
Conversion and validation
- Source:
mistralai/Timestral-209M, revision9874d252ab0aae16f7f7c999f98f98d6ad7d8365. - Converter: writes GGUF F32 tensors without QKV reordering or quantization.
- Reference implementation:
mistralai/timestral, commita534bdbd244d64f3d9d743f46c7bf6fc330ed4ff, CPU/F32 PyTorch oracle. - Validation checks tensor inventories, shapes, payload bytes, masks, positions, intermediate activations, and final quantile forecasts. Weight bytes and lossless structural operations are checked exactly.
- Floating-point reductions, SIMD/FMA, transcendental functions, and GPU computations use numerical bounds rather than a claim of bitwise equality to PyTorch. Each intermediate tensor and final forecast must satisfy both:
max_abs_error <= 3e-5 + 3e-4 * max_abs(reference);RMSE <= 3e-5 + 5e-5 * RMS(reference).
The recorded GPU validation covers 10 cases, 30 CPU SIMD / Vulkan / Auto executions, and 10,182 checkpoints. Worst GPU final NRMSE was approximately 5.84e-6. Maximum final absolute error was 0.0703125 on large long-horizon tail quantiles; intermediate tail values can have larger absolute differences. Full records: CPU validation and GPU validation.
These checks establish implementation agreement on the recorded inputs. They do not reproduce the original forecasting benchmark scores or establish a GPU speedup.
Reproduce the conversion
From the pinned runtime checkout, place the official revision's config.json and model.safetensors in models/Timestral-209M-source, then run the converter with the repository Python environment:
.venv/bin/python -m tools.converter.timestral.convert_timestral \
models/Timestral-209M-source \
models/Timestral-209M/Timestral-209M-F32.gguf
The converter refuses to overwrite an existing output. Source weights require NumPy in the repository Python environment for conversion; Python is not required for Rust inference.
Limits
The validated Rust implementation currently supports this F32 209M checkpoint, numeric covariates, and the CLI request format above. Categorical covariate encoding, batch API, HTTP serving, other model sizes, and quantized GGUF variants are not covered. Maximum-context performance and cross-vendor GPU behavior are not established by the recorded numerical validation.
For original training details and forecasting benchmarks, consult the official model card. Upstream benchmark scores are not claimed as independently reproduced results for this conversion.
License and attribution
Attribution notice: 2026 - Mistral AI.
The model weights and associated model documentation are distributed under the upstream Modified MIT License, not the standard MIT license. Its terms include a revenue-based restriction on exercising the licensed rights. Read the complete, unchanged LICENSE, including the eligibility condition and commercial-license contact, before use or redistribution. This conversion does not replace or relax the upstream terms.