Skip to main content

Next-generation LLM fine-tuning engine with self-optimizing training

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexlora-0.2.1-py3-none-any.whl (69.9 kB view details)

Uploaded Python 3

File details

Details for the file nexlora-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: nexlora-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 69.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for nexlora-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a309bb649cc6a475b75302febd8fc5c1689b3716719d66d453f62f60d2045bd3
MD5 7339bbdd225a7f70a9ccb4fd87ecf18a
BLAKE2b-256 06b633d2f23e083966dfa5ed40765f7ea367a56727d47505fd257746a3103ff0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page