Skip to main content

NexLoRA

Merged package combining FastLoRA v4.0 and NexusTrain v1.0 into a single installable package.

Authors:

  • FastLoRA: FastLoRA Contributors
  • NexusTrain: Ömür Bera Işık

Installation

pip install nexlora

Usage

FastLoRA Usage

from nexlora import fastlora

model, tokenizer = fastlora.FastLoRA("meta-llama/Llama-3.2-3B").load()
# ... training ...

NexusTrain Usage

from nexlora import nexustrain

nt = nexustrain.NexusTrain(model, tokenizer, nexustrain.NexusConfig())
trainer = nt.patch_trainer(trainer)
nt.engage()
# ... training ...

Environment Check

nexlora-check

Features

FastLoRA (v4.0)

  • LoRA / QLoRA fine-tuning
  • 2-bit quantization (independent of bitsandbytes)
  • OOM recovery with auto-resume
  • Custom Triton kernels (RMSNorm, SwiGLU, RoPE)
  • Mixture of Experts (MoE) support
  • Optuna hyperparameter tuning
  • CPU/NVMe offloading (ZeRO-Infinity style)
  • Smart VRAM guard

NexusTrain (v1.0)

  • CrystalCore™ - Runtime kernel crystallization
  • MorphicMemory™ - Adaptive memory morphism
  • SpectraOptimizer™ - Frequency domain optimizer
  • ResonanceScheduler™ - Self-tuning learning rate
  • ChromaticPrecision™ - Layer-wise dynamic precision
  • GradientHarmonics™ - Wavelet-based gradient processing
  • NeuralProfiler™ - LSTM-based training predictor
  • CrystalPipeline™ - Self-reconfiguring training pipeline
  • ZeroWaste™ - Unnecessary computation elimination

License

MIT License - See LICENSE file for details.

Metadata

Release files for nexlora 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for nexlora 0.2.1
File Interpreter ABI Platform
nexlora-0.2.1-py3-none-any.whl Python 3 none any Details

Release files / nexlora-0.2.1-py3-none-any.whl

Download URL nexlora-0.2.1-py3-none-any.whl
Size 69.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a309bb649cc6a475b75302febd8fc5c1689b3716719d66d453f62f60d2045bd3
BLAKE2b-256 checksum
How to use checksums
06b633d2f23e083966dfa5ed40765f7ea367a56727d47505fd257746a3103ff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page