mirror of
https://github.com/deepspeedai/DeepSpeed.git
synced 2025-10-29 05:54:28 +08:00
Improve pre-commit hooks (#1602)
Co-authored-by: Jeff Rasley <jerasley@microsoft.com>
This commit is contained in:
@ -72,6 +72,7 @@ html_context = {
|
||||
|
||||
# Mock imports so we don't have to install torch to build the docs.
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
sys.path.insert(0, os.path.abspath('../../../'))
|
||||
|
||||
# Prepend module names to class descriptions?
|
||||
|
||||
Reference in New Issue
Block a user