-
Notifications
You must be signed in to change notification settings - Fork 694
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1589 from oneapi-src/2023.1.1_AIKit
2023.1.1 AI Kit Release
- Loading branch information
Showing
114 changed files
with
8,158 additions
and
2,014 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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: github-samples-app | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
workflow_dispatch: | ||
|
||
# schedule: | ||
# - cron: '55 13 * * *' | ||
|
||
jobs: | ||
pages: | ||
name: Build GitHub Pages | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.8" | ||
|
||
- uses: actions/checkout@v3 | ||
name: Check out app/dev # checks out app/dev in top-level dir | ||
with: | ||
ref: 'refs/heads/app/dev' | ||
|
||
- uses: actions/checkout@v3 | ||
name: Check out master # checks out master in subdirectory | ||
with: | ||
ref: 'refs/heads/master' | ||
path: master | ||
|
||
- name: Build JSON DB | ||
run: | | ||
python3 -m pip install -r src/requirements.txt | ||
echo master | ||
python3 src/db.py master | ||
- name: Remove JSON pre-prod | ||
run: | | ||
rm -rf src/docs/sample_db_pre.json | ||
- name: Build Sphinx | ||
run: | | ||
python3 -m sphinx -W -b html src/docs/ src/docs/_build/ | ||
echo $PWD | ||
echo ${{ github.ref }} | ||
- name: Add GPU-Occupancy-Calculator | ||
env: | ||
GPU_OCC_CALC: src/docs/_build/Tools/GPU-Occupancy-Calculator/ | ||
run: | | ||
mkdir -p ${GPU_OCC_CALC} | ||
cp -v ${{ github.workspace }}/master/Tools/GPU-Occupancy-Calculator/index.html ${GPU_OCC_CALC}/index.html | ||
- name: Push docs | ||
if: ${{ github.ref == 'refs/heads/master' }} # only if this workflow is run from the master branch, push docs | ||
env: | ||
GITHUB_USER: ${{ github.actor }} | ||
GITHUB_TOKEN: ${{ github.token }} | ||
GITHUB_REPO: ${{ github.repository }} | ||
run: | | ||
cd src/docs/_build/ | ||
touch .nojekyll | ||
git init | ||
git remote add origin "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}" | ||
git add -A | ||
git status | ||
git config --global user.name "GitHub Actions" | ||
git config --global user.email "[email protected]" | ||
git commit -sm "$(date)" | ||
git branch -M gh-pages | ||
git push -u origin -f gh-pages |
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
2 changes: 2 additions & 0 deletions
2
AI-and-Analytics/End-to-end-Workloads/LanguageIdentification/Inference/clean.sh
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,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
rm -R RIRS_NOISES | ||
rm -R tmp | ||
rm -R speechbrain | ||
|
Oops, something went wrong.