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.0-py3-none-any.whl (65.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexlora-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 65.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5efffec2bea79135c68e31b3f585067ebd827027db05bd95e2bbe96f481ad523
MD5 11d25fda75c7a0f84ff09475a622c5c5
BLAKE2b-256 d40424db432e8a35692cb335f791980858921abd6890b295017600b819f7aba4

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