Skip to content

Commit

Permalink
upgrade safetensors version
Browse files Browse the repository at this point in the history
  • Loading branch information
guocuimi committed Mar 1, 2025
1 parent 78fa907 commit 0569c55
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
cuda: ["11.8", "12.4", "12.6"]
torch: ["2.4.1", "2.5.1", "2.6.0"]
torch: ["2.5.1", "2.6.0"]
exclude:
- cuda: "12.6"
torch: "2.5.1"
runs-on: [self-hosted, linux, release]
env:
PYTHON_VERSION: ${{ matrix.python }}
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
tag: ${{ needs.version-tag.outputs.tag }}
secrets: inherit
needs:
- version-tag
- release-test

# build wheel for release if tests pass
Expand All @@ -39,15 +38,14 @@ jobs:
tag: ${{ needs.version-tag.outputs.tag }}
secrets: inherit
needs:
- version-tag
- publish-wheel

# publish docker image to dockerhub
publish-cpp-image:
uses: ./.github/workflows/publish_cpp_image.yml
with:
tag: ${{ needs.version-tag.outputs.tag }}
secrets: inherit
needs:
- version-tag
- publish-wheel
# publish-cpp-image:
# uses: ./.github/workflows/publish_cpp_image.yml
# with:
# tag: ${{ needs.version-tag.outputs.tag }}
# secrets: inherit
# needs:
# - version-tag
# - publish-wheel
6 changes: 3 additions & 3 deletions src/huggingface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ crate-type = ["staticlib"]
lto = "fat"

[dependencies]
thiserror = "1.0"
safetensors = "0.4.4"
tokenizers = { version = "0.20.0", default-features = false, features = ["onig"] }
thiserror = "2.0"
safetensors = "0.5.3"
tokenizers = { version = "0.21.0", default-features = false, features = ["onig"] }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"

0 comments on commit 0569c55

Please sign in to comment.