any-gpu 0.1.0

Tensor engine for every GPU. AMD, NVIDIA, Intel, Apple. One codebase, zero vendor lock-in. wgpu under the hood.
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"
name = "any-gpu"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tensor engine for every GPU. AMD, NVIDIA, Intel, Apple. One codebase, zero vendor lock-in. wgpu under the hood."
readme = "README.md"
keywords = [
    "gpu",
    "wgpu",
    "tensor",
    "ml",
    "compute",
]
categories = [
    "science",
    "graphics",
]
license = "Unlicense"
repository = "https://github.com/cochranblock/any-gpu"

[features]
candle-bench = ["candle-core"]
cuda = ["candle-core/cuda"]
default = []
metal = ["candle-core/metal"]

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

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

[[example]]
name = "candle_bench"
path = "examples/candle_bench.rs"
required-features = ["candle-core"]

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

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1"

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

[dependencies.candle-core]
version = "0.10"
optional = true

[dependencies.pollster]
version = "0.4"

[dependencies.wgpu]
version = "24"

[dev-dependencies.rand]
version = "0.8"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true