mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-04-28 16:12:32 -05:00
81 lines
1.8 KiB
YAML
81 lines
1.8 KiB
YAML
# TinyTorch: Build ML Systems from Scratch
|
|
# PDF-Specific Configuration
|
|
|
|
title: "TinyTorch: Build ML Systems from Scratch"
|
|
author: "Prof. Vijay Janapa Reddi (Harvard University)"
|
|
copyright: "2025"
|
|
logo: _static/logos/logo-tinytorch-white.png
|
|
|
|
# Book description
|
|
description: >-
|
|
An interactive course for building machine learning systems from the ground up.
|
|
Learn by implementing your own PyTorch-style framework with hands-on coding,
|
|
real datasets, and production-ready practices.
|
|
|
|
# Execution settings - disable for PDF
|
|
execute:
|
|
execute_notebooks: "off"
|
|
allow_errors: false
|
|
timeout: 300
|
|
|
|
# Exclude patterns
|
|
exclude_patterns:
|
|
- _build
|
|
- .venv
|
|
- appendices
|
|
- "**/.venv/**"
|
|
- "**/__pycache__/**"
|
|
- "**/.DS_Store"
|
|
|
|
# GitHub repository (for reference in PDF)
|
|
repository:
|
|
url: https://github.com/mlsysbook/TinyTorch
|
|
path_to_book: docs
|
|
branch: main
|
|
|
|
# LaTeX/PDF output configuration
|
|
latex:
|
|
latex_engine: pdflatex
|
|
use_jupyterbook_latex: true
|
|
latex_documents:
|
|
targetname: tinytorch-course.tex
|
|
|
|
# Bibliography support
|
|
bibtex_bibfiles:
|
|
- references.bib
|
|
|
|
# Sphinx extensions
|
|
sphinx:
|
|
extra_extensions:
|
|
- sphinxcontrib.mermaid
|
|
config:
|
|
mermaid_version: "10.6.1"
|
|
# PDF-specific settings
|
|
latex_toplevel_sectioning: 'chapter'
|
|
latex_theme: 'manual'
|
|
latex_elements:
|
|
papersize: 'letterpaper'
|
|
pointsize: '10pt'
|
|
preamble: |
|
|
\usepackage{fancyhdr}
|
|
\pagestyle{fancy}
|
|
\fancyhead[LE,RO]{\thepage}
|
|
\fancyhead[LO]{\nouppercase{\rightmark}}
|
|
\fancyhead[RE]{\nouppercase{\leftmark}}
|
|
|
|
# Parse configuration
|
|
parse:
|
|
myst_enable_extensions:
|
|
- "colon_fence"
|
|
- "deflist"
|
|
- "html_admonition"
|
|
- "html_image"
|
|
- "linkify"
|
|
- "replacements"
|
|
- "smartquotes"
|
|
- "substitution"
|
|
- "tasklist"
|
|
|
|
# Build only TOC files
|
|
only_build_toc_files: true
|