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

[FIX] fp8 gc compile error #110

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

maktukmak
Copy link
Contributor

FP8 static quantized models with AutoFP8 give graph compiler errors during inference with vLLM. The error message was 'Invalid graph—a cycle was found in the graph. ' This PR fixes the issue.

@@ -413,6 +413,7 @@ def scaled_fp8_quant(
Tuple[torch.Tensor, torch.Tensor]: The output tensor in FP8 and
scaling factor.
"""
htorch.core.mark_step()
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we know where this cycle comes from? Adding mark step might just hide the issue, lets talk offline

@maktukmak maktukmak marked this pull request as draft March 24, 2025 20:54
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.

2 participants