Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ziqinyeow committed May 19, 2024
1 parent e66f50b commit 42b51c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,15 @@ jobs:
mv src/juxtapose examples/fastapi-pyinstaller
pyinstaller -c -F --clean --hidden-import=cv2 --hidden-import=supervision --hidden-import=addict --hidden-import=chex --hidden-import=lap --hidden-import=optax --hidden-import=einshape --hidden-import=haiku --hidden-import=mediapy --name sidecar-x86_64-pc-windows-msvc-cpu --specpath dist --distpath dist examples/fastapi-pyinstaller/server.py
- name: Build Windows GPU exe
- name: Download ONNX dll
if: ${{ matrix.platform == 'windows-latest' }}
run: |
Invoke-WebRequest https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-win-x64-gpu-1.17.1.zip -OutFile onnxruntime-win-x64-gpu-1.17.1.zip
Expand-Archive -Force ./onnxruntime-win-x64-gpu-1.17.1.zip ./
- name: Build Windows GPU exe
if: ${{ matrix.platform == 'windows-latest' }}
run: |
pyinstaller -c -F --clean \
--add-binary="../onnxruntime-win-x64-gpu-1.17.1/lib/onnxruntime_providers_cuda.dll;./onnxruntime/capi/" \
--add-binary="../onnxruntime-win-x64-gpu-1.17.1/lib/onnxruntime_providers_tensorrt.dll;./onnxruntime/capi/" \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "juxtapose"
version = "0.0.33"
version = "0.0.34"
description = ""
authors = ["Zi Qin <ziqinyeow@gmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/juxtapose/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.0.33"
__version__ = "0.0.34"

from .rtm import RTM
from .detectors import RTMDet, YOLOv8
Expand Down

0 comments on commit 42b51c2

Please sign in to comment.