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.1.tar.gz (144.2 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.1-py3-none-any.whl (213.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fabrique-0.3.1.tar.gz
  • Upload date:
  • Size: 144.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"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.1.tar.gz
Algorithm Hash digest
SHA256 bec4b0f8be5b2dc3e5e9c151c98b1c9605d39c0c2cc40be796447414089c16a6
MD5 57879523f2aa40825906ba8a78b20804
BLAKE2b-256 8d212f4a656b950ad36406f7f01f7cabadd7bc00796b442464dfa8e63a2dbb4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabrique-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 213.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d322981e617f649363a5a454c812b0881b619be059fcf8de0df91de976c09519
MD5 02a3bf6ec165fad2fbd48001d1fabe80
BLAKE2b-256 2c91893222d7f783d01b2ebcaa8dd97155048adc7ef9496f875eaa6a7ae4262d

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