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

further optimize vision encoder implementation #189

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

vikhyat
Copy link
Owner

@vikhyat vikhyat commented Jan 3, 2025

Stack from ghstack (oldest at bottom):

  1. pre-allocate memory for crops to avoid unnecessary data copying
  2. break up vision encoder implementation into torch.compile-able parts

[ghstack-poisoned]
@vikhyat vikhyat merged commit d2b0c26 into gh/vikhyat/2/base Jan 3, 2025
1 check passed
vikhyat added a commit that referenced this pull request Jan 3, 2025
1. pre-allocate memory for crops to avoid unnecessary data copying
2. break up vision encoder implementation into torch.compile-able parts

ghstack-source-id: 498e76af651f0d4f885e44a098417a61675223f2
Pull Request resolved: #189
@vikhyat vikhyat deleted the gh/vikhyat/2/head branch January 3, 2025 21:04
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