Skip to content

Commit

Permalink
Merge pull request #167 from harvard-edge/check_main
Browse files Browse the repository at this point in the history
fix hardcoded path
  • Loading branch information
profvjreddi authored Mar 11, 2024
2 parents 3c25251 + ea07503 commit 06ddf06
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 33 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/build_pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check for build
name: Check for build (Ubuntu)

on:
pull_request:
Expand All @@ -12,6 +12,8 @@ jobs:
- uses: actions/checkout@v3
- name: Setup Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Install TinyTeX
run: quarto install tinytex
- name: Build on Ubuntu
run: quarto render
- name: Upload artifact from Ubuntu
Expand All @@ -21,18 +23,3 @@ jobs:
name: _book-ubuntu
path: _book

build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Build on Windows
run: quarto render
- name: Upload artifact from Windows
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v3
with:
name: _book-windows
path: _book

24 changes: 24 additions & 0 deletions .github/workflows/build_pages_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Check for build (Windows)

on:
pull_request:
branches:
- main

jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Install TinyTeX
run: quarto install tinytex
- name: Build on Windows
run: quarto render
- name: Upload artifact from Windows
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v3
with:
name: _book-windows
path: _book
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ contents/*.html
*.icloud

/.luarc.json

Machine-Learning-Systems.tex
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<p align="center">
<a href="https://github.com/harvard-edge/cs249r_book"><img src="https://img.shields.io/github/all-contributors/harvard-edge/cs249r_book?color=ee8449" alt="Contributors Badge"/></a>
<a href="https://github.com/harvard-edge/cs249r_book"><img src="https://github.com/harvard-edge/cs249r_book/actions/workflows/build_pages.yml/badge.svg" alt="Build Status Badge"/></a>
<a href="https://github.com/harvard-edge/cs249r_book"><img src="https://github.com/harvard-edge/cs249r_book/actions/workflows/build_pages_windows.yml/badge.svg" alt="Build Status Badge"/></a>
<a href="https://github.com/harvard-edge/cs249r_book"><img src="https://github.com/harvard-edge/cs249r_book/actions/workflows/markdown_linter.yml/badge.svg" alt="Markdown Linter Status Badge"/></a>
</p>

Expand Down
12 changes: 6 additions & 6 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ crossref:
appendix-delim: ":"

filters:
- /Users/VJ/Documents/GitHub/cs249r_book/custom_callout.lua
- custom_callout.lua

format:
html:
Expand Down Expand Up @@ -263,7 +263,7 @@ format:
\patchcmd{\chapter}{\thispagestyle{plain}}{\thispagestyle{fancy}}{}{}
\newfontfamily\tocfont{Palatino}
%\newfontfamily\tocfont{Times New Roman}
\let\endtitlepage\relax
Expand All @@ -281,7 +281,7 @@ format:
\end{titlepage}
\addtocontents{toc}{\tocfont}
%\addtocontents{toc}{\tocfont}
}
\let\endtitlepage\relax
Expand Down Expand Up @@ -313,9 +313,9 @@ format:
\clearpage
}
include-before-body:
text: |
\setmainfont{Palatino}
# include-before-body:
# text: |
# \setmainfont{Times New Roman}

editor:
render-on-save: true
12 changes: 1 addition & 11 deletions contents/hw_acceleration/hw_acceleration.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -577,17 +577,7 @@ At this time it should be obvious that specialized hardware accelerators like GP
* Infrastructure to manage deployment on accelerators.


This expansive software ecosystem is as important as the hardware itself in delivering performant and efficient AI applications. This section provides an overview of the tools available at each layer of the stack shown in @fig-ai-stack to enable developers to build and run AI systems powered by hardware acceleration.

```{mermaid}
%%| label: fig-ai-stack
%%| fig-cap: AI software stack spanning development, optimization, simulation, and deployment.
%%| fig-align: center
%%| fig-alt: AI software stack spanning development, optimization, simulation, and deployment.
flowchart TD
A(Model Development) --> B(Model Optimization)
B --> C(Deployment onto Simulator) & D(Deployment onto Hardware)
```
This expansive software ecosystem is as important as the hardware itself in delivering performant and efficient AI applications. This section provides an overview of the tools available at each layer of the stack to enable developers to build and run AI systems powered by hardware acceleration.

### Programming Models {#sec-programming-models}

Expand Down

0 comments on commit 06ddf06

Please sign in to comment.