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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nexlora-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for nexlora-0.2.1-py3-none-any.whl |
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
|
Security for nexlora 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.