Something went wrong. Try again.
(very WIP!) Fast LLM inference in Rust & CUDA doll.tngl.io/firecrest
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114[workspace]resolver = "3"# Explicit list: a crate joins when it has a manifest and a lib/main, so a# half-created crate cannot break everyone else's build.members = [ "crates/firecrest-adapters", "crates/firecrest-cli", "crates/firecrest-core", "crates/firecrest-cuda", "crates/firecrest-gguf", "crates/firecrest-kernels", "crates/firecrest-policy", "crates/firecrest-quant", "crates/firecrest-safetensors", "crates/firecrest-sampling", "crates/firecrest-server", "crates/firecrest-tokenizer", "engines/deepseek-v4.1/engine", "engines/deepseek-v4.1/model", "engines/deepseek-v4.1/engram", "engines/deepseek-v4.1/ctx", "engines/deepseek-v4.1/ctxgen", "engines/deepseek-v4.1/prefill", "engines/deepseek-v4.1/gpu", "engines/deepseek-v4.1/vision", "engines/deepseek-v4.1/vision-gpu", "engines/inkling/chat", "engines/inkling/model", "engines/inkling/gpu", "engines/inkling/draft", "engines/smollm3/model", "engines/smollm3/gpu", "engines/smollm3/engine", "engines/qwen3.6/engine", "engines/qwen3.6/gpu", "engines/qwen3.6/model", "xtask",]
[workspace.package]version = "0.1.0"edition = "2024"license = "MIT"repository = "https://tangled.org/do.llth.ing/firecrest"rust-version = "1.98"
[workspace.dependencies]firecrest-core = { path = "crates/firecrest-core" }firecrest-gguf = { path = "crates/firecrest-gguf" }firecrest-quant = { path = "crates/firecrest-quant" }firecrest-cuda = { path = "crates/firecrest-cuda" }firecrest-kernels = { path = "crates/firecrest-kernels" }firecrest-tokenizer = { path = "crates/firecrest-tokenizer" }firecrest-dsv41-engram = { path = "engines/deepseek-v4.1/engram" }firecrest-dsv41-vision = { path = "engines/deepseek-v4.1/vision" }firecrest-dsv41-vision-gpu = { path = "engines/deepseek-v4.1/vision-gpu" }firecrest-adapters = { path = "crates/firecrest-adapters" }firecrest-policy = { path = "crates/firecrest-policy" }firecrest-dsv41-model = { path = "engines/deepseek-v4.1/model" }firecrest-dsv41 = { path = "engines/deepseek-v4.1/engine" }firecrest-server = { path = "crates/firecrest-server" }firecrest-cli = { path = "crates/firecrest-cli" }firecrest-dsv41-prefill = { path = "engines/deepseek-v4.1/prefill" }firecrest-dsv41-gpu = { path = "engines/deepseek-v4.1/gpu" }firecrest-dsv41-ctx = { path = "engines/deepseek-v4.1/ctx" }firecrest-sampling = { path = "crates/firecrest-sampling" }firecrest-smollm3-model = { path = "engines/smollm3/model" }firecrest-smollm3-gpu = { path = "engines/smollm3/gpu" }firecrest-smollm3 = { path = "engines/smollm3/engine" }firecrest-qwen36 = { path = "engines/qwen3.6/engine" }firecrest-qwen36-model = { path = "engines/qwen3.6/model" }firecrest-qwen36-gpu = { path = "engines/qwen3.6/gpu" }
serde = { version = "1", features = ["derive", "rc"] }serde_json = "1"thiserror = "2"tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "net", "signal", "fs", "io-util"] }blake3 = "1"bytemuck = { version = "1", features = ["derive"] }half = { version = "2", features = ["bytemuck"] }memmap2 = "0.9"libloading = "0.8"libc = "0.2"tracing = "0.1"rayon = "1"clap = { version = "4", features = ["derive"] }toml = "0.9"# Pinned: its Unicode version must be that of the NFC table of# firecrest-tokenizer (src/nfc_table.rs, tested in src/nfc.rs).unicode-normalization = "=0.1.24"
[profile.release]opt-level = 3lto = "thin"codegen-units = 16debug = 1
[profile.dev]opt-level = 1
[profile.test]opt-level = 2
[workspace.lints.rust]unsafe_op_in_unsafe_fn = "deny" # every unsafe operation sits in its own block with its own SAFETY comment
[workspace.lints.clippy]undocumented_unsafe_blocks = "deny" # see CONTRIBUTING.md, "Unsafe code"needless_range_loop = "allow" # index loops over parallel arrays read better in numeric codechunks_exact_to_as_chunks = "allow" # chunks_exact is clearer at the call sites that use ittoo_many_arguments = "allow" # kernel launch wrappers mirror their kernels' parameterstype_complexity = "allow"neg_cmp_op_on_partial_ord = "allow" # `!(a < b)` deliberately treats NaN as failing the test