Skip to main content

llm-lambda-labs

PyPI Changelog Tests License

Run prompts against LLMs hosted by https://lambdalabs.com/

Installation

Install this plugin in the same environment as LLM.

llm install llm-lambda-labs

Usage

First, obtain an API key for Lambda Labs and set it like this:

llm keys set lambdalabs
# Paste key here

To see a list of available models, run this:

llm models

Run prompts like this:

llm -m lambdalabs/hermes3-405b 'short poem about a pelican with a twist'

The list of available models is fetched the first time the plugin is run. You can refresh that cached list by running:

llm lambdalabs refresh

To see a list of model information that has been stored in the cache, run this:

llm lambdalabs models

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-lambda-labs
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest

Run this to capture new recordings of HTTP interactions for the tests:

PYTEST_LAMBDALABS_KEY="$(llm keys get lambdalabs)" pytest --record-mode once

Release files for llm-lambda-labs 0.2

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

Source distribution (sdist)

Source distribution for llm-lambda-labs 0.2
File Size Uploaded
llm_lambda_labs-0.2.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-lambda-labs 0.2
File Interpreter ABI Platform
llm_lambda_labs-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / llm_lambda_labs-0.2.tar.gz

Download URL llm_lambda_labs-0.2.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2e677c180b9a24001123c8dd4ae6bb597c97d49bc78ece650f0c0838ee714265
BLAKE2b-256 checksum
How to use checksums
6c7de7c2a496cd42edffc07c40970d1b0aa22641abdd40c22072861ee7d2da78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 17, 2025.

Transparency log

Release files / llm_lambda_labs-0.2-py3-none-any.whl

Download URL llm_lambda_labs-0.2-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d3f15d75c1e3b3e98de60cfe38a9e971888e438614a7582b9e6f9a25ac47539
BLAKE2b-256 checksum
How to use checksums
bf2f986335420459b048dbb2fe46e30c56a74c1b9427c93147b212bf57559d69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 17, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

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