Skip to content

add support for tensorrt 8 #8137

add support for tensorrt 8

add support for tensorrt 8 #8137

Workflow file for this run

name: CI
on: [push, pull_request_target]
jobs:
build:
runs-on: ubuntu-20.04
container:
image: horizonrobotics/alf:py3.11-torch2.2-cpu-onnx
# always run on push events, but only run on pull_request_target events
# when the pull requests are from fork repositories; for pull requests
# within the same repository, the push event is sufficient
if: >
github.event_name == 'push' ||
(github.event_name == 'pull_request_target' &&
github.event.pull_request.head.repo.full_name != github.repository)
steps:
- name: checkout
uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: check code style
run: |
./.ci-cd/build.sh check_style
- name: run unittest
run: |
PYTHONPATH=`pwd` ./.ci-cd/build.sh test