Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ build:
sphinx:
configuration: docs/conf.py

formats:
- pdf
- epub
formats: []

python:
install:
Expand Down
19 changes: 19 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,25 @@
'sagemaker.serve.model_server.torchserve.inference',
'sagemaker.serve.model_server.torchserve.xgboost_inference',
'sagemaker.serve.model_server.triton.model',
# Heavy runtime dependencies — mock to avoid slow/failing imports during doc build
'boto3',
'botocore',
'torch',
'tensorflow',
'sklearn',
'numpy',
'pandas',
'scipy',
'xgboost',
'lightgbm',
'mlflow',
'pyspark',
'transformers',
'datasets',
'trl',
]

suppress_warnings = ['autodoc.import_error']

# Speed up builds: only regenerate autosummary stubs if they don't exist
autosummary_generate_overwrite = False
Loading