Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONNX runtime support #397

Merged
merged 13 commits into from
Jun 6, 2022
Merged

ONNX runtime support #397

merged 13 commits into from
Jun 6, 2022

Conversation

joeyballentine
Copy link
Member

@joeyballentine joeyballentine commented Jun 5, 2022

  • Implements ONNX runtime inference
  • Allows converted PyTorch models to be chained into the ONNX load model
  • Re-implements pipInstallWithProgress as this feature was removed and is useful (can be replaced in the future if a different solution is found)
  • Implements the ability for dependencies to have multiple packages associated with them. For ONNX, this includes onnx, onnxruntime-gpu, and protobuf
  • Fixes bug with auto-split-upscale max_depth passing, which would cause split depth caching to break if it was actually implemented (I fixed this in my esrgan fork a while ago)

.github/workflows/test.yml Show resolved Hide resolved
backend/src/nodes/onnx_nodes.py Outdated Show resolved Hide resolved
backend/src/nodes/onnx_nodes.py Outdated Show resolved Hide resolved
src/renderer/contexts/DependencyContext.tsx Outdated Show resolved Hide resolved
src/common/pip.ts Outdated Show resolved Hide resolved
src/common/pip.ts Outdated Show resolved Hide resolved
backend/src/run.py Show resolved Hide resolved
src/main/main.ts Outdated Show resolved Hide resolved
@joeyballentine joeyballentine merged commit 2d658c3 into main Jun 6, 2022
@joeyballentine joeyballentine deleted the onnx-runtime-support branch July 22, 2022 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants