-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
f19e308
commit 06a922f
Showing
3 changed files
with
48 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters