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

WIP Draft: DINOv2 supports dynamic shapes in onnx or tensorrt format #1

Draft
wants to merge 3 commits into
base: export-to-onnx-fixes
Choose a base branch
from

Conversation

Wala-Touati
Copy link

@Wala-Touati Wala-Touati commented Feb 7, 2025

  • Currently failing to support dynamic spatial shapes or find anyone who succeeded to achieve that in neither onnx nor tensorrt runtimes.
  • Current error while passing variable shape to onnx with dynamic axes: what does this mean "element_wise_ops.h:560 void onnxruntime::BroadcastIterator::Append(ptrdiff_t, ptrdiff_t) axis == 1 || axis == largest was false. Attempting to broadcast an axis by a dimension other than 1." what's operation its trying to apply that fails with those shapes.

Important References:

@Wala-Touati Wala-Touati marked this pull request as draft February 7, 2025 00:38
@Wala-Touati Wala-Touati requested a review from zeddo123 February 7, 2025 00:38
@Wala-Touati Wala-Touati added enhancement New feature or request help wanted Extra attention is needed invalid This doesn't seem right wontfix This will not be worked on onnx labels Feb 7, 2025
@Wala-Touati Wala-Touati removed the request for review from zeddo123 February 7, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed invalid This doesn't seem right onnx wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants