-
Notifications
You must be signed in to change notification settings - Fork 26
/
mkdocs.yml
138 lines (128 loc) · 3.56 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# Project information
site_name: Zeus Project
site_url: https://ml.energy/zeus
site_author: Zeus team
site_description: Deep learning energy measurement and optimization
edit_uri: ""
# Repository
repo_name: ml-energy/zeus
repo_url: https://github.com/ml-energy/zeus
# Copyright
copyright: Copyright © 2024 Zeus team
# Theme configuration
theme:
name: material
custom_dir: docs/overrides
logo: assets/img/logo.svg
favicon: assets/img/favicon.svg
icon:
repo: fontawesome/brands/github
features:
- content.code.copy
- search.suggest
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- content.tooltips
- announce.dismiss
palette:
- scheme: slate
primary: zeus
accent: zeus
# MkDocs plugins
plugins:
- search
- autorefs
- social:
enabled: !ENV [BUILD_SOCIAL_CARD, false]
cards_dir: assets/img/social
cards_layout_options:
background_color: "#f7e96d"
color: "#231f20"
- gen-files:
scripts:
- docs/gen_ref_pages.py
- literate-nav:
nav_file: SUMMARY.md
- section-index
- mkdocstrings:
handlers:
python:
import:
- https://pytorch.org/docs/stable/objects.inv
- https://huggingface.co/docs/transformers/master/en/objects.inv
- https://huggingface.co/docs/trl/main/en/objects.inv
options:
show_root_heading: true
members_order: "source"
filters: ["!Test"]
separate_signature: true
docstring_options:
ignore_init_summary: true
- redirects:
redirect_maps:
'perseus/index.md': 'research_overview/perseus.md'
# Extensions
markdown_extensions:
- meta
- abbr
- admonition
- attr_list
- footnotes
- md_in_html
- pymdownx.superfences
- pymdownx.snippets
- pymdownx.details
- pymdownx.critic
- pymdownx.arithmatex:
generic: true
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
# Appearance
extra_css:
- assets/css/custom.css
- assets/css/color.css
# For Mathjax
extra_javascript:
- assets/js/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# Page tree
nav:
- Zeus: index.md
- Getting Started: getting_started/index.md
- Measuring Energy: measure/index.md
- Optimizing Energy:
- optimize/index.md
- Power Limit Optimizer: optimize/power_limit_optimizer.md
- Batch Size Optimizer: optimize/batch_size_optimizer.md
- Pipeline Frequency Optimizer: optimize/pipeline_frequency_optimizer.md
- Research Overview:
- research_overview/index.md
- Zeus: research_overview/zeus.md
- Perseus: research_overview/perseus.md
- Source Code Reference: reference/
# File to ignore
exclude_docs: |
gen_ref_pages.py
# Extra stuff
extra:
analytics:
provider: !ENV SITE_ANALYTICS
property: G-T3W21TQ7FJ
social:
- name: Zeus GitHub repository
icon: fontawesome/brands/github
link: https://github.com/ml-energy/zeus
- name: Zeus Docker Hub registry
icon: fontawesome/brands/docker
link: https://hub.docker.com/r/mlenergy/zeus
- name: Zeus Slack workspace
icon: fontawesome/brands/slack
link: https://join.slack.com/t/zeus-ml/shared_invite/zt-2j5o12jqp-3LtNjgF_uBDTdNcaxWgpdw