Skip to content

Return grid_thw output#1014

Merged
apsonawane merged 1 commit intomainfrom
asonawane/fara
Dec 5, 2025
Merged

Return grid_thw output#1014
apsonawane merged 1 commit intomainfrom
asonawane/fara

Conversation

@apsonawane
Copy link
Contributor

Qwen pre-processor was missing image_grid_thw output, added that

@apsonawane apsonawane requested a review from a team as a code owner December 5, 2025 01:54
@apsonawane apsonawane enabled auto-merge (squash) December 5, 2025 01:54
int64_t grid_w = W / patch_size_;

// Populate grid_thw output tensor
grid_thw_output.Allocate({1, 3});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sayanshaw24 Once you are back, lets discuss this allocation in C++ code, I see stuff like this over extensions, I don't really like this and then leaving the owner hanging to fix these, stuff like this causes memory corruption.

@apsonawane apsonawane merged commit 9f1f67d into main Dec 5, 2025
37 checks passed
@apsonawane apsonawane deleted the asonawane/fara branch December 5, 2025 03:28
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.

3 participants