OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

X—LLM

X—LLM is an open-source Python toolkit for configuring and running large language model fine-tuning experiments, including LoRA and QLoRA workflows.

Independent OpenViST project profile, based on linked sources.

X—LLM — Experiment workflows built around a configurable model, dataset and training run
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use X—LLM when you want to build a Python-based fine-tuning experiment from a model configuration and prepared dataset, particularly for LoRA or QLoRA workflows.

Who it is for

  • Python developers who want a configurable workflow for fine-tuning language models.
  • Researchers or engineers preparing model-training experiments with LoRA or quantized weights.

Documented uses

  • Configure a model and fine-tuning options such as LoRA or QLoRA.
  • Prepare training data, build an experiment and run training.
  • Track training progress with Weights & Biases.
  • Fuse LoRA layers or push LoRA weights to Hugging Face Hub after training.
Before you choose

Requirements & limits

The repository is public and carries an Apache-2.0 license. The README gives installation through pip and identifies Python 3.8+, PyTorch 2.0.1+ and CUDA 11.8 as the tested baseline.

  • The standard xllm package is recommended for local development, while xllm[train] is recommended for training and includes DeepSpeed, Flash Attention and AutoGPTQ.
  • The README names CUDA 11.8 and a Hugging Face Transformers PyTorch GPU Docker image as the recommended training environment.
  • Publishing weights to Hugging Face Hub requires Hub login or an API token in the environment.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Run a documented fine-tuning experiment

Configure and run an example QLoRA training experiment using X—LLM.

Before you start

  • Python 3.8 or later, PyTorch 2.0.1 or later and CUDA 11.8, listed as the tested baseline.
  • Install the training extra with pip install "xllm[train]"; the README recommends it for training.
  • A model path and training data for the experiment.

Steps

  1. Create a Config with a model path, apply_lora=True and load_in_4bit=True.

  2. Prepare a GeneralDataset from training data using GeneralDataset.from_list.

  3. Create an Experiment with the config and dataset, then call build().

  4. Call run() to execute training.

Expected outcome

An X—LLM experiment runs the configured fine-tuning workflow.

Guide limitations

  • The README gives a minimal example but does not specify hardware sizing or expected training duration.
  • Model and training-method support depends on the configured environment and required components.
Source-based practical guide

Publish trained LoRA weights to Hugging Face Hub

Push LoRA weights from an X—LLM experiment to a Hugging Face Hub repository.

Before you start

  • A built and trained X—LLM experiment configured with LoRA.
  • Hugging Face Hub login or an API token set in the environment.
  • A destination repository ID.

Steps

  1. Log in to Hugging Face Hub or provide an API token through an environment variable.

  2. Call experiment.push_to_hub(repo_id="YOUR_NAME/MODEL_NAME").

Expected outcome

The experiment's LoRA weights are submitted to the specified Hugging Face Hub repository.

Guide limitations

  • The README does not specify repository visibility or access settings.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 November 2026
Original website title
bobazooba/xllm · Official homepage title · retained in its source language