Skip to content

Commit

Permalink
update things
Browse files Browse the repository at this point in the history
  • Loading branch information
NevermindNilas committed May 6, 2024
1 parent e4b6c04 commit 246aeb9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ jobs:
run: |
echo "Version: $VERSION"
- name: Git Clone TensorRT
run: git clone https://github.com/NVIDIA/TensorRT

- name: CD To Polygraphy and Install Latest Polygraphy
run: |
cd TensorRT/tools/Polygraphy
./install.ps1
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down
7 changes: 7 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ def install_requirements():
check=True,
)

def install_polygraphy():
print("Installing Polygraphy...")
cwd = os.getcwd()
os.chdir("TensorRT/Tools/Polygraphy")
subprocess.run(["powershell", "-File", "install.ps1"], check=True)
os.chdir(cwd)


def install_pyinstaller():
print("Installing PyInstaller...")
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spandrel
yt-dlp
requests
tqdm
tensorrt
colorama
einops
scikit-image
Expand Down

0 comments on commit 246aeb9

Please sign in to comment.