Skip to content

Commit 552bcd8

Browse files
committed
Sync with develop prior to release v0.6.0
Signed-off-by: Abolfazl Shahbazi <[email protected]>
2 parents 3331716 + 19fd070 commit 552bcd8

File tree

131 files changed

+5764
-610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+5764
-610
lines changed

.github/workflows/Bandit-Scan.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Scanner-Bandit
2+
on:
3+
pull_request:
4+
branches:
5+
- '**'
6+
workflow_dispatch:
7+
inputs:
8+
repos:
9+
description: 'Enter Project repo for which you want to run Bandit scan:'
10+
required: true
11+
type: string
12+
default: 'intel-innersource/frameworks.ai.transfer-learning'
13+
refs:
14+
description: 'Enter Project branch, tag:'
15+
required: true
16+
type: string
17+
default: 'develop'
18+
excludes:
19+
description: 'Enter target repository folders to be excluded eg. tools,xyz etc:'
20+
required: false
21+
type: string
22+
config_file:
23+
description: 'Enter target repository configuration file for Bandit scan eg. .bandit.yml:'
24+
required: false
25+
type: string
26+
default: 'bandit.yml'
27+
# runner_label:
28+
# description: 'Enter one label of the runner that will execute the workflow:'
29+
# required: true
30+
# type: string
31+
# default: "['gasp']"
32+
jobs:
33+
scan-bandit:
34+
uses: 'intel-innersource/frameworks.ai.infrastructure.code-scan-tools/.github/workflows/Scanner_Bandit.yml@one-ci-cd'
35+
with:
36+
repos: 'frameworks.ai.transfer-learning' # ${{ github.event.inputs.repos }}
37+
refs: ${{ github.event.inputs.refs }}
38+
# config_file: ${{ github.event.inputs.config_file }}
39+
runners: "['gasp']" # ${{ github.event.inputs.runner_label }}
40+
secrets:
41+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/build-container.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
credentials: # CAAS Registry Creds
1515
username: ${{ secrets.REGISTRY_USER }}
1616
password: ${{ secrets.REGISTRY_TOKEN }}
17-
runs-on: [aia-devops] # Runner Label
17+
runs-on: [ xai-tlt ] # Runner Label
1818
steps:
1919
- uses: actions/checkout@v3
2020
with:
@@ -37,7 +37,7 @@ jobs:
3737
credentials: # CAAS Registry Creds
3838
username: ${{ secrets.REGISTRY_USER }}
3939
password: ${{ secrets.REGISTRY_TOKEN }}
40-
runs-on: [aia-devops]
40+
runs-on: [ xai-tlt ]
4141
steps:
4242
- uses: docker/login-action@v2
4343
with: # CAAS Registry Creds

.github/workflows/docs-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
# installs dependencies, build the docs and push it to `gh-pages`
1515
jobs:
1616
docs-test:
17-
runs-on: [ aia-devops ]
17+
runs-on: [ xai-tlt ]
1818
container:
1919
image: ${{ vars.GHA_IMAGE }}
2020
env:

.github/workflows/integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
- r0.2
1212
- r0.3
1313
- r0.4
14-
- r0.5
1514
tags:
1615
- '**'
1716
paths:
@@ -21,9 +20,10 @@ jobs:
2120
if: github.event.review.state == 'approved' ||
2221
github.event.pull_request.merged == true ||
2322
github.event_name == 'push'
24-
runs-on: [ aia-devops ]
23+
runs-on: [ xai-tlt ]
2524
container:
2625
image: ${{ vars.GHA_IMAGE }}
26+
options: --shm-size=4GB
2727
env:
2828
http_proxy: ${{ secrets.HTTP_PROXY }}
2929
https_proxy: ${{ secrets.HTTPS_PROXY }}

.github/workflows/nightly-integration.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ on:
55
- cron: "0 22 * * *"
66
jobs:
77
nightly-test:
8-
runs-on: [ aia-devops ]
8+
runs-on: [ xai-tlt ]
99
container:
1010
image: ${{ vars.GHA_IMAGE }}
11+
options: --shm-size=8GB
1112
env:
1213
http_proxy: ${{ secrets.HTTP_PROXY }}
1314
https_proxy: ${{ secrets.HTTPS_PROXY }}

.github/workflows/nightly-notebook-test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ on:
55
- cron: "0 23 * * *"
66
jobs:
77
notebook-test:
8-
runs-on: [ aia-devops ]
8+
runs-on: [ xai-tlt ]
99
container:
1010
image: ${{ vars.GHA_IMAGE }}
11+
options: --shm-size=8GB
1112
env:
1213
http_proxy: ${{ secrets.HTTP_PROXY }}
1314
https_proxy: ${{ secrets.HTTPS_PROXY }}

.github/workflows/notebook-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
- r0.2
1212
- r0.3
1313
- r0.4
14-
- r0.5
1514
tags:
1615
- '**'
1716
paths:
@@ -21,9 +20,10 @@ jobs:
2120
if: github.event.review.state == 'approved' ||
2221
github.event.pull_request.merged == true ||
2322
github.event_name == 'push'
24-
runs-on: [ aia-devops ]
23+
runs-on: [ xai-tlt ]
2524
container:
2625
image: ${{ vars.GHA_IMAGE }}
26+
options: --shm-size=4GB
2727
env:
2828
http_proxy: ${{ secrets.HTTP_PROXY }}
2929
https_proxy: ${{ secrets.HTTPS_PROXY }}

.github/workflows/style-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
# installs dependencies and runs the linter
1414
jobs:
1515
style-test:
16-
runs-on: [ aia-devops ]
16+
runs-on: [ xai-tlt ]
1717
container:
1818
image: ${{ vars.GHA_IMAGE }}
1919
env:

.github/workflows/unittest.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,21 @@ on:
1212
- '**'
1313
jobs:
1414
unit-test:
15-
runs-on: [ aia-devops ]
15+
runs-on: [ xai-tlt ]
1616
container:
1717
image: ${{ vars.GHA_IMAGE }}
18+
options: --shm-size=4GB
1819
env:
1920
http_proxy: ${{ secrets.HTTP_PROXY }}
2021
https_proxy: ${{ secrets.HTTPS_PROXY }}
2122
no_proxy: ${{ secrets.NO_PROXY }}
23+
MODEL_DIR: /tmp/tlt_cached_models/torch
2224
# credentials:
2325
# username: ${{ secrets.REGISTRY_USER }}
2426
# password: ${{ secrets.REGISTRY_TOKEN }}
27+
volumes:
28+
- /tf_dataset/dataset/transfer_learning:/tmp/data
29+
- /localdisk/tlt_cached_models/torch:/tmp/tlt_cached_models/torch
2530
steps:
2631
- uses: actions/checkout@v3
2732
- name: Run Unit Test

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ _autosummary
99
**.log
1010
**/*.cache
1111
**/**.whl
12-
**/**/models/
1312
**/**venv
1413
**venv*
1514
build/

0 commit comments

Comments
 (0)