-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
170 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
--- | ||
# try also 'default' to start simple | ||
theme: seriph | ||
# random image from a curated Unsplash collection by Anthony | ||
# like them? see https://unsplash.com/collections/94734566/slidev | ||
background: https://cover.sli.dev | ||
# some information about your slides, markdown enabled | ||
title: Welcome to Slidev | ||
info: | | ||
## Slidev Starter Template | ||
Presentation slides for developers. | ||
Learn more at [Sli.dev](https://sli.dev) | ||
# apply any unocss classes to the current slide | ||
class: text-center | ||
# https://sli.dev/custom/highlighters.html | ||
highlighter: shiki | ||
# https://sli.dev/guide/drawing | ||
drawings: | ||
persist: false | ||
# slide transition: https://sli.dev/guide/animations#slide-transitions | ||
transition: slide-left | ||
# enable MDC Syntax: https://sli.dev/guide/syntax#mdc-syntax | ||
mdc: true | ||
fonts: | ||
# basically the text | ||
sans: 'Berkeley Mono,Robot' | ||
# use with `font-serif` css class from UnoCSS | ||
serif: Robot Slab | ||
# for code blocks, inline code, etc. | ||
mono: Fira Code | ||
# like font-family in css, you can use `,` to separate multiple fonts for fallback | ||
local: Berkeley Mono | ||
# mark 'Helvetica Neue' as local font | ||
--- | ||
|
||
# Loving the baseline | ||
|
||
Main demo: https://colab.research.google.com/github/onefact/loving-the-baseline/blob/main/nearest-neighbors.ipynb | ||
|
||
Twitter: @thejaan | ||
Email: [email protected] | ||
|
||
<div class="pt-12"> | ||
<span @click="$slidev.nav.next" class="px-2 py-1 rounded cursor-pointer" hover="bg-white bg-opacity-10"> | ||
Press Space for next page <carbon:arrow-right class="inline"/> | ||
</span> | ||
</div> | ||
|
||
<div class="abs-br m-6 flex gap-2"> | ||
<button @click="$slidev.nav.openInEditor()" title="Open in Editor" class="text-xl slidev-icon-btn opacity-50 !border-none !hover:text-white"> | ||
<carbon:edit /> | ||
</button> | ||
<a href="https://github.com/slidevjs/slidev" target="_blank" alt="GitHub" title="Open in GitHub" | ||
class="text-xl slidev-icon-btn opacity-50 !border-none !hover:text-white"> | ||
<carbon-logo-github /> | ||
</a> | ||
</div> | ||
|
||
<!-- | ||
The last comment block of each slide will be treated as slide notes. It will be visible and editable in Presenter Mode along with the slide. [Read more in the docs](https://sli.dev/guide/syntax.html#notes) | ||
--> | ||
|
||
<!-- make a page break next --> | ||
--- | ||
|
||
|
||
# When to use Lightning? | ||
|
||
Lightning makes things easier and abstracts the details. In research (or in edge cases), you might need to go deeper. For example, `torch.compile`, custom metrics, etc. | ||
|
||
- 📝 **Incentives** - compete with AnyScale, Ray, SkyPilot (multi-cloud, recommended) | ||
- 🚀 **Risk** - Need to be careful relying on venture capital-backed code (ideal customer profile may be different, may need to pivot, short runway and high return expectations from LPs) | ||
- **🔍 Research** - usually need to use algorithms like HyperBand and use fully-sharded data parallel models for best performance. Supported in Ray and SkyPilot, work-in-progress for Lightning. | ||
- **🔥 Time Horizon** - behavior change is hard. Your future self will thank you but need to learn by experience when to use a shortcut / abstraction versus when to use the details. For me, I need to see the details almost always (not assembly/CUDA regularly though!) | ||
|
||
--- | ||
transition: slide-up | ||
level: 2 | ||
--- | ||
# Incentives | ||
|
||
"Writing a training loop is not that hard; why use a library?" | ||
|
||
* Amazon Web Services, Google Cloud Platform, Microsoft Azure - all competing for mindshare | ||
* If you reduce your cognitive load, you give up mindshare in exchange for "efficiency". | ||
* It is up to you to decide when this trade-off is worth it. | ||
* For me, it rarely is: libraries move fast, and I need to understand the details to be able to debug and optimize. | ||
|
||
<br> | ||
<br> | ||
|
||
<!-- | ||
You can have `style` tag in markdown to override the style for the current page. | ||
Learn more: https://sli.dev/guide/syntax#embedded-styles | ||
--> | ||
<!-- | ||
<style> | ||
h1 { | ||
background-color: #2B90B6; | ||
background-image: linear-gradient(45deg, #4EC5D4 10%, #146b8c 20%); | ||
background-size: 100%; | ||
-webkit-background-clip: text; | ||
-moz-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
-moz-text-fill-color: transparent; | ||
} | ||
</style> | ||
<!-- | ||
Here is another comment. | ||
--> | ||
|
||
--- | ||
transition: slide-up | ||
level: 2 | ||
--- | ||
|
||
# Navigation | ||
|
||
Hover on the bottom-left corner to see the navigation's controls panel, [learn more](https://sli.dev/guide/navigation.html) | ||
|
||
## Keyboard Shortcuts | ||
|
||
| | | | ||
| --- | --- | | ||
| <kbd>right</kbd> / <kbd>space</kbd>| next animation or slide | | ||
| <kbd>left</kbd> / <kbd>shift</kbd><kbd>space</kbd> | previous animation or slide | | ||
| <kbd>up</kbd> | previous slide | | ||
| <kbd>down</kbd> | next slide | | ||
|
||
<!-- https://sli.dev/guide/animations.html#click-animations --> | ||
<img | ||
v-click | ||
class="absolute -bottom-9 -left-7 w-80 opacity-50" | ||
src="https://sli.dev/assets/arrow-bottom-left.svg" | ||
alt="" | ||
/> | ||
<p v-after class="absolute bottom-23 left-45 opacity-30 transform -rotate-10">Here!</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,9 +34,35 @@ fonts: | |
# mark 'Helvetica Neue' as local font | ||
--- | ||
|
||
# Loving the baseline | ||
# JUST Health Data Labs | ||
|
||
Main demo: https://colab.research.google.com/github/onefact/loving-the-baseline/blob/main/nearest-neighbors.ipynb | ||
Based on Just v Data Lab bootcamp: https://colab.research.google.com/github/onefact/datathinking.org-codespace/blob/main/notebooks/princeton-university/week-1-visualizing-33-million-phone-calls-in-new-york-city.ipynb | ||
|
||
-> https://motherduck.com/blog/introducing-column-explorer/ | ||
|
||
Footnote: | ||
|
||
Health data: https://digitalpublicgoods.net/AI-CoP-Discussion-Paper.pdf | ||
|
||
https://github.com/DPGAlliance/DPG-Standard/issues/148#issuecomment-1517850203 | ||
|
||
--- | ||
|
||
Capital flows: | ||
https://www.are.na/jaan-li/network-9j9au-o8gtc | ||
|
||
--- | ||
|
||
https://www.aldipricemap.com/ | ||
|
||
--- | ||
|
||
# Data centers | ||
|
||
https://www.datacentermap.com/ | ||
https://www.dutchdatacenters.nl/en/map/ | ||
https://baxtel.com/map | ||
https://map.datacente.rs/ | ||
|
||
Twitter: @thejaan | ||
Email: [email protected] | ||
|
@@ -83,7 +109,7 @@ level: 2 | |
"Writing a training loop is not that hard; why use a library?" | ||
|
||
* Amazon Web Services, Google Cloud Platform, Microsoft Azure - all competing for mindshare | ||
* If you reduce your cognitive load, you give up mindshare in exchange for "efficiency". | ||
* If you reduce your cognitive load, you give up mindshare in exchange for "efficiency". | ||
* It is up to you to decide when this trade-off is worth it. | ||
* For me, it rarely is: libraries move fast, and I need to understand the details to be able to debug and optimize. | ||
|
||
|
@@ -94,7 +120,7 @@ level: 2 | |
You can have `style` tag in markdown to override the style for the current page. | ||
Learn more: https://sli.dev/guide/syntax#embedded-styles | ||
--> | ||
<!-- | ||
<!-- | ||
<style> | ||
h1 { | ||
background-color: #2B90B6; | ||
|
@@ -136,4 +162,4 @@ Hover on the bottom-left corner to see the navigation's controls panel, [learn m | |
src="https://sli.dev/assets/arrow-bottom-left.svg" | ||
alt="" | ||
/> | ||
<p v-after class="absolute bottom-23 left-45 opacity-30 transform -rotate-10">Here!</p> | ||
<p v-after class="absolute bottom-23 left-45 opacity-30 transform -rotate-10">Here!</p> |