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 Sphinx #573

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Fix Sphinx #573

merged 1 commit into from
Oct 31, 2024

Conversation

abcdabcd987
Copy link
Member

Here's the reason why docs fail to build after #552: As specified in conf.py, Sphinx mocks torch. The mock makes the following predicate behave badly: TorchVersion(torch_version) < TorchVersion("2.4").

The fix is to explicitly pass in an env var indicating docs building.

Also changing the way that prefill.py imports compiled _kernels so that it's consistent with other files.

@abcdabcd987 abcdabcd987 requested a review from yzh119 October 30, 2024 16:28
@yzh119 yzh119 merged commit 06a922f into flashinfer-ai:main Oct 31, 2024
@yzh119 yzh119 mentioned this pull request Dec 10, 2024
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