From a45f9ad0e643eafbab8bc1b61db19ae09cded85e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 22:29:51 +0000 Subject: [PATCH 1/2] Update transformers requirement from <4.51,>=4.45 to >=4.45,<4.52 Updates the requirements on [transformers](https://github.com/huggingface/transformers) to permit the latest version. - [Release notes](https://github.com/huggingface/transformers/releases) - [Commits](https://github.com/huggingface/transformers/compare/v4.45.0...v4.51.0) --- updated-dependencies: - dependency-name: transformers dependency-version: 4.51.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a52bc449..bd3d41a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dynamic = ["version"] dependencies = [ "numpy>=1.26.4,<2.3.0", "accelerate>=0.20.3,!=0.34,<1.7", -"transformers>=4.45,<4.51", +"transformers>=4.45,<4.52", "torch>=2.2.0,<2.6", "triton>=3.0,<3.2", "tqdm>=4.66.2,<5.0", From e34b0dadf05f9e14760d60b18215289d8face982 Mon Sep 17 00:00:00 2001 From: chichun-charlie-liu <57839396+chichun-charlie-liu@users.noreply.github.com> Date: Wed, 9 Apr 2025 13:28:58 -0400 Subject: [PATCH 2/2] Update labelpr.yaml to resolve label issue Signed-off-by: chichun-charlie-liu <57839396+chichun-charlie-liu@users.noreply.github.com> --- .github/workflows/labelpr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/labelpr.yaml b/.github/workflows/labelpr.yaml index 5e69329b..afbbba55 100644 --- a/.github/workflows/labelpr.yaml +++ b/.github/workflows/labelpr.yaml @@ -13,7 +13,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | // https://github.com/commitizen/conventional-commit-types - const valid_pr_types = ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert']; + const valid_pr_types = ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert', 'dependencies']; const title = context.payload.pull_request.title; @@ -28,4 +28,4 @@ jobs: const labels = context.payload.pull_request.labels; const new_labels = labels.filter(label => !valid_pr_types.includes(label.name)); // keep all labels that are not in valid_pr_types new_labels.push({name: pr_type}); - await github.rest.issues.update({ ...context.repo, issue_number: context.payload.number, labels: new_labels }); \ No newline at end of file + await github.rest.issues.update({ ...context.repo, issue_number: context.payload.number, labels: new_labels });