
mlx-vlm)Due to the size of the combined weights (~48 GB), LFG-1 requires substantial unified memory.
Install mlx-vlm, then clone and install the LFG wrapper code:
pip install mlx-vlm
git clone https://github.com/codemadeio/LFG-1.git
cd LFG-1
pip install -e
LFG-1 is designed as a drop-in model type for mlx-vlm. Once the lfg module is registered, it can be loaded like any other Hugging Face model.
from lfg import register
register()
from mlx_vlm import load, generate
model, processor = load("glenn2/LFG-1")
response = generate(
model, processor,
prompt="<|audio|>",
audio=["recording.wav"],
max_tokens=512,
)
print(response.text)
git clone https://github.com/codemadeio/LFG-1.git
cd LFG-1/examples
pip install flask
brew install ffmpeg
python app.py
# open http://127.0.0.1:5001
19 commits

mlx-vlm)Due to the size of the combined weights (~48 GB), LFG-1 requires substantial unified memory.
Install mlx-vlm, then clone and install the LFG wrapper code:
pip install mlx-vlm
git clone https://github.com/codemadeio/LFG-1.git
cd LFG-1
pip install -e
LFG-1 is designed as a drop-in model type for mlx-vlm. Once the lfg module is registered, it can be loaded like any other Hugging Face model.
from lfg import register
register()
from mlx_vlm import load, generate
model, processor = load("glenn2/LFG-1")
response = generate(
model, processor,
prompt="<|audio|>",
audio=["recording.wav"],
max_tokens=512,
)
print(response.text)
git clone https://github.com/codemadeio/LFG-1.git
cd LFG-1/examples
pip install flask
brew install ffmpeg
python app.py
# open http://127.0.0.1:5001
19 commits