Run prompts against LLMs hosted by https://lambdalabs.com/
Project description
llm-lambda-labs
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_lambda_labs-0.2.tar.gz.
File metadata
- Download URL: llm_lambda_labs-0.2.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e677c180b9a24001123c8dd4ae6bb597c97d49bc78ece650f0c0838ee714265
|
|
| MD5 |
47a7382b72554ddb88aa39cd0f89acd8
|
|
| BLAKE2b-256 |
6c7de7c2a496cd42edffc07c40970d1b0aa22641abdd40c22072861ee7d2da78
|
Provenance
The following attestation bundles were made for llm_lambda_labs-0.2.tar.gz:
Publisher:
publish.yml on simonw/llm-lambda-labs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_lambda_labs-0.2.tar.gz -
Subject digest:
2e677c180b9a24001123c8dd4ae6bb597c97d49bc78ece650f0c0838ee714265 - Sigstore transparency entry: 183727871
- Sigstore integration time:
-
Permalink:
simonw/llm-lambda-labs@ff29138aa8a96bac87fc6fe2dc766089aeb89e60 -
Branch / Tag:
refs/tags/0.2 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ff29138aa8a96bac87fc6fe2dc766089aeb89e60 -
Trigger Event:
release
-
Statement type:
File details
Details for the file llm_lambda_labs-0.2-py3-none-any.whl.
File metadata
- Download URL: llm_lambda_labs-0.2-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d3f15d75c1e3b3e98de60cfe38a9e971888e438614a7582b9e6f9a25ac47539
|
|
| MD5 |
ab749a3f428cd35e5c8ce352dd85c27c
|
|
| BLAKE2b-256 |
bf2f986335420459b048dbb2fe46e30c56a74c1b9427c93147b212bf57559d69
|
Provenance
The following attestation bundles were made for llm_lambda_labs-0.2-py3-none-any.whl:
Publisher:
publish.yml on simonw/llm-lambda-labs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_lambda_labs-0.2-py3-none-any.whl -
Subject digest:
3d3f15d75c1e3b3e98de60cfe38a9e971888e438614a7582b9e6f9a25ac47539 - Sigstore transparency entry: 183727874
- Sigstore integration time:
-
Permalink:
simonw/llm-lambda-labs@ff29138aa8a96bac87fc6fe2dc766089aeb89e60 -
Branch / Tag:
refs/tags/0.2 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ff29138aa8a96bac87fc6fe2dc766089aeb89e60 -
Trigger Event:
release
-
Statement type: