Skip to content

Commit

Permalink
[tokenizers] Use tokenizers from rust.io
Browse files Browse the repository at this point in the history
  • Loading branch information
xyang16 committed Sep 16, 2024
1 parent 531b1f0 commit 57cbd46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions extensions/tokenizers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ ARCH=$2
FLAVOR=$3

pushd "$WORK_DIR"
if [ ! -d "tokenizers" ]; then
git clone https:/huggingface/tokenizers -b "$VERSION"
fi

if [ ! -d "build" ]; then
mkdir build
Expand Down
2 changes: 1 addition & 1 deletion extensions/tokenizers/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ candle-flash-attn = { version = "*", optional = true }
candle-cublaslt = { git = "https:/huggingface/candle-cublaslt", rev = "cf789b7dd6d4abb19b03b9556442f94f0588b4a0", optional = true }
candle-layer-norm = { git = "https:/xyang16/candle-layer-norm", rev = "e574de6a7f88bafbede8edf9ee43170c6a8ce51a", optional = true }
candle-rotary = { git = "https:/huggingface/candle-rotary", rev = "0a718a0856569a92f3112e64f10d07e4447822e8", optional = true }
tokenizers = { path = "../tokenizers/tokenizers", version = "*", features = ["http"] }
tokenizers = { version = "0.20.0", features = ["http"] }
half = "2.4.0"
tracing = "0.1.40"
safetensors = "0.4.3"
Expand Down

0 comments on commit 57cbd46

Please sign in to comment.