|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import os |
|
import sys |
|
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
project = 'Megatron-LLM' |
|
copyright = '2023, Alejandro Hernández Cano, Matteo Pagliardini, Kyle Matoba, Amirkeivan Mohtashami, Olivia Simin Fan, Axel Marmet, Deniz Bayazit, Igor Krawczuk, Zeming Chen, Francesco Salvi, Antoine Bosselut, Martin Jaggi' |
|
author = 'Alejandro Hernández Cano, Matteo Pagliardini, Kyle Matoba, Amirkeivan Mohtashami, Olivia Simin Fan, Axel Marmet, Deniz Bayazit, Igor Krawczuk, Zeming Chen, Francesco Salvi, Antoine Bosselut, Martin Jaggi' |
|
release = '0.1.0' |
|
|
|
|
|
|
|
|
|
extensions = [ |
|
'sphinx.ext.autodoc', |
|
'sphinx.ext.intersphinx', |
|
'sphinx.ext.autosummary', |
|
'sphinx.ext.napoleon', |
|
'sphinx.ext.mathjax', |
|
'myst_parser' |
|
] |
|
|
|
|
|
autosummary_generate = True |
|
|
|
|
|
napoleon_google_docstring = True |
|
|
|
|
|
myst_enable_extensions = ["colon_fence"] |
|
|
|
|
|
autodoc_mock_imports = ['amp_C', 'torchvision', 'flash_attn', 'apex'] |
|
|
|
templates_path = ['_templates'] |
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
|
|
|
intersphinx_mapping = { |
|
'python': ('https://docs.python.org/3', None) |
|
} |
|
|
|
master_doc = 'index' |
|
|
|
|
|
|
|
|
|
html_theme = 'pydata_sphinx_theme' |
|
|
|
html_static_path = ['_static'] |
|
|