effort

effort

An implementation of bucketMul LLM inference

Stars: 210

Visit
 screenshot

Effort is an example implementation of the bucketMul algorithm, which allows for real-time adjustment of the number of calculations performed during inference of an LLM model. At 50% effort, it performs as fast as regular matrix multiplications on Apple Silicon chips; at 25% effort, it is twice as fast while still retaining most of the quality. Additionally, users have the option to skip loading the least important weights.

README:

An example implementation of the bucketMul algorithm - you can read about it here.

With it you can smoothly adjust—in real time—the number of calculations performed during the inference of an LLM model.

At 50% effort, it performs as fast as regular matrix multiplications on Apple Silicon chips; at 25% effort, it is twice as fast while still retaining most of the quality.

You also have the option to skip loading the least important weights.

Getting Started

Binaries

You can quickly get started by downloading the precompiled binaries available at: Effort Engine v0.0.1

To bypass macOS Gatekeeper, hold option while clicking to open the downloaded application for the first time.

Initial Setup

On the first run, you will be prompted to download the converted weights necessary for operation. Subsequently, a matrix multiplication benchmark will execute to demonstrate the capabilities of the engine.

Source Code

The sources are in Swift & Metal.

Download and open effort.xcodeproj. It should work straight away.

Additional Resources

Updates

Ton of things to fix, looking for collabolators! :)

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for effort

Similar Open Source Tools

For similar tasks

For similar jobs