ferrox-models 0.12.0

Model loaders and decoder stacks for the Ferrox inference engine
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "ferrox-models"
version = "0.12.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Model loaders and decoder stacks for the Ferrox inference engine"
homepage = "https://github.com/antonellof/ferrox"
readme = "README.md"
keywords = [
    "llm",
    "inference",
    "gguf",
    "transformer",
    "ferrox",
]
categories = [
    "science",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/antonellof/ferrox"

[features]
cuda = [
    "ferrox-moe/cuda",
    "ferrox-cuda/cuda",
]
default = []
metal = [
    "ferrox-moe/metal",
    "ferrox-metal/metal",
]

[lib]
name = "ferrox_models"
path = "src/lib.rs"

[[example]]
name = "gemma3_chat_sim"
path = "examples/gemma3_chat_sim.rs"

[[example]]
name = "gemma3_logits"
path = "examples/gemma3_logits.rs"

[[example]]
name = "gemma3_tok"
path = "examples/gemma3_tok.rs"

[[test]]
name = "bos_policy"
path = "tests/bos_policy.rs"

[[test]]
name = "chat_template_real_gguf"
path = "tests/chat_template_real_gguf.rs"

[[test]]
name = "checkpoint_receipts"
path = "tests/checkpoint_receipts.rs"

[[test]]
name = "gemma2_metal_quality_gate"
path = "tests/gemma2_metal_quality_gate.rs"

[[test]]
name = "gemma4_tok_smoke"
path = "tests/gemma4_tok_smoke.rs"

[[test]]
name = "gguf_roundtrip"
path = "tests/gguf_roundtrip.rs"

[[test]]
name = "gptoss_graph"
path = "tests/gptoss_graph.rs"

[[test]]
name = "kimi_real_data"
path = "tests/kimi_real_data.rs"

[[test]]
name = "moe_routing_bias"
path = "tests/moe_routing_bias.rs"

[[test]]
name = "qwen2moe_paris"
path = "tests/qwen2moe_paris.rs"

[[test]]
name = "rope_layout"
path = "tests/rope_layout.rs"

[[test]]
name = "smollm2_metal_paris"
path = "tests/smollm2_metal_paris.rs"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.23.0"

[dependencies.fancy-regex]
version = "0.18.0"

[dependencies.ferrox-core]
version = "0.12.0"

[dependencies.ferrox-cuda]
version = "0.12.0"

[dependencies.ferrox-edge]
version = "0.12.0"

[dependencies.ferrox-gguf]
version = "0.12.0"

[dependencies.ferrox-metal]
version = "0.12.0"

[dependencies.ferrox-moe]
version = "0.12.0"

[dependencies.ferrox-quant]
version = "0.12.0"

[dependencies.ferrox-safetensors]
version = "0.12.0"

[dependencies.minijinja]
version = "2.21"
features = [
    "loop_controls",
    "json",
]

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1.13.1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dev-dependencies.byteorder]
version = "1"

[dev-dependencies.half]
version = "2"