summaryrefslogtreecommitdiff
path: root/ep_run
diff options
context:
space:
mode:
authorYuren Hao <yurenh2@illinois.edu>2026-07-15 10:32:26 -0500
committerYuren Hao <yurenh2@illinois.edu>2026-07-15 10:32:26 -0500
commita6d88a18a4bfd46ab0dd487730b72dcbc3b8b5b8 (patch)
treead6a724c445958c8e5ddca1906fdd9bc63a764a2 /ep_run
parent82da86dbd49a093a24e0827331667e8e9e6217df (diff)
assets/: organize into decks|figs|hw|refs|misc; scripts + gitignore repointed
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014FAPDWQ49M5Ye3NpTndTpn
Diffstat (limited to 'ep_run')
-rw-r--r--ep_run/build_alexi_deck.py6
-rw-r--r--ep_run/fig_primer_arch.py6
-rw-r--r--ep_run/fig_primer_block.py6
-rw-r--r--ep_run/fig_primer_pack2.py2
-rw-r--r--ep_run/fig_primer_phases.py6
5 files changed, 13 insertions, 13 deletions
diff --git a/ep_run/build_alexi_deck.py b/ep_run/build_alexi_deck.py
index 461b8fb..d206e8d 100644
--- a/ep_run/build_alexi_deck.py
+++ b/ep_run/build_alexi_deck.py
@@ -8,7 +8,7 @@ from pptx.enum.text import PP_ALIGN
INK = RGBColor(0x3a, 0x3a, 0x3a); GRAY = RGBColor(0x8a, 0x8a, 0x8a)
BLUE = RGBColor(0x2c, 0x6f, 0xbb); ORAN = RGBColor(0xd9, 0x5f, 0x02)
RED = RGBColor(0xb0, 0x3a, 0x2e); GREEN = RGBColor(0x2e, 0x7d, 0x32)
-A = '/home/yurenh2/ept/assets/'
+A = '/home/yurenh2/ept/assets/figs/'
prs = Presentation()
prs.slide_width = Inches(13.333); prs.slide_height = Inches(7.5)
@@ -155,5 +155,5 @@ tf = tbox(s, 0.55, 5.9, 12.4, 1.3)
para(tf, 'Prices (sourced, July 2026): market H100 $1.87–2.99/GPU·h; AWS p5e $4.97/GPU·h. All estimates include bf16 (1.56×) and EP ≈ 3.2× BP wall-clock; tail-only centered adds ~1.13×.', 12, GRAY, first=True, bullet=False)
para(tf, 'Alternative one-shot: 3B-Chinchilla ≈ $40k fits the envelope alone — but the ladder buys three publishable points and de-risks the flagship.', 12, GRAY, bullet=False)
-prs.save(A + 'alexi_primer_deck.pptx')
-print('deck saved:', A + 'alexi_primer_deck.pptx')
+prs.save('/home/yurenh2/ept/assets/decks/alexi_primer_deck.pptx')
+print('deck saved: /home/yurenh2/ept/assets/decks/alexi_primer_deck.pptx')
diff --git a/ep_run/fig_primer_arch.py b/ep_run/fig_primer_arch.py
index 1090f45..3b3d7f4 100644
--- a/ep_run/fig_primer_arch.py
+++ b/ep_run/fig_primer_arch.py
@@ -129,7 +129,7 @@ txt(4.5, 7.5, '· EP (here): TWO phases and an infinitesimal nudge; the update i
txt(4.5, 5.2, ' settle stays fully self-consistent — which is what physical hardware actually does.', 8.2, ha='left')
txt(4.5, 3.0, '· The free phase is the zero-reference of the measurement: on analog hardware the subtraction cancels state-independent device offsets.', 8.2, ha='left')
-fig.savefig('/home/yurenh2/ept/assets/fig_primer_arch.pdf')
-fig.savefig('/home/yurenh2/ept/assets/fig_primer_arch.png', dpi=190)
-fig.savefig('/home/yurenh2/ept/assets/fig_primer_arch.svg')
+fig.savefig('/home/yurenh2/ept/assets/figs/fig_primer_arch.pdf')
+fig.savefig('/home/yurenh2/ept/assets/figs/fig_primer_arch.png', dpi=190)
+fig.savefig('/home/yurenh2/ept/assets/figs/fig_primer_arch.svg')
print('saved fig_primer_arch.{pdf,png,svg}')
diff --git a/ep_run/fig_primer_block.py b/ep_run/fig_primer_block.py
index ba3b5d0..74437e1 100644
--- a/ep_run/fig_primer_block.py
+++ b/ep_run/fig_primer_block.py
@@ -142,7 +142,7 @@ txt(5, 14.6, 'No biases anywhere in the network. The $1/\\sqrt{h_d}$ scale is f
txt(5, 11.9, r'$h_{ff} = 1408 \approx 8C/3$, rounded up to a multiple of 64. QK-norm acts on the full width $C$, before the head split.', 8.2, ha='left')
txt(5, 9.2, r'The boxed pipeline, input $z$ to output $z^{\prime\prime}$, is exactly $f_l$ on the companion page; the state $z_l$ lives on the residual rail.', 8.2, ha='left')
-fig.savefig('/home/yurenh2/ept/assets/fig_primer_block.pdf')
-fig.savefig('/home/yurenh2/ept/assets/fig_primer_block.png', dpi=185)
-fig.savefig('/home/yurenh2/ept/assets/fig_primer_block.svg')
+fig.savefig('/home/yurenh2/ept/assets/figs/fig_primer_block.pdf')
+fig.savefig('/home/yurenh2/ept/assets/figs/fig_primer_block.png', dpi=185)
+fig.savefig('/home/yurenh2/ept/assets/figs/fig_primer_block.svg')
print('saved fig_primer_block.{pdf,png,svg}')
diff --git a/ep_run/fig_primer_pack2.py b/ep_run/fig_primer_pack2.py
index ff28476..d23f9ca 100644
--- a/ep_run/fig_primer_pack2.py
+++ b/ep_run/fig_primer_pack2.py
@@ -14,7 +14,7 @@ ORAN, ORANF = '#d95f02', '#fdeee2'
RED = '#b03a2e'
CREAM, CREME = '#faf6ee', '#c9b895'
GREEN = '#2e7d32'
-A = '/home/yurenh2/ept/assets/'
+A = '/home/yurenh2/ept/assets/figs/'
def newfig(w, h, xmax=100, ymax=62):
fig = plt.figure(figsize=(w, h))
diff --git a/ep_run/fig_primer_phases.py b/ep_run/fig_primer_phases.py
index b04ed5f..91c873a 100644
--- a/ep_run/fig_primer_phases.py
+++ b/ep_run/fig_primer_phases.py
@@ -93,7 +93,7 @@ txt(50, 23.4, r'per layer: $\Delta\theta_l\ \propto\ \langle\ d_l\ ,\ \partial
txt(50, 20.4, r'Each layer updates from its own boundary mismatch — no global backward graph, no global tape, no loss'
r' derivatives except the top nudge.', 8.6)
-fig.savefig('/home/yurenh2/ept/assets/fig_primer_phases.pdf')
-fig.savefig('/home/yurenh2/ept/assets/fig_primer_phases.png', dpi=185)
-fig.savefig('/home/yurenh2/ept/assets/fig_primer_phases.svg')
+fig.savefig('/home/yurenh2/ept/assets/figs/fig_primer_phases.pdf')
+fig.savefig('/home/yurenh2/ept/assets/figs/fig_primer_phases.png', dpi=185)
+fig.savefig('/home/yurenh2/ept/assets/figs/fig_primer_phases.svg')
print('saved fig_primer_phases.{pdf,png,svg}')