Source code for the talk Llm Inference Arithmetics: The Theory Behind Model Serving at PyCon DE 2025.
- 📽️ Live
Make sure you have installed the following:
git
.bun
(but you can use any other JavaScript runtime).just
, a command runner.- The
justfile
contains a bunch of utilities to ease development. Though optional, it's highly recommended.
- The
gh
, the GitHub CLI.- This is optional too, but recommended.
- Clone the repo
# with github CLI
gh repo clone baggiponte/llm-inference-arithmetics
# with git
git clone [email protected]:baggiponte/llm-inference-arithmetics
Note
🎬 How to configure SSH
Cloning over SSH is safer. Follow this guide. Alternatively, you can follow the steps in this workshop of GitHub's.
- Install the dependencies
# with the command runner
just install
- Open the slideshow locally
# with the command runner
just preview
- Visit http://localhost:3030
- Install all of the the dependencies above and
commitizen
.commitizen
is a release management tool. It's used to release new versions.
- Fork the repo:
gh repo fork baggiponte/llm-inference-arithmetics
- Create your own branch.
git checkout -b your-branch-name
-
Commit following the conventional commits specification.
-
Before pushing your changes, run the following command to check if the version bump is possible.
just test-release
This will format the slides, try to build them and test whether a version bump is possibile.
slidev
is an amazing framework to build slides from markdown and host them.just
is just a command runner.commitizen
is a release management tool.