mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-30 09:38:38 -05:00
- Config: academic, standalone abstracts for PDF/EPUB/copyedit - Chapters: ml_systems, nn_architectures, nn_computation, training
300 lines
9.7 KiB
YAML
300 lines
9.7 KiB
YAML
# =============================================================================
|
|
# VOLUME I HTML WEBSITE CONFIGURATION
|
|
# =============================================================================
|
|
# Builds only Volume I: Foundations
|
|
# Deploys to: mlsysbook.ai/vol1/
|
|
# =============================================================================
|
|
|
|
project:
|
|
type: website
|
|
output-dir: _build/html-vol1
|
|
execute-dir: project
|
|
|
|
post-render:
|
|
- scripts/clean_svgs.py
|
|
- scripts/fix_cross_references.py
|
|
|
|
preview:
|
|
browser: false
|
|
navigate: false
|
|
|
|
website:
|
|
title: "Introduction to Machine Learning Systems"
|
|
description: "Volume I: Introduction to Machine Learning Systems. Build, optimize, and deploy machine learning systems."
|
|
site-url: https://mlsysbook.ai/vol1/
|
|
|
|
open-graph:
|
|
locale: en_US
|
|
site-name: "Machine Learning Systems"
|
|
image: assets/images/covers/cover-hardcover-book.png
|
|
image-width: 1200
|
|
image-height: 630
|
|
twitter-card:
|
|
card-style: summary_large_image
|
|
image: assets/images/covers/cover-hardcover-book.png
|
|
|
|
page-navigation: true
|
|
reader-mode: false
|
|
back-to-top-navigation: true
|
|
bread-crumbs: true
|
|
|
|
search:
|
|
keyboard-shortcut: ["/"]
|
|
|
|
google-analytics:
|
|
tracking-id: "G-M21L0CBCVN"
|
|
anonymize-ip: true
|
|
version: 4
|
|
|
|
comments:
|
|
hypothesis:
|
|
theme: clean
|
|
openSidebar: false
|
|
|
|
navbar:
|
|
background: light
|
|
logo: "assets/images/icons/favicon.png"
|
|
search: true
|
|
pinned: true
|
|
collapse: true
|
|
collapse-below: "lg"
|
|
title: "Introduction to Machine Learning Systems"
|
|
left:
|
|
- text: "Textbook"
|
|
menu:
|
|
- icon: book-half
|
|
text: "Full Textbook"
|
|
href: ../book/
|
|
- text: "---"
|
|
- icon: journal
|
|
text: "Volume I: Introduction"
|
|
href: ./
|
|
- icon: journal
|
|
text: "Volume II: At Scale"
|
|
href: ../vol2/
|
|
- text: "---"
|
|
- icon: fire
|
|
text: "TinyTorch"
|
|
href: ../tinytorch/
|
|
- icon: cpu
|
|
text: "Hardware Kits"
|
|
href: ../kits/
|
|
- text: "---"
|
|
- icon: lightbulb
|
|
text: "Labs (Coming 2026)"
|
|
href: ../labs/
|
|
right:
|
|
- icon: download
|
|
text: "Downloads"
|
|
menu:
|
|
- icon: file-pdf
|
|
text: "Volume I PDF"
|
|
href: assets/downloads/Machine-Learning-Systems-Vol1.pdf
|
|
target: _blank
|
|
- icon: journal-text
|
|
text: "Volume I EPUB"
|
|
href: assets/downloads/Machine-Learning-Systems-Vol1.epub
|
|
target: _blank
|
|
- text: "---"
|
|
- icon: file-pdf
|
|
text: "Volume II PDF"
|
|
href: ../vol2/assets/downloads/Machine-Learning-Systems-Vol2.pdf
|
|
target: _blank
|
|
- icon: star
|
|
text: "Star"
|
|
href: https://github.com/harvard-edge/cs249r_book#support-this-work
|
|
target: _blank
|
|
- icon: heart
|
|
text: "Support"
|
|
href: https://opencollective.com/mlsysbook
|
|
target: _blank
|
|
- icon: envelope
|
|
text: "Subscribe"
|
|
href: "#subscribe"
|
|
id: "navbar-subscribe-btn"
|
|
- icon: github
|
|
text: "GitHub"
|
|
menu:
|
|
- icon: pencil
|
|
text: "Edit this page"
|
|
href: https://github.com/harvard-edge/cs249r_book
|
|
target: _blank
|
|
- icon: bug
|
|
text: "Report an issue"
|
|
href: https://github.com/harvard-edge/cs249r_book/issues/new
|
|
target: _blank
|
|
- icon: chat
|
|
text: "Discussions"
|
|
href: https://github.com/harvard-edge/cs249r_book/discussions
|
|
target: _blank
|
|
- icon: code
|
|
text: "View source"
|
|
href: https://github.com/harvard-edge/cs249r_book
|
|
target: _blank
|
|
|
|
favicon: assets/images/icons/favicon.png
|
|
|
|
sidebar:
|
|
- id: vol1-content
|
|
title: "Volume I"
|
|
style: "floating"
|
|
background: light
|
|
collapse-level: 2
|
|
contents:
|
|
# Frontmatter
|
|
- text: "Homepage"
|
|
href: contents/vol1/index.qmd
|
|
- href: contents/vol1/frontmatter/dedication.qmd
|
|
- href: contents/vol1/frontmatter/foreword.qmd
|
|
- href: contents/vol1/frontmatter/about.qmd
|
|
- href: contents/vol1/frontmatter/acknowledgements.qmd
|
|
- text: "Notation and Conventions"
|
|
href: contents/vol1/frontmatter/notation.qmd
|
|
- href: contents/frontmatter/socratiq/socratiq.qmd
|
|
|
|
- text: "---"
|
|
|
|
# Part I: Foundations
|
|
- section: "Part I: Foundations"
|
|
id: vol1-foundations
|
|
contents:
|
|
- href: contents/vol1/parts/foundations_principles.qmd
|
|
- text: "Introduction"
|
|
href: contents/vol1/introduction/introduction.qmd
|
|
- href: contents/vol1/ml_systems/ml_systems.qmd
|
|
- href: contents/vol1/ml_workflow/ml_workflow.qmd
|
|
- href: contents/vol1/data_engineering/data_engineering.qmd
|
|
|
|
# Part II: Build
|
|
- section: "Part II: Build"
|
|
id: vol1-build
|
|
contents:
|
|
- href: contents/vol1/parts/build_principles.qmd
|
|
- href: contents/vol1/nn_computation/nn_computation.qmd
|
|
- href: contents/vol1/nn_architectures/nn_architectures.qmd
|
|
- href: contents/vol1/frameworks/frameworks.qmd
|
|
- href: contents/vol1/training/training.qmd
|
|
|
|
# Part III: Optimize
|
|
- section: "Part III: Optimize"
|
|
id: vol1-optimize
|
|
contents:
|
|
- href: contents/vol1/parts/optimize_principles.qmd
|
|
- href: contents/vol1/data_selection/data_selection.qmd
|
|
- href: contents/vol1/optimizations/model_compression.qmd
|
|
- href: contents/vol1/hw_acceleration/hw_acceleration.qmd
|
|
- href: contents/vol1/benchmarking/benchmarking.qmd
|
|
|
|
# Part IV: Deploy
|
|
- section: "Part IV: Deploy"
|
|
id: vol1-deploy
|
|
contents:
|
|
- href: contents/vol1/parts/deploy_principles.qmd
|
|
- href: contents/vol1/model_serving/model_serving.qmd
|
|
- href: contents/vol1/ml_ops/ml_ops.qmd
|
|
- href: contents/vol1/responsible_engr/responsible_engr.qmd
|
|
- href: contents/vol1/conclusion/conclusion.qmd
|
|
|
|
- text: "---"
|
|
|
|
# Backmatter
|
|
- section: "Appendices"
|
|
id: vol1-appendices
|
|
contents:
|
|
- text: "The DAM Taxonomy"
|
|
href: contents/vol1/backmatter/appendix_dam.qmd
|
|
- text: "Machine Foundations"
|
|
href: contents/vol1/backmatter/appendix_machine.qmd
|
|
- text: "Algorithm Foundations"
|
|
href: contents/vol1/backmatter/appendix_algorithm.qmd
|
|
- text: "Data Foundations"
|
|
href: contents/vol1/backmatter/appendix_data.qmd
|
|
- text: "Glossary"
|
|
href: contents/vol1/backmatter/glossary/glossary.qmd
|
|
|
|
repo-url: https://github.com/harvard-edge/cs249r_book
|
|
|
|
page-footer:
|
|
left: |
|
|
© 2024-2025 Harvard University. Licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC-BY-NC-SA 4.0</a>
|
|
center: |
|
|
<a href="../vol2/">Continue to Volume II →</a>
|
|
right:
|
|
- icon: github
|
|
href: https://github.com/harvard-edge/cs249r_book
|
|
aria-label: "View source on GitHub"
|
|
- icon: star
|
|
href: https://github.com/harvard-edge/cs249r_book
|
|
aria-label: "Star this repository"
|
|
background: light
|
|
border: true
|
|
|
|
bibliography:
|
|
- contents/vol1/backmatter/references.bib
|
|
|
|
format:
|
|
html:
|
|
lightbox: true
|
|
mermaid:
|
|
theme: default
|
|
theme:
|
|
light:
|
|
- default
|
|
- assets/styles/style-vol1.scss
|
|
dark:
|
|
- default
|
|
- assets/styles/style-vol1.scss
|
|
- assets/styles/dark-mode-vol1.scss
|
|
respect-user-color-scheme: true
|
|
title-prefix: ""
|
|
pagetitle: "Introduction to Machine Learning Systems"
|
|
code-block-bg: true
|
|
code-copy: true
|
|
code-overflow: wrap
|
|
language:
|
|
title-block-author-single: "Author, Editor & Curator"
|
|
title-block-published: "Last Updated"
|
|
reference-location: margin
|
|
citation-location: margin
|
|
sidenote: true
|
|
highlight-style: assets/styles/custom-code.theme
|
|
code-link: true
|
|
link-external-icon: false
|
|
link-external-newwindow: true
|
|
anchor-sections: true
|
|
smooth-scroll: false
|
|
citations-hover: false
|
|
footnotes-hover: false
|
|
fig-width: 7
|
|
fig-height: 5
|
|
toc: true
|
|
toc-depth: 4
|
|
toc-expand: true
|
|
toc-title: "On this page"
|
|
number-sections: false
|
|
number-depth: 3
|
|
include-in-header:
|
|
text: |
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<link rel="apple-touch-icon" href="/assets/images/icons/favicon.png">
|
|
<meta name="theme-color" content="#A51C30">
|
|
<script type="module" src="/tools/scripts/socratiQ/bundle.js" defer></script>
|
|
<script src="/assets/scripts/sidebar-auto-collapse.js" defer></script>
|
|
<script src="/assets/scripts/version-link.js" defer></script>
|
|
<script src="/assets/scripts/subscribe-modal.js" defer></script>
|
|
citeproc: true
|
|
|
|
metadata-files:
|
|
- config/shared/base/crossref-video.yml
|
|
- config/shared/base/custom-numbered-blocks.yml
|
|
- config/shared/base/execute-env.yml
|
|
- config/shared/base/diagram.yml
|
|
- config/shared/html/filters.yml
|
|
- config/shared/html/filter-metadata.yml
|
|
- config/shared/vol1/filter-metadata-paths.yml
|
|
- config/shared/html/announcement.yml
|