Skip to content
8 janvier 2026

Lazarus Components

Site de l'auteur du livre LAZARUS FREE PASCAL

Watch Online
  • Home
  • 2026
  • janvier
  • 6
  • PasLLM

https://github.com/BeRo1985/pasllm


https://mega.nz/folder/krcgHCpZ#0tjLqup_Hc4THWC9itDrTg


  • Neural Networks and AI

PasLLM

Matthius 6 janvier 2026 2 min read

A high-performance Large Language Model inference engine written in pure Object Pascal.

Overview

PasLLM is a native Pascal implementation for running LLMs locally with optimized quantization and inference capabilities. It supports multiple model architectures and features advanced 4-bit quantization formats for efficient model deployment.

It is currently CPU-only, with no GPU acceleration. GPU acceleration will be added in the future using my PasVulkan framework, but this will take time and effort. Until at least Q2 2026, I’m focusing on other professional projects, so please be patient. The same applies to support for multi-modal models, models with newer architectures (Mamba, etc.) and so on.

Features

  • Pure Object Pascal – No Python or external dependencies for inference
  • Cross-Platform – Compatible with Delphi ≥11.2 and FreePascal ≥3.3.1
  • Multiple Architectures – Support for Llama, Qwen, Phi, Gemma, Mixtral, and more
  • Advanced Quantization – Custom Q4*NL formats (Q40NL, Q41NL, Q42NL, Q43NL) with superior tail reconstruction
  • Optimized Performance – Native Pascal implementation with platform-specific optimizations
  • CLI and GUI – Both command-line interface and visual applications (FMX, VCL, LCL)

Supported Models

Pre-quantized models are available at https://mega.nz/folder/krcgHCpZ#0tjLqup_Hc4THWC9itDrTg, which must be placed in the bin/models/ directory. Supported architectures include:

  • Llama – 3/3.1/3.2 (1B, 3B, 8B variants, including abliterated/uncensored)
  • Qwen 2.5 – 0.5B, 1.5B, 3B, 7B Instruct
  • Qwen 3 – 0.6B, 1.7B, 4B, 8B, 14B, 32B (including thinking/coder/abliterated variants, 30B MoE models)
  • Phi-3 – Mini, Medium (4K context)
  • Gemma – 1.1 (2B) (support for Gemma 2 and 3 coming later)
  • SmolLM 2 – 135M, 360M, 1.7B
  • SmolLM 3 – 3B
  • Mixtral – 8x7B Instruct
  • EuroMoE – 2.6B (0.6B active)
  • SimpleChat – 4B, 14B
  • DeepSeek – R1 variants
  • TinyLlama – 1.1B Chat

French

Des LLM en Pascal en CPU, GPU planifié

Tags: ai artificial ia intelligence llm ollama

Continue Reading

Previous: Tensorium

Related Stories

Tensorium
1 min read
  • Neural Networks and AI
A platform agnostic fast tensor manipulation library using SIMD instructions when possible, written in pascal and can...
Read More
LightNet
1 min read
  • Neural Networks and AI
LightNet is an artificial intelligence neural network library Inspired by Darknet and YOLOv7 github C library, this...
Read More
Text Generation with Convolutional Neural Networks
1 min read
  • Neural Networks and AI
  • Neural Networks and AI
This neural network has some characteristics: French Générateur de textes en Pascal.
Read More

Articles récents

  • PasLLM
  • NovaLib
  • DBReader, Database files reader
  • TChromeTabs BGRABitmap
  • uIDE (Micro IDE)

Commentaires récents

Aucun commentaire à afficher.

Archives

  • janvier 2026
  • décembre 2025
  • novembre 2025
  • octobre 2025
  • juillet 2025
  • juin 2025
  • avril 2025
  • mars 2025
  • février 2025
  • janvier 2025
  • décembre 2024
  • août 2024
  • juin 2024
  • avril 2024
  • mars 2024
  • mai 2023
  • avril 2023
  • janvier 2023
  • décembre 2022
  • novembre 2022
  • août 2022
  • juin 2022
  • décembre 2021
  • novembre 2021
  • octobre 2021
  • septembre 2021
  • juillet 2021
  • mai 2021
  • avril 2021
  • mars 2021
  • janvier 2021
  • décembre 2020
  • novembre 2020
  • octobre 2020
  • septembre 2020
  • août 2020
  • mai 2020
  • novembre 2019
  • mai 2019
  • janvier 2019
  • octobre 2018
  • septembre 2018
  • juillet 2018
  • juin 2018
  • mai 2018
  • avril 2018
  • novembre 2017
  • septembre 2017
  • juillet 2017
  • mai 2017
  • mars 2017
  • janvier 2017
  • décembre 2016
  • septembre 2016
  • juillet 2016
  • juin 2016
  • septembre 2013
  • août 2013
  • juillet 2013
  • avril 2013
  • mars 2013
  • février 2013
  • janvier 2013
  • novembre 2012
  • octobre 2012
  • septembre 2012
  • août 2012
  • juillet 2012
  • juin 2012
  • avril 2012
  • mars 2012
  • février 2012
  • janvier 2012
  • décembre 2011
  • novembre 2011
  • octobre 2011
  • août 2011
  • juillet 2011
  • juin 2011
  • mai 2011
  • avril 2011
  • mars 2011
  • février 2011
  • janvier 2011
  • décembre 2010
  • novembre 2010
  • octobre 2010
  • septembre 2010
  • août 2010
  • juillet 2010
  • juin 2010
  • mai 2010
  • mars 2010
  • février 2010
  • janvier 2010
  • décembre 2009
  • novembre 2009
  • septembre 2009
  • août 2009
  • juillet 2009
  • juin 2009
  • avril 2009
  • mars 2009
  • janvier 2009
  • décembre 2008
  • novembre 2008
  • septembre 2008
  • juillet 2008
  • mai 2008
  • février 2008
  • janvier 2008

Catégories

  • 3D
  • 3D
  • 3D and 2D, Games
  • Applications
  • Audio
  • Automate
  • Bar/QR Codes
  • Buttons
  • Colors
  • Compilers
  • Components with sources
  • Components without sources
  • Compressing
  • Compressing
  • Crypting
  • Crypting
  • Data/Persistence
  • Data/Persistence
  • Data/Persistence
  • Demos and restrictions
  • Demos, applications, forms, themes, languages
  • DLL
  • DLL
  • Documents
  • Drivers
  • Editing
  • Education
  • Education
  • Emulation
  • Emulation
  • Exemple
  • File Systems
  • File Systems
  • File, Systems
  • Files and bases
  • Files and bases
  • Firewall
  • For Android
  • For Lazarus
  • For Lazarus
  • Forms
  • Forms
  • Fun, graphics, charts
  • Fun, graphics, charts
  • Games
  • Games
  • Genealogy
  • Graphics
  • Graphics and Charts
  • Graphs and stats
  • Hardware
  • Hardware
  • Hardware, sound, video, system, network
  • Hardware, sound, video, system, network
  • HTML/XML
  • HTML/XML
  • Images
  • Installing
  • Languages
  • Languages
  • LAZARUS
  • Livres
  • Log and tests
  • Mail
  • Management
  • Maps
  • Math
  • Math
  • Memory
  • Menus
  • Network
  • Network
  • Network
  • Network
  • Neural Networks and AI
  • Neural Networks and AI
  • Office
  • OS
  • Packaging
  • Panels
  • Players
  • Professions
  • Professions
  • Programming
  • Programming
  • Programming
  • Projects with sources and components
  • Projects without sources
  • Recognition
  • Reports
  • RSS
  • Science/Industry
  • Science/Industry
  • Scripts
  • Searching
  • Security
  • Security
  • Servers
  • Sound
  • Sound
  • Suite
  • System
  • Teaching
  • Teaching
  • Testing
  • Testing
  • Text
  • Text
  • Text, reports
  • Text/Recognition
  • Themes
  • Threading
  • Timers
  • Tools
  • Tools
  • Trees
  • Vectors
  • Video
  • Videos
  • Videos
  • Visual Components
  • Visual Components
  • Web
  • Web
  • Web, XML
  • Web, XML
  • Word processing
  • XML/HTML
  • XML/HTML

You may have missed

PasLLM
2 min read
  • Neural Networks and AI
A high-performance Large Language Model inference engine written in pure Object Pascal. Overview PasLLM is a native...
Read More
NovaLib
1 min read
  • Memory
  • Testing
  • Tools
Logger and components improvments with functions French Log et améliorations de composants avec fonctions
Read More
DBReader, Database files reader
1 min read
  • Data/Persistence
Directly read data from database files. No need for SQL server, DLLs, ODBC and other API. Supported...
Read More
TChromeTabs BGRABitmap
1 min read
  • Visual Components
This is a port of TChromeTabs v2.7 component thats rendering with BGRABitmap library. This version is targered...
Read More
Copyright © All rights reserved. | darklinks by AF themes.