From 5db3b92c76ba293a0715b916c16b113c0b3551e9 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 5 Sep 2024 15:35:48 +0200 Subject: [PATCH] Prepare for 0.4.5 (#525) * Prepare for 0.4.5 * Write packages for s390x * Fix repo location. --- .github/workflows/python.yml | 9 ++++++--- bindings/python/Cargo.toml | 2 +- safetensors/Cargo.toml | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 595886e..b7539fb 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -88,6 +88,9 @@ jobs: test_s390x_big_endian: runs-on: ubuntu-latest + permissions: + contents: write + packages: write name: Test bigendian - S390X steps: - uses: actions/checkout@v2 @@ -104,7 +107,7 @@ jobs: with: # list of Docker images to use as base name for tags images: | - ghcr.io/safetensors/s390x + ghcr.io/huggingface/safetensors/s390x # generate Docker tags based on the following events/attributes tags: | type=schedule @@ -127,5 +130,5 @@ jobs: file: Dockerfile.s390x.test tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=registry,ref=ghcr.io/safetensors/s390x:cache,mode=max - cache-to: type=registry,ref=ghcr.io/safetensors/s390x:cache,mode=max + cache-from: type=registry,ref=ghcr.io/huggingface/safetensors/s390x:cache,mode=max + cache-to: type=registry,ref=ghcr.io/huggingface/safetensors/s390x:cache,mode=max diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 89649ad..008dbc2 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "safetensors-python" -version = "0.4.5-dev.0" +version = "0.4.6-dev.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/safetensors/Cargo.toml b/safetensors/Cargo.toml index 6ef1723..3a6183a 100644 --- a/safetensors/Cargo.toml +++ b/safetensors/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "safetensors" -version = "0.4.5-dev.0" +version = "0.4.6-dev.0" edition = "2021" homepage = "https://github.com/huggingface/safetensors" repository = "https://github.com/huggingface/safetensors" -- 2.43.0