Skip to content

Instantly share code, notes, and snippets.

@davidmezzetti
Created January 9, 2026 13:24
Show Gist options
  • Select an option

  • Save davidmezzetti/81e90920afb656537081d51ef2eab16f to your computer and use it in GitHub Desktop.

Select an option

Save davidmezzetti/81e90920afb656537081d51ef2eab16f to your computer and use it in GitHub Desktop.
# Install TxtAI with Torch CPU
pip install txtai torch==2.9.1+cpu -f https://download.pytorch.org/whl/torch
# Disk usage is much less
# Torch CPU = 1.1G
# Torch CUDA = 6.9G
# Number of installed packages is also less
# Torch CPU = 27
# Torch CUDA = 43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment