mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 20:09:50 +00:00

* init t5 wasm model * split workers for each model * clean up * add some ui * readme * index * typo * remove cache param, clear_kv_cache * add max_length as param * add model tasks option to ui * add method to load quantized gguf from buffer * Add quantized wasm module * add quantized models to UI, dynamic import wasms * link to quantized * fix copy * fix ModelEncoder * fix README.md
34 lines
992 B
TOML
34 lines
992 B
TOML
[package]
|
|
name = "candle-wasm-example-t5"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
|
|
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
|
|
candle-transformers = { path = "../../candle-transformers", version = "0.2.2" }
|
|
num-traits = { workspace = true }
|
|
tokenizers = { workspace = true, features = ["unstable_wasm"] }
|
|
|
|
# App crates.
|
|
anyhow = { workspace = true }
|
|
byteorder = { workspace = true }
|
|
log = { workspace = true }
|
|
rand = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
safetensors = { workspace = true }
|
|
|
|
# Wasm specific crates.
|
|
console_error_panic_hook = "0.1.7"
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
gloo = "0.8"
|
|
js-sys = "0.3.64"
|
|
wasm-bindgen = "0.2.87"
|
|
serde-wasm-bindgen = "0.6.0"
|