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

First warmup with the same input/output as benchmark #188

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

IlyasMoutawwakil
Copy link
Member

@IlyasMoutawwakil IlyasMoutawwakil commented Apr 30, 2024

fixes an issue with torch.compile capturing a small static kv-cache tensor during warmup, that's used afterwards with longer token generation queries, resulting in device-side errors (index errors).
also adds torch_compile_target which can be either model or forward.

@ydshieh

@IlyasMoutawwakil IlyasMoutawwakil merged commit 995bf7b into main Apr 30, 2024
20 checks passed
@IlyasMoutawwakil IlyasMoutawwakil deleted the fix-compile branch May 17, 2024 11:17
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