Skip to content

Support num_outputs attribute in Split operator #658

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

robertknight
Copy link
Owner

@robertknight robertknight commented Apr 9, 2025

This was encountered when testing a ViT model exported via:

python tools/export-timm-model.py --dynamo timm/vit_base_patch16_224.augreg2_in21k_ft_in1k

The spec does not say how to handle the case where num_outputs is zero or exceeds the dimension size. For those cases I have opted to return an error.

@robertknight robertknight merged commit 40cf34c into main Apr 9, 2025
2 checks passed
@robertknight robertknight deleted the split-num-outputs branch April 9, 2025 19:14
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.

1 participant