← all repositories

changjonathanc/minLoRA

A minimal ~100-line PyTorch library for applying LoRA (Low-Rank Adaptation) to any PyTorch model for efficient fine-tuning.

492 stars Jupyter Notebook ML FrameworksInference · Serving
minLoRA
Velocity · 7d
+0.4
★ / day
Trend
steady
star history

minLoRA re-implements LoRA using PyTorch’s native parametrize utilities, enabling parameter-efficient fine-tuning without modifying model definitions. It supports adding LoRA to linear layers, embeddings, and other modules via a functional API. The library provides utilities for training with LoRA params, merging weights for inference, and loading multiple LoRA adapters for flexible model switching.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.