Skip to content

hshatti/Invision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Invision

A Lightweight FLUX2 or ZImage Inference engine – Written in Pure Pascal for (FPC, Lazarus or Delphi)

TL;DR

A lightweight, pure‑Pascal inference engine for text‑to‑image and image‑to‑image generation (FLUX2 / ZImage). Nativly parses .SafeTensor and .JSON files. Runs out‑of‑the‑box with no external dependencies. If OpenBLAS is present on Windows/Linux it will automatically bind to it and gain ~20× speed‑up. On macOS the native Accelerate framework is used.

Table of Contents

Why Pure Pascal?

  • Zero Runtime – The binary can be shipped to any machine without requiring a Pascal compiler or DLLs.
  • Safety & Readability – Pascal’s strong typing and modularity reduce bugs in tensor manipulation.
  • Cross‑Platform – Works on Windows, Linux, macOS with minimal changes.

Supported Models

Currently only the following weights are shipped:

Model Model Format Size
FLUX2‑Klein-4B SafeTensor ~14 GB
ZImage‑Turbo-9B SafeTensor ~40 GB

This is an initial README, More descriptions installation guides to come

About

Run FLUX2 (klein, dev, base) or ZImage models nativly in your Delphi , FPC or Lazarus project, written in pure pascal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors