Skip to content

[NVIDIA] Enable use_cuda_graph as default option for plugin (#689) #156

[NVIDIA] Enable use_cuda_graph as default option for plugin (#689)

[NVIDIA] Enable use_cuda_graph as default option for plugin (#689) #156

Workflow file for this run

name: Token Merging - Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
Precommit:
strategy:
fail-fast: false
matrix:
python-version: [3.8]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Create and start a virtual environment
run: |
python -m venv venv
source venv/bin/activate
- name: Install dependencies
run: |
source venv/bin/activate
python -m pip install --upgrade pip
pip install modules/token_merging/[tests]
- name: Run test
run: |
source venv/bin/activate
python -m pytest modules/token_merging/tests/