Commit 8e17542
authored
[Fix] Fix the failure to build the website. (#415)
This PR fixes the problem some pages of the website are totally blank.
This is caused by `torch` is in `autodoc_mock_imports`, and
`safetensors` needs to check `torch.version` in its file. This PR fixes
the problem by Add `safetensors` and `transformers` into
`autodoc_mock_imports`.
---------
Signed-off-by: Yuchuan <[email protected]>1 parent dbc7f19 commit 8e17542
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments