Skip to content

Commit

Permalink
[doc] mock triton import (#593)
Browse files Browse the repository at this point in the history
Documentation build was failed, this PR mocks triton import to fix it.
  • Loading branch information
yzh119 authored Nov 8, 2024
1 parent 9430a8a commit ce44799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

sys.path.insert(0, os.path.abspath("../python"))
os.environ["BUILD_DOC"] = "1"
autodoc_mock_imports = ["torch"]
autodoc_mock_imports = ["torch", "triton"]

project = "FlashInfer"
author = "FlashInfer Contributors"
Expand Down

0 comments on commit ce44799

Please # to comment.