Prepare. Open. Run.
Start with Qwen2.5-VL 3B or Gemma 3n E4B. Prepare sets the project paths and downloads the model and sample image. To select CPU explicitly, run Prepare.cmd -Device CPU.
- 01Download a preparation ZIP below, extract it, and run
Prepare.cmd. - 02Wait for READY. In the folder it opens, open the .dproj in Delphi 13.2 or the .lpi in Lazarus 4.8.
- 03Select Windows 64-bit and Run. In the chat, select Load model, then Generate.
Qwen-VL 3B: non-commercial research and evaluation under the Qwen Research License; commercial use needs a separate license. Built with Qwen. Gemma 3n: Gemma Terms and its use restrictions apply.
First run: access, storage and IDE steps
- The repositories and releases are public. Prepare downloads without a GitHub account or token. If GitHub limits anonymous requests, you can retry with an optional GitHub CLI login or token. Token input is hidden; saving it in Windows Credential Manager is optional.
- Keep the extracted preparation files together. Prepare downloads a portable runtime; you do not need to install Python, copy DLLs or convert a model. It verifies checksums and resumes interrupted package downloads.
- On CPU, Qwen-VL needs about 24 GiB RAM and a 5.2 GiB model download; Gemma 3n needs about 32 GiB RAM and an 11.4 GiB model download. These two CPU bundles require AVX2 and FMA (Haswell-compatible or newer). Plan for 45 GiB of free disk space for Gemma 3n, including the download and extracted files. Prepare checks free disk space first.
- The default install is
%LOCALAPPDATA%/CrossPascal/early-access-019. To use another drive, setCROSSPASCAL_PREPARE_HOMEbefore starting. Models and cached downloads are shared between examples. - Open the prepared project, select Release and Windows 64-bit, then Run. The model, SDK and sample-image paths are already filled in. In either chat, select Load model and Generate; Stop requests cancellation and Unload releases the model.
Read the complete preparation guide for all 13 projects, model terms, storage and troubleshooting.
The scripts share downloaded files, preserve edits to SDK sources and keep your existing settings. CPU image requests can take minutes. All supplied Pascal executables are built with Lazarus.


