-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
258 changed files
with
35,319 additions
and
1,404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,81 @@ | ||
# See help here: https://github.com/marketplace/actions/labeler | ||
|
||
dependencies: | ||
- 'requirements.txt' | ||
- '**/setup.py' | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'requirements.txt' | ||
- '**/setup.py' | ||
|
||
NNCF PT: | ||
- 'examples/torch/**/*!(.md)' | ||
- 'examples/post_training_quantization/torch/**/*!(.md)' | ||
- 'nncf/torch/**/*!(.md)' | ||
- 'tests/torch/**/*!(.md)' | ||
- 'nncf/quantization/**/torch_backend.py' | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'examples/torch/**/*!(.md)' | ||
- 'examples/post_training_quantization/torch/**/*!(.md)' | ||
- 'nncf/torch/**/*!(.md)' | ||
- 'tests/torch/**/*!(.md)' | ||
- 'nncf/quantization/**/torch_backend.py' | ||
|
||
NNCF TF: | ||
- 'examples/tensorflow/**/*!(.md)' | ||
- 'examples/post_training_quantization/tensorflow/**/*!(.md)' | ||
- 'nncf/tensorflow/**/*!(.md)' | ||
- 'tests/tensorflow/**/*!(.md)' | ||
- 'nncf/quantization/**/tf_backend.py' | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'examples/tensorflow/**/*!(.md)' | ||
- 'examples/post_training_quantization/tensorflow/**/*!(.md)' | ||
- 'nncf/tensorflow/**/*!(.md)' | ||
- 'tests/tensorflow/**/*!(.md)' | ||
- 'nncf/quantization/**/tf_backend.py' | ||
|
||
NNCF ONNX: | ||
- 'examples/onnx/**/*!(.md)' | ||
- 'examples/post_training_quantization/onnx/**/*!(.md)' | ||
- 'nncf/onnx/**/*!(.md)' | ||
- 'tests/onnx/**/*!(.md)' | ||
- 'nncf/quantization/**/onnx_backend.py' | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'examples/onnx/**/*!(.md)' | ||
- 'examples/post_training_quantization/onnx/**/*!(.md)' | ||
- 'nncf/onnx/**/*!(.md)' | ||
- 'tests/onnx/**/*!(.md)' | ||
- 'nncf/quantization/**/onnx_backend.py' | ||
|
||
NNCF OpenVINO: | ||
- 'examples/openvino/**/*!(.md)' | ||
- 'examples/post_training_quantization/openvino/**/*!(.md)' | ||
- 'nncf/openvino/**/*!(.md)' | ||
- 'tests/openvino/**/*!(.md)' | ||
- 'nncf/quantization/**/openvino_backend.py' | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'examples/openvino/**/*!(.md)' | ||
- 'examples/post_training_quantization/openvino/**/*!(.md)' | ||
- 'nncf/openvino/**/*!(.md)' | ||
- 'tests/openvino/**/*!(.md)' | ||
- 'nncf/quantization/**/openvino_backend.py' | ||
|
||
NNCF PTQ: | ||
- 'nncf/quantization/**/*!(.md)' | ||
- 'tests/post_training/**/*!(.md)' | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'nncf/quantization/**/*!(.md)' | ||
- 'tests/post_training/**/*!(.md)' | ||
|
||
documentation: | ||
- '**/*.md' | ||
- 'docs/**/*' | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '**/*.md' | ||
- 'docs/**/*' | ||
|
||
experimental: | ||
- 'nncf/experimental/**/*!(.md)' | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'nncf/experimental/**/*!(.md)' | ||
|
||
NNCF Common: | ||
- 'examples/common/**/*!(.md)' | ||
- 'nncf/common/**/*!(.md)' | ||
- 'tests/common/**/*!(.md)' | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'examples/common/**/*!(.md)' | ||
- 'nncf/common/**/*!(.md)' | ||
- 'tests/common/**/*!(.md)' | ||
|
||
release target: | ||
- any: | ||
- base-branch: | ||
- '^release_v*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Set API label | ||
permissions: read-all | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["API changes check"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
update_labels: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Download artifact | ||
id: download-artifact | ||
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11 # v6 | ||
with: | ||
run_id: ${{ github.event.workflow_run.id }} | ||
name: api_status | ||
|
||
- name: Get api_status | ||
run: cat api_status.json | ||
|
||
- name: Set output value | ||
id: status | ||
run: | | ||
echo "action=$(cat api_status.json | jq -r .action)" >> $GITHUB_OUTPUT | ||
echo "pr_number=$(cat api_status.json | jq -r .pr_number)" >> $GITHUB_OUTPUT | ||
- name: Print outputs | ||
run: echo ${{ steps.status.outputs.action }} ${{ steps.status.outputs.pr_number }} | ||
|
||
- name: Add label | ||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
if: ${{ steps.status.outputs.action == 'add' }} | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
script: | | ||
github.rest.issues.addLabels({ | ||
issue_number: ${{ steps.status.outputs.pr_number }}, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
labels: ["API"] | ||
}) | ||
- name: Remove label | ||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
if: ${{ steps.status.outputs.action == 'remove' }} | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
github.rest.issues.removeLabel({ | ||
issue_number: ${{ steps.status.outputs.pr_number }}, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
labels: "API" | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.