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.2.1.tar.gz (37.8 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.2.1-py3-none-any.whl (42.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fabrique-0.2.1.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for fabrique-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2a710dc577b8184a220357798facceb693d2fcae3f2983c65bd02bf50c599132
MD5 95984f7598c539224ae48d8d86565af4
BLAKE2b-256 897594784d1903037b6f2f24a6cd022a17ee404fb64aec95964e71de1a3dae27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabrique-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 42.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for fabrique-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19aa3a71c045bd0e8282b2f10b8e53ac7575aafdd03834c12b4536e3ae0a4e0f
MD5 f4f5379448e8751a63722bbb1e908487
BLAKE2b-256 3cc616bf414ba21d16d972689e46c1be5e46f9e72be4621129bbc9041abed93b

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