Skip to content

Commit c8ff40e

Browse files
committed
Initial AI Infra course website
0 parents  commit c8ff40e

16 files changed

Lines changed: 5152 additions & 0 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Deploy course site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Check out repository
23+
uses: actions/checkout@v6
24+
25+
- name: Set up Node.js
26+
uses: actions/setup-node@v6
27+
with:
28+
node-version: 22
29+
cache: npm
30+
31+
- name: Configure GitHub Pages
32+
uses: actions/configure-pages@v5
33+
34+
- name: Install dependencies
35+
run: npm ci
36+
37+
- name: Build VitePress site
38+
run: npm run build
39+
40+
- name: Upload Pages artifact
41+
uses: actions/upload-pages-artifact@v4
42+
with:
43+
path: docs/.vitepress/dist
44+
45+
deploy:
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
runs-on: ubuntu-latest
50+
needs: build
51+
steps:
52+
- name: Deploy to GitHub Pages
53+
id: deployment
54+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
docs/.vitepress/cache
3+
docs/.vitepress/dist
4+
.openai/
5+
.DS_Store
6+
*.log

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# AI Infra Seminars 2026
2+
3+
Weiming HPC Training Camp × LCPU AI Infra Seminars 课程网站。
4+
5+
## 本地开发
6+
7+
```bash
8+
npm install
9+
npm run dev
10+
```
11+
12+
## 构建
13+
14+
```bash
15+
npm run build
16+
npm run preview
17+
```
18+
19+
课程内容位于 `docs/`,日程数据集中维护在
20+
`docs/.vitepress/data/program.ts`

docs/.vitepress/config.mts

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
import { defineConfig } from 'vitepress'
2+
3+
const base = '/ai-infra-website/'
4+
5+
export default defineConfig({
6+
lang: 'zh-CN',
7+
title: 'AI Infra Seminars',
8+
base,
9+
description:
10+
'Weiming HPC Training Camp × LCPU AI Infra Seminars:从 Kernel 到分布式系统、推理与强化学习系统。',
11+
cleanUrls: true,
12+
appearance: true,
13+
lastUpdated: true,
14+
head: [
15+
[
16+
'meta',
17+
{
18+
name: 'theme-color',
19+
content: '#fbfaf9',
20+
media: '(prefers-color-scheme: light)'
21+
}
22+
],
23+
[
24+
'meta',
25+
{
26+
name: 'theme-color',
27+
content: '#111318',
28+
media: '(prefers-color-scheme: dark)'
29+
}
30+
],
31+
['meta', { property: 'og:type', content: 'website' }],
32+
['meta', { property: 'og:title', content: 'AI Infra Seminars 2026' }],
33+
[
34+
'meta',
35+
{
36+
property: 'og:description',
37+
content: '从一行 Kernel,到一套大模型系统。七周、四个 Topic,一起把系统跑起来。'
38+
}
39+
],
40+
['link', { rel: 'icon', href: `${base}favicon.svg`, type: 'image/svg+xml' }]
41+
],
42+
themeConfig: {
43+
logo: '/favicon.svg',
44+
siteTitle: 'AI Infra Seminars',
45+
nav: [
46+
{ text: '课程介绍', link: '/' },
47+
{ text: '课程日程', link: '/schedule' },
48+
{ text: 'Session 01', link: '/sessions/01' },
49+
{
50+
text: '课程资料',
51+
items: [
52+
{ text: 'GPU & GPU Programming', link: '/sessions/01' },
53+
{ text: '完整课程日程', link: '/schedule#full-schedule' }
54+
]
55+
}
56+
],
57+
sidebar: {
58+
'/sessions/': [
59+
{
60+
text: 'Topic 01 · Kernel & Compiler',
61+
collapsed: false,
62+
items: [
63+
{
64+
text: '01 · GPU & GPU Programming',
65+
link: '/sessions/01'
66+
},
67+
{
68+
text: '02 · Memory Abstraction',
69+
link: '/schedule#session-02'
70+
},
71+
{
72+
text: '03 · Tensor Core',
73+
link: '/schedule#session-03'
74+
},
75+
{
76+
text: '04 · Pipeline Ordering',
77+
link: '/schedule#session-04'
78+
},
79+
{
80+
text: '05 · DSL & ML Compiler',
81+
link: '/schedule#session-05'
82+
},
83+
{
84+
text: '06 · Hardware & SoL Kernel',
85+
link: '/schedule#session-06'
86+
}
87+
]
88+
},
89+
{
90+
text: '其他 Topic',
91+
items: [
92+
{ text: '完整课程日程', link: '/schedule' }
93+
]
94+
}
95+
]
96+
},
97+
outline: {
98+
level: [2, 3],
99+
label: '本页目录'
100+
},
101+
search: {
102+
provider: 'local',
103+
options: {
104+
translations: {
105+
button: {
106+
buttonText: '搜索课程',
107+
buttonAriaLabel: '搜索课程'
108+
},
109+
modal: {
110+
noResultsText: '没有找到相关内容',
111+
resetButtonTitle: '清除',
112+
footer: {
113+
selectText: '选择',
114+
navigateText: '切换',
115+
closeText: '关闭'
116+
}
117+
}
118+
}
119+
}
120+
},
121+
lastUpdated: {
122+
text: '最后更新于',
123+
formatOptions: {
124+
dateStyle: 'medium',
125+
timeStyle: 'short'
126+
}
127+
},
128+
docFooter: {
129+
prev: '上一节',
130+
next: '下一节'
131+
},
132+
footer: {
133+
message: '课程资料将持续整理并开源共享',
134+
copyright:
135+
'Weiming HPC Training Camp × LCPU AI Infra Seminars'
136+
}
137+
}
138+
})

0 commit comments

Comments
 (0)