rlx-phi 0.2.11

Phi 3 / Phi 4 runner on rlx-llama32 (partial RoPE, NeoX GGUF)
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 = "2024"
rust-version = "1.87"
name = "rlx-phi"
version = "0.2.11"
authors = [
    "Eugene Hauptmann",
    "Nataliya Kosmyna",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Phi 3 / Phi 4 runner on rlx-llama32 (partial RoPE, NeoX GGUF)"
readme = "README.md"
keywords = [
    "ml",
    "tensor",
    "compiler",
    "neural-network",
]
categories = [
    "science",
    "algorithms",
]
license = "GPL-3.0-only"
repository = "https://github.com/MIT-RLX/rlx-models"
resolver = "2"

[features]
all-backends = [
    "metal",
    "mlx",
    "cuda",
    "rocm",
    "gpu",
    "vulkan",
    "coreml",
]
apple-silicon = ["rlx-llama32/apple-silicon"]
coreml = ["rlx-llama32/coreml"]
cuda = ["rlx-llama32/cuda"]
default = []
gpu = ["rlx-llama32/gpu"]
metal = ["rlx-llama32/metal"]
mlx = ["rlx-llama32/mlx"]
rocm = ["rlx-llama32/rocm"]
tokenizer = ["rlx-llama32/tokenizer"]
vulkan = ["rlx-llama32/vulkan"]

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

[[bin]]
name = "rlx-phi"
path = "src/bin/rlx_phi.rs"
required-features = ["tokenizer"]

[dependencies.anyhow]
version = "1"

[dependencies.rlx-cli]
version = "0.2.11"

[dependencies.rlx-llama-base]
version = "0.2.11"

[dependencies.rlx-llama32]
version = "0.2.11"

[dependencies.rlx-runtime]
version = "=0.2.11"
features = ["cpu"]
default-features = false

[lints.clippy]
large_enum_variant = "allow"
manual_range_contains = "allow"
needless_range_loop = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
upper_case_acronyms = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust.unused]
level = "warn"
priority = 0