Skip to main content

Foundation for modern ML research

Project description

fabrique

fabrique provides foundation components for ML research in LLM/VLM space, including:

  • model implementations
  • fine-tuning routines and examples
  • multi-GPU execution
  • interoperability with broader ecosystem

fabrique is written in JAX/Flax NNX and follows their philosophy.

Installation

You can install the latest released version of fabrique from PYPI:

pip install fabrique

Alternatively, you can mount the development version of fabrique directly to your project and use existing code as reference for your own models:

cd /path/to/your/project

# clone the repository
mkdir lib
git clone https://github.com/ridcl/fabrique lib/fabrique

# or even add it as a submodule
# git submodule add git@github.com:ridlc/fabrique.git lib/fabrique

# set up PYTHONPATH to include fabrique as a package
export PYTHONPATH=${PYTHONPATH}:lib/fabrique/src

Usage

TODO

Model support

As of now, fabrique focuses on Gemma as its primary LLM/VLM implementation. Previously, fabrique also supported Llama 3, Phi 3/4 and Qwen 2.5. You can find these old implementations in legacy/src/fabrique/models.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fabrique-0.3.0.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fabrique-0.3.0-py3-none-any.whl (42.5 kB view details)

Uploaded Python 3

File details

Details for the file fabrique-0.3.0.tar.gz.

File metadata

  • Download URL: fabrique-0.3.0.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fabrique-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9c88c7d79ed72bf501e87e0785fa50e72898efbeb4bb6f082e85918b07eb2855
MD5 60bca788a20499e2d178b3cd4519e313
BLAKE2b-256 d528103d6da8de27dc809879762a7a445a158c860c525ecc03bd8f5cda66a447

See more details on using hashes here.

File details

Details for the file fabrique-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fabrique-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 42.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fabrique-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa092e02f46090c51c34790b9f683fce4bb699f8e4a0833e5be29c0c9fcaa223
MD5 8daed94a6a43d55fcbed9b040cf4acca
BLAKE2b-256 d247f32716391bf4e43a1166ab79bb764005fec62e55ee248b37b5b0317a9591

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page