Skip to content

Add local setup tooling for running examples - #25

Open
wikier wants to merge 1 commit into
aburkov:mainfrom
wikier:setup-local-tooling
Open

wikier wants to merge 1 commit into
aburkov:mainfrom
wikier:setup-local-tooling

Conversation

@wikier

@wikier wikier commented May 29, 2026

Copy link
Copy Markdown

Summary

Adds configuration and documentation to run theLMbook examples locally (the notebooks/scripts are designed for Colab; this fills in local-execution support).

  • requirements.txt — core ML/Jupyter dependencies
  • requirements-apps.txt — optional script-specific dependencies
  • Makefile — automated venv setup (uses uv with --seed for pip)
  • .env.example — API credential template (OpenAI, OpenRouter, Spotify)
  • .gitignore — protects secrets and ML artifacts
  • SETUP.md — local execution guide

Test plan

  • Verified on arm64 macOS with Python 3.12
  • make install succeeds; 140+ packages resolved without conflicts
  • Core imports verified; MPS GPU acceleration available
  • embedding_vs_linear.py smoke test passes

🤖 Generated with Claude Code

Add configuration and documentation to run theLMbook examples locally:

- requirements.txt: core ML/Jupyter dependencies
- requirements-apps.txt: optional script-specific dependencies
- Makefile: automated venv setup (uv with --seed for pip)
- .env.example: API credential template (OpenAI, OpenRouter, Spotify)
- .gitignore: protect secrets and ML artifacts
- SETUP.md: local execution guide

Verified on arm64 macOS with Python 3.12; MPS acceleration available.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant