Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

llmdbg

llmdbg is an early-stage debugger for stepping through language-model layers and presenting human-readable interpretations of internal vectors. It speaks the Debug Adapter Protocol so editor integrations can use a standard debugger UI.

The current prototype includes real GPT-2 Small loading, layer-state capture, logit-lens interpretations, and a VS Code debug extension. A deterministic built-in trace remains available when no model is configured.

pip install --pre llmdbg
llmdbg --version

VS Code prototype

Build and install the extension:

cd vscode-extension
npm install
npm run package
code --install-extension llmdbg-0.0.1.vsix

Open the repository in VS Code, select llmdbg: Demo model in Run and Debug, and press F5. On first use, the extension creates a private Python environment in VS Code's extension storage. It does not install anything into the workspace. Use Step Over to advance one layer at a time.

For GPT-2 Small, add "model": "openai-community/gpt2" and a prompt to the launch configuration. The first run downloads the model into the normal Hugging Face cache.

License

MIT

Metadata

Release files for llmdbg 0.0.3a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llmdbg 0.0.3a1
File Size Uploaded Provenance
llmdbg-0.0.3a1.tar.gz 28.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llmdbg 0.0.3a1
File Interpreter ABI Platform
llmdbg-0.0.3a1-py3-none-any.whl Python 3 none any Details

Total release size: 39.1 kB

Release files / llmdbg-0.0.3a1.tar.gz

Download URL llmdbg-0.0.3a1.tar.gz
Size 28.9 kB
Tags Source
SHA-256 checksum
How to use checksums
62fede2b6155a880d8fd4f2acf26e751848ba31159aeeedd2a86e13bd24b00e8
BLAKE2b-256 checksum
How to use checksums
0a7075ad670f5de5284141ec147931545cef922b22a06608880e2d6be453bda6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / llmdbg-0.0.3a1-py3-none-any.whl

Download URL llmdbg-0.0.3a1-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bec66e83703b55d517662199e9a477b4a40403cd0f74aa738b160757e7afa044
BLAKE2b-256 checksum
How to use checksums
8716b00d1919fb42a20802076ed9ee43a435f30181a4b81fb4c90d6de7f033c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for llmdbg 0.0.3a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page