Skip to main content

flamingo

Getting started

Minimum Python version

This library is developed with the same Python version as the Ray cluster to avoid dependency/syntax errors when executing code remotely. Currently, installation requires Python between [3.10, 3.11) to match the global cluster environment (Ray cluster is running 3.10.8).

Installation

run

pip install flamingo-ray

This will install an editable version of the package along with all of its dependency groups.

Poetry should recognize your active virtual environment during installation If you have an active Conda environment, Poetry should recognize it during installation and install the package dependencies there. This hasn't been explicitly tested with other virtual python environments, but will likely work.

Alternatively, you can use poetry's own environment by running

poetry lock
poetry env use python3.10
poetry install

where python3.10 is your python interpreter.

See the contributing guide for more information on development workflows and/or building locally.

Usage

flamingo exposes a simple CLI with a few commands, one for each Ray job type. Jobs are expected to take as input a YAML configuration file that contains all necessary parameters/settings for the work. See the examples/configs folder for examples of the configuration structure.

Once installed in your environment, usage is as follows:

# Simple test
flamingo run simple --config simple_config.yaml

# LLM finetuning
flamingo run finetuning --config finetuning_config.yaml

# LLM evaluation
flamingo run lm-harness --config lm_harness_config.yaml

When submitting a job to Ray, the above commands should be used as your job entrypoints.

Metadata

Release files for flamingo-ray 0.1.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 flamingo-ray 0.1.2
File Size Uploaded Provenance
flamingo_ray-0.1.2.tar.gz 17.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for flamingo-ray 0.1.2
File Interpreter ABI Platform
flamingo_ray-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 43.7 kB

Release files / flamingo_ray-0.1.2.tar.gz

Download URL flamingo_ray-0.1.2.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a65fb3940a6402835ed0396d8c122e36d3b7854c6d4234bc7ad770fb38e0a231
BLAKE2b-256 checksum
How to use checksums
c0fadd3298cdcb55a142ad9dd24abff532d1771ab57b4e90754fad4cb4e55c41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.5 Darwin/23.3.0

Release files / flamingo_ray-0.1.2-py3-none-any.whl

Download URL flamingo_ray-0.1.2-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8383d325b152aa80c4cacd7287e887db8e27bf5c641a5a44a16870503abbbe36
BLAKE2b-256 checksum
How to use checksums
7cd377dd67c42f9bb91f069ad2f4be2fdc3ed9aed9ea090b073c23f5ab72943d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.5 Darwin/23.3.0

Security for flamingo-ray 0.1.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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