[package]
edition = "2024"
rust-version = "1.89"
name = "moeflux"
version = "0.1.0-pre.3"
authors = [
"Michael de Gans <michael.john.degans@gmail.com>",
"Claude Opus 4.6 (Anthropic) <noreply@anthropic.com>",
"Claude Opus 4.7 (Anthropic) <noreply@anthropic.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust streaming-experts MoE inference on Metal. Forked from flash-moe; only the Metal kernels remain from upstream."
readme = "README.md"
license = "MIT"
repository = "https://github.com/mdegans/moeflux"
resolver = "2"
[features]
default = []
model-cogito-v2-671b = []
model-qwen3-5-a17b = []
model-qwen3-6-35b-a3b = []
[lib]
name = "moeflux"
path = "src/lib.rs"
[[test]]
name = "batched_diff_oracle"
path = "tests/batched_diff_oracle.rs"
[[test]]
name = "checkpoint_restore"
path = "tests/checkpoint_restore.rs"
[[test]]
name = "cogito_moe_gpu"
path = "tests/cogito_moe_gpu.rs"
[[test]]
name = "cogito_v2_smoke"
path = "tests/cogito_v2_smoke.rs"
[[test]]
name = "consecutive_eval_prompt"
path = "tests/consecutive_eval_prompt.rs"
[[test]]
name = "dense_mlp_gpu"
path = "tests/dense_mlp_gpu.rs"
[[test]]
name = "diff_oracle"
path = "tests/diff_oracle.rs"
[[test]]
name = "engine_op_diff"
path = "tests/engine_op_diff.rs"
[[test]]
name = "graph_diff_oracle"
path = "tests/graph_diff_oracle.rs"
[[test]]
name = "kernel_bench"
path = "tests/kernel_bench.rs"
[[test]]
name = "mla_sdpa_tiled"
path = "tests/mla_sdpa_tiled.rs"
[[test]]
name = "mlx_regression"
path = "tests/mlx_regression.rs"
[[test]]
name = "prefill_profile"
path = "tests/prefill_profile.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "snapshot_v2_roundtrip"
path = "tests/snapshot_v2_roundtrip.rs"
[dependencies.bytemuck]
version = "1"
[dependencies.libc]
version = "0.2"
[dependencies.memmap2]
version = "0.9"
[dependencies.metal]
version = "0.32"
[dependencies.moeflux-metal]
version = "=0.1.0-pre.3"
[dependencies.objc]
version = "0.2"
[dependencies.rayon]
version = "1.10"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.static_assertions]
version = "1.1"
[dependencies.sysinfo]
version = "0.32"
features = ["system"]
default-features = false
[dependencies.thiserror]
version = "1.0"
[dev-dependencies]