mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 18:48:51 +00:00
Merge pull request #60 from LaurentMazare/candle-examples
Move llama in a cargo-examples directory.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
[workspace]
|
||||
members = [
|
||||
"candle-core",
|
||||
"candle-examples",
|
||||
"candle-kernels",
|
||||
"candle-hub",
|
||||
"candle-pyo3",
|
||||
|
@ -27,11 +27,6 @@ zip = { version = "0.6.6", default-features=false }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = { version = "1", features = ["backtrace"] }
|
||||
candle-hub = { path = "../candle-hub" }
|
||||
clap = { version = "4.2.4", features = ["derive"] }
|
||||
rand = "0.8.5"
|
||||
tokenizers = { version = "0.13.3", default-features=false, features=["onig"] }
|
||||
tokio = { version = "1.28.2", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
[features]
|
||||
default = ["cuda"]
|
||||
|
26
candle-examples/Cargo.toml
Normal file
26
candle-examples/Cargo.toml
Normal file
@ -0,0 +1,26 @@
|
||||
[package]
|
||||
name = "candle-examples"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
description = "Examples for the candle ML framework."
|
||||
repository = "https://github.com/LaurentMazare/candle"
|
||||
keywords = ["blas", "tensor", "machine-learning"]
|
||||
categories = ["science"]
|
||||
license = "MIT/Apache-2.0"
|
||||
readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
candle = { path = "../candle-core", default-features=false }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = { version = "1", features = ["backtrace"] }
|
||||
candle-hub = { path = "../candle-hub" }
|
||||
clap = { version = "4.2.4", features = ["derive"] }
|
||||
rand = "0.8.5"
|
||||
tokenizers = { version = "0.13.3", default-features=false, features=["onig"] }
|
||||
tokio = { version = "1.28.2", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
[features]
|
||||
default = ["cuda"]
|
||||
cuda = ["candle/cuda"]
|
1
candle-examples/src/lib.rs
Normal file
1
candle-examples/src/lib.rs
Normal file
@ -0,0 +1 @@
|
||||
|
Reference in New Issue
Block a user