volta 0.3.0

A PyTorch-like Machine Learning framework.
Documentation
[[bench]]
harness = false
name = "gpu_comparison"
path = "benches/gpu_comparison.rs"

[[bench]]
harness = false
name = "neural_networks"
path = "benches/neural_networks.rs"

[[bench]]
harness = false
name = "tensor_ops"
path = "benches/tensor_ops.rs"

[dependencies.approx]
version = "0.5.1"

[dependencies.bincode]
features = ["derive"]
version = "2.0.1"

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

[dependencies.cblas-sys]
version = "0.3.0"

[dependencies.half]
features = ["bytemuck"]
version = "2.7.1"

[dependencies.matrixmultiply]
version = "0.3.10"

[dependencies.pollster]
optional = true
version = "0.4.0"

[dependencies.rand]
version = "0.9.2"

[dependencies.rand_distr]
version = "0.5.1"

[dependencies.safetensors]
version = "0.7.0"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.wgpu]
optional = true
version = "27.0.1"

[dev-dependencies.criterion]
version = "0.5"

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

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

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

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

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

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

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

[[example]]
name = "readme1"
path = "examples/readme-1.rs"

[[example]]
name = "readme2"
path = "examples/readme-2.rs"

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

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

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

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

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

[features]
accelerate = ["blas-src"]
default = ["gpu", "accelerate"]
gpu = ["wgpu", "pollster"]

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

[lints.clippy]
fallible_impl_from = "deny"
fn_params_excessive_bools = "deny"
indexing_slicing = "deny"
must_use_candidate = "deny"
similar_names = "allow"
unneeded_field_pattern = "deny"
wildcard_enum_match_arm = "deny"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["science"]
description = "A PyTorch-like Machine Learning framework."
edition = "2024"
keywords = ["ml", "machine-learning", "autodiff", "tensor"]
license = "MIT"
name = "volta"
readme = "README.md"
repository = "https://github.com/rlarson20/Volta"
rust-version = "1.89.0"
version = "0.3.0"

[target.'cfg(target_os = "macos")'.dependencies.blas-src]
features = ["accelerate"]
optional = true
version = "0.14"

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

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

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

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

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

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

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

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