From c82cf14cb06281b4f15a6ad0de66c03b44464ed7 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 5 Sep 2024 14:44:46 +0200 Subject: [PATCH 1/3] Prepare for 0.4.5 --- bindings/python/Cargo.toml | 2 +- safetensors/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 89649ad3..008dbc2b 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 6ef17233..3a6183a1 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" From 9cac9d2f2c46f2f6760a156b05312a95f4baf1db Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 5 Sep 2024 14:57:45 +0200 Subject: [PATCH 2/3] Write packages for s390x --- .github/workflows/python.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 595886e6..d689bcd5 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 From c864daec3f0bb57b6a4a89d3a3631b50cd7df672 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 5 Sep 2024 15:22:10 +0200 Subject: [PATCH 3/3] Fix repo location. --- .github/workflows/python.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d689bcd5..b7539fb4 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -107,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 @@ -130,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