Skip to content

[fix] support external weights file when fuse constant optimizer #683

[fix] support external weights file when fuse constant optimizer

[fix] support external weights file when fuse constant optimizer #683

name: cuda-windows-x86-64
on:
#push:
# branches: [ master ]
# paths-ignore: ['.**', 'docker/**', 'docs/**', 'samples/**', README.md]
pull_request:
branches: [ master ]
paths:
- 'cmake/cuda.cmake'
- 'include/ppl/nn/engines/cuda/**'
- 'src/ppl/nn/engines/cuda/**'
- 'src/ppl/nn/optimizers/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}--${{ github.head_ref || github.run_id }}--${{ github.ref }}--${{ github.event_name }}
cancel-in-progress: true
jobs:
build_and_test:
runs-on: [self-hosted, x64, windows]
steps:
- name: Create Checkout Directory
run: |
cd ../../ ; ./make_pplnn_dir.ps1 ${{ github.run_id }}
- name: Checkout
uses: actions/checkout@v2
with:
path: ${{ github.run_id }}
- name: Build
run: |
cd ../../ ; ./build_pplnn.ps1 ${{ github.run_id }} cuda
- name: clean
if: ${{ always() }}
run: |
cd ../../ ; ./clean_pplnn.ps1 ${{ github.run_id }} cuda