Skip to content

Commit

Permalink
Merge branch 'main' into test-yolov3
Browse files Browse the repository at this point in the history
  • Loading branch information
ayerofieiev-tt authored Sep 13, 2024
2 parents cb8e7e0 + 79c0432 commit a0d02ac
Show file tree
Hide file tree
Showing 146 changed files with 31,635 additions and 14,343 deletions.
3 changes: 3 additions & 0 deletions .github/actions/common_cleanup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ runs:
- name: Cleanup model cache
shell: bash
run: |
df -h
python3 -m pip cache purge
python3 tools/huggingface_delete_cache.py
rm -rf ~/.torch/models
rm -rf ~/.cache/custom_weights
free -h
df -h
8 changes: 5 additions & 3 deletions .github/actions/common_repo_setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ runs:
uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: 'pip'
cache-dependency-path: |
requirements-dev.txt
#cache: 'pip'
#cache-dependency-path: |
# requirements-dev.txt

- name: Install Dependencies
shell: bash
run: |
df -h
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt
python3 -m pip install pytest-github-report
df -h
- uses: ./.github/actions/common_cleanup
19 changes: 17 additions & 2 deletions .github/workflows/before_merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
runs-on: ["in-service", "n150"]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/common_repo_setup

- uses: ./.github/actions/common_repo_setup
- name: Run Tools Tests
run: |
python3 -m pytest --github-report tests/tools/ -s
Expand Down Expand Up @@ -90,7 +89,23 @@ jobs:
with:
name: model-tests-metrics-group-${{ matrix.group }}
path: tests/metrics/


validate-pr:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Final Model Test Results
needs: [model-tests]
steps:
- run: |
result="${{ needs.model-tests.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi
collect-metrics:
needs: model-tests
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.commit_report != 'None'}}
Expand Down
1,808 changes: 1,681 additions & 127 deletions README.md

Large diffs are not rendered by default.

12,774 changes: 9,047 additions & 3,727 deletions docs/cumulative_input_variations.md

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions docs/models/Autoencoder (conv)/input_variations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# High Level Operations Status
| | Operations | Input Variations | Converted |
|---:|:-------------------------------------|-------------------:|------------:|
| 0 | aten.convolution.default | 4 | 0 |
| 1 | aten.max_pool2d_with_indices.default | 2 | 0 |
| 2 | aten.relu.default | 3 | 3 |
***
### aten.convolution.default
| | ATen Input Variations | Status |
|---:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------|
| 0 | Tensor<[1, 1, 28, 28]> input = ?,<br>Tensor<[16, 1, 3, 3]> weight = ?,<br>Optional[Tensor]<[16]> bias = ?,<br>List[int]<> stride = [1, 1],<br>List[int]<> padding = [1, 1],<br>List[int]<> dilation = [1, 1],<br>bool<> transposed = False,<br>List[int]<> output_padding = [0, 0],<br>int<> groups = 1 | Unknown |
| 1 | Tensor<[1, 16, 14, 14]> input = ?,<br>Tensor<[16, 1, 2, 2]> weight = ?,<br>Optional[Tensor]<[1]> bias = ?,<br>List[int]<> stride = [2, 2],<br>List[int]<> padding = [0, 0],<br>List[int]<> dilation = [1, 1],<br>bool<> transposed = True,<br>List[int]<> output_padding = [0, 0],<br>int<> groups = 1 | Unknown |
| 2 | Tensor<[1, 16, 14, 14]> input = ?,<br>Tensor<[4, 16, 3, 3]> weight = ?,<br>Optional[Tensor]<[4]> bias = ?,<br>List[int]<> stride = [1, 1],<br>List[int]<> padding = [1, 1],<br>List[int]<> dilation = [1, 1],<br>bool<> transposed = False,<br>List[int]<> output_padding = [0, 0],<br>int<> groups = 1 | Unknown |
| 3 | Tensor<[1, 4, 7, 7]> input = ?,<br>Tensor<[4, 16, 2, 2]> weight = ?,<br>Optional[Tensor]<[16]> bias = ?,<br>List[int]<> stride = [2, 2],<br>List[int]<> padding = [0, 0],<br>List[int]<> dilation = [1, 1],<br>bool<> transposed = True,<br>List[int]<> output_padding = [0, 0],<br>int<> groups = 1 | Unknown |
### aten.max_pool2d_with_indices.default
| | ATen Input Variations | Status |
|---:|:------------------------------------------------------------------------------------------------------|:---------|
| 0 | Tensor<[1, 16, 28, 28]> self = ?,<br>List[int]<> kernel_size = [2, 2],<br>List[int]<> stride = [2, 2] | Unknown |
| 1 | Tensor<[1, 4, 14, 14]> self = ?,<br>List[int]<> kernel_size = [2, 2],<br>List[int]<> stride = [2, 2] | Unknown |
### aten.relu.default
| | ATen Input Variations | Status |
|---:|:---------------------------------|:---------|
| 0 | Tensor<[1, 16, 14, 14]> self = ? | Done |
| 1 | Tensor<[1, 16, 28, 28]> self = ? | Done |
| 2 | Tensor<[1, 4, 14, 14]> self = ? | Done |

36 changes: 36 additions & 0 deletions docs/models/Autoencoder (linear)/input_variations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# High Level Operations Status
| | Operations | Input Variations | Converted |
|---:|:-------------------|-------------------:|------------:|
| 0 | aten.addmm.default | 8 | 8 |
| 1 | aten.relu.default | 3 | 3 |
| 2 | aten.t.default | 8 | 8 |
***
### aten.addmm.default
| | ATen Input Variations | Status |
|---:|:-------------------------------------------------------------------------------------|:---------|
| 0 | Tensor<[128]> self = ?,<br>Tensor<[1, 64]> mat1 = ?,<br>Tensor<[64, 128]> mat2 = ? | Done |
| 1 | Tensor<[128]> self = ?,<br>Tensor<[1, 784]> mat1 = ?,<br>Tensor<[784, 128]> mat2 = ? | Done |
| 2 | Tensor<[12]> self = ?,<br>Tensor<[1, 3]> mat1 = ?,<br>Tensor<[3, 12]> mat2 = ? | Done |
| 3 | Tensor<[12]> self = ?,<br>Tensor<[1, 64]> mat1 = ?,<br>Tensor<[64, 12]> mat2 = ? | Done |
| 4 | Tensor<[3]> self = ?,<br>Tensor<[1, 12]> mat1 = ?,<br>Tensor<[12, 3]> mat2 = ? | Done |
| 5 | Tensor<[64]> self = ?,<br>Tensor<[1, 128]> mat1 = ?,<br>Tensor<[128, 64]> mat2 = ? | Done |
| 6 | Tensor<[64]> self = ?,<br>Tensor<[1, 12]> mat1 = ?,<br>Tensor<[12, 64]> mat2 = ? | Done |
| 7 | Tensor<[784]> self = ?,<br>Tensor<[1, 128]> mat1 = ?,<br>Tensor<[128, 784]> mat2 = ? | Done |
### aten.relu.default
| | ATen Input Variations | Status |
|---:|:--------------------------|:---------|
| 0 | Tensor<[1, 128]> self = ? | Done |
| 1 | Tensor<[1, 12]> self = ? | Done |
| 2 | Tensor<[1, 64]> self = ? | Done |
### aten.t.default
| | ATen Input Variations | Status |
|---:|:----------------------------|:---------|
| 0 | Tensor<[12, 3]> self = ? | Done |
| 1 | Tensor<[12, 64]> self = ? | Done |
| 2 | Tensor<[128, 64]> self = ? | Done |
| 3 | Tensor<[128, 784]> self = ? | Done |
| 4 | Tensor<[3, 12]> self = ? | Done |
| 5 | Tensor<[64, 128]> self = ? | Done |
| 6 | Tensor<[64, 12]> self = ? | Done |
| 7 | Tensor<[784, 128]> self = ? | Done |

Loading

0 comments on commit a0d02ac

Please sign in to comment.