Skip to content

Commit

Permalink
Merge branch 'master' into remove_blob_from_eager_blob_object
Browse files Browse the repository at this point in the history
Signed-off-by: daquexian <daquexian566@gmail.com>
  • Loading branch information
daquexian committed Apr 28, 2022
2 parents 70c0e1a + a2a5aef commit d365d43
Show file tree
Hide file tree
Showing 498 changed files with 25,414 additions and 4,463 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Checkout Oneflow-Inc/oneflow
if: ${{ github.event.inputs.oneflow-ref == '' }}
uses: actions/checkout@v2
- uses: Oneflow-Inc/get-oneflow@support-cuda-115
- uses: Oneflow-Inc/get-oneflow@fix-benchmark-typo
name: Build manylinux
id: build-cuda
with:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/on_merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Update Benchmark History
on:
pull_request:
types:
- closed
branches:
- master

env:
OSS_ACCESS_KEY_ID: ${{ secrets.OSS_ACCESS_KEY_ID }}
OSS_ACCESS_KEY_SECRET: ${{ secrets.OSS_ACCESS_KEY_SECRET }}

jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: Oneflow-Inc/get-oneflow/update-benchmark-history@fix-benchmark-typo
name: Update benchmark history
timeout-minutes: 10
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: Oneflow-Inc/get-oneflow/cache-complete/matrix/build@support-cuda-115
- uses: Oneflow-Inc/get-oneflow/cache-complete/matrix/build@fix-benchmark-typo
name: find cache
id: find-cache
timeout-minutes: 5
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
python3 -m pip install -U pip setuptools wheel --user
python3 -m pip install oss2 --user
- uses: actions/checkout@v2
- uses: Oneflow-Inc/get-oneflow@support-cuda-115
- uses: Oneflow-Inc/get-oneflow@fix-benchmark-typo
name: Build ${{ matrix.entry }}
if: ${{ matrix.entry !='cpu' }}
with:
Expand All @@ -98,7 +98,7 @@ jobs:
3.8
3.9
3.10
- uses: Oneflow-Inc/get-oneflow@support-cuda-115
- uses: Oneflow-Inc/get-oneflow@fix-benchmark-typo
name: Build ${{ matrix.entry }}
if: ${{ matrix.entry =='cpu' }}
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
sudo apt-get install -y libopenblas-dev nasm python3-pip ninja-build
- name: Download OneFlow custom clang-tidy
run: |
wget https://github.com/Oneflow-Inc/llvm-project/releases/download/llvmorg-13.0.0-maybe/clang-tidy-b836e4d-x86_64.AppImage
wget https://github.com/Oneflow-Inc/llvm-project/releases/download/llvmorg-13.0.0-maybe/clang-tidy-13.AppImage
wget https://raw.githubusercontent.com/oneflow-inc/llvm-project/maybe/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
chmod +x clang-tidy-b836e4d-x86_64.AppImage run-clang-tidy.py
chmod +x clang-tidy-13.AppImage run-clang-tidy.py
- name: Build third party libs and generate files
run: |
mkdir build
Expand All @@ -55,7 +55,7 @@ jobs:
-DBUILD_TESTING=ON \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cd ..
./run-clang-tidy.py -clang-tidy-binary ./clang-tidy-b836e4d-x86_64.AppImage -p build -quiet -allow-enabling-alpha-checkers -extra-arg="-Xclang" -extra-arg="-analyzer-config" -extra-arg="-Xclang" -extra-arg="aggressive-binary-operation-simplification=true" "^(?!$(pwd)/build)"
./run-clang-tidy.py -clang-tidy-binary ./clang-tidy-13.AppImage -p build -quiet -allow-enabling-alpha-checkers -extra-arg="-Xclang" -extra-arg="-analyzer-config" -extra-arg="-Xclang" -extra-arg="aggressive-binary-operation-simplification=true" "^(?!$(pwd)/build)"
hosted:
name: CPU-only
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
repository: Oneflow-Inc/conda-env
ref: 30a7f00eb48ee9009d85a848e720823e5054c66b
path: conda-env
- uses: Oneflow-Inc/get-oneflow@support-cuda-115
- uses: Oneflow-Inc/get-oneflow@fix-benchmark-typo
name: Build with gcc7
if: ${{ matrix.build-type == 'gcc7'}}
with:
Expand All @@ -250,7 +250,7 @@ jobs:
oneflow-build-env: conda
conda-env-file: conda-env/dev/gcc7/environment-v2.yml
conda-env-name: oneflow-dev-gcc7-v2
- uses: Oneflow-Inc/get-oneflow@support-cuda-115
- uses: Oneflow-Inc/get-oneflow@fix-benchmark-typo
name: Build with clang10
if: ${{ matrix.build-type == 'clang10'}}
with:
Expand Down
Loading

0 comments on commit d365d43

Please sign in to comment.