Skip to content

yduf/Manim-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fully working Manim setup ⮺

Note that ManimCE is CPU based, and that's what is configured here, Binding with system GPU is provided but not usefull here

.
├── pyproject.toml
└── shell.nix

Setup

As a prerequesite, you need to have

  • nix package manager installed.
# This is the regular call to have a working environment
# use nix-shell rather than flake.nix to avoid full copy of the folder
nix-shell
uv sync

# This can take some times as it will download pytorch > 1GB of package

# then (optionally) check (and generate a sample video)
uv run manim checkhealth

# and you are done

Notes this is specific to my own homelab setup and can be safely removed

# enable nvidia GPU on homelab
export __NV_PRIME_RENDER_OFFLOAD=1 
export __GLX_VENDOR_LIBRARY_NAME=nvidia

# this is specific to my setup (nfs shared)
# reposition uv cache on /home/yves/DEV/.uv_cache
# so uv can hardlink (on first uv call)
export UV_CACHE_DIR=/home/yves/DEV/.uv_cache

About

Nix + uv setup for installing Manim (3blue1brown)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages