Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@ruvector/learning-wasm

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ruvector/learning-wasm

Ultra-fast MicroLoRA adaptation for WASM - rank-2 LoRA with <100us latency for per-operator learning

latest
Source
npmnpm
Version
0.1.29
Version published
Maintainers
1
Created
Source

@ruvector/learning-wasm

Ultra-fast MicroLoRA adaptation for WebAssembly - rank-2 LoRA with <100us latency for per-operator learning.

Features

  • MicroLoRA: Lightweight Low-Rank Adaptation for neural networks
  • Sub-100us Latency: Optimized for real-time adaptation
  • Rank-2 LoRA: Minimal memory footprint with effective learning
  • WASM Optimized: Built with Rust for maximum performance in browsers and Node.js

Installation

npm install @ruvector/learning-wasm

Usage

import init, { MicroLoraAdapter } from '@ruvector/learning-wasm';

await init();

// Create a MicroLoRA adapter
const adapter = new MicroLoraAdapter(inputDim, outputDim, rank);

// Apply adaptation
const result = adapter.forward(input);

// Update weights based on feedback
adapter.update(gradient, learningRate);

Performance

  • Adaptation latency: <100 microseconds
  • Memory overhead: Minimal (rank-2 matrices only)
  • Browser compatible: Works in all modern browsers
  • Node.js compatible: Full support for server-side usage

License

MIT OR Apache-2.0

  • GitHub Repository
  • Documentation

Keywords

lora

FAQs

Package last updated on 01 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts