67.2 GB
208,150 files
Updated about 1 month ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| .pytest_cache | 5 items | ||
| __pycache__ | 1 items | ||
| data_cache | 1 items | ||
| django_api | 1,668 items | ||
| experimental | 4 items | ||
| framework | 19,784 items | ||
| frontend | 63,687 items | ||
| neuralops-agent | 27,989 items | ||
| results | 2 items | ||
| runners | 356 items | ||
| tests | 265 items | ||
| web | 12 items | ||
| .DS_Store | 14.3 kB xet | 95b5f694 | |
| ._framework | 163 Bytes xet | 87bce875 | |
| ._tests | 163 Bytes xet | 87bce875 | |
| README.md | 5.85 kB xet | 14e5d0a3 | |
| framework_code.tar.gz | 1.64 MB xet | 6f84165e | |
| main.py | 9.32 kB xet | 0bbe936c | |
| run.py | 8.17 kB xet | 7cd5b2bc | |
| run_all.py | 8.85 kB xet | fe09b564 |
🧠 NeuralOps & SVD Linear Attention Framework
A unified, modular research ecosystem for Linear Attention Architectures, Hardware-Aware Model Compression (SVD, Quantization, Pruning), and Full-Stack Experiment Orchestration.
📑 Table of Contents
- Overview & Key Features
- Repository Structure
- Quickstart & Installation
- Framework Core Architecture & 5 Tracks
- Automated Dataset Engine & GPU Server Execution
- Attention Mechanisms Registry (236 Modules)
- Model Compression Engines (107 Algorithms)
- Django REST & WebSocket API Gateway
- Frontend Research Dashboard
- Empirical Benchmark Results
🌟 Overview & Key Features
The NeuralOps & SVD Linear Attention Framework is designed to evaluate, compress, and train large transformer models with high efficiency:
- 236 Custom Attention Modules: Plug-and-play implementations ranging from Truncated SVD Attention ($O(N)$), FlashAttention-3 (FP8), and Multi-Head Latent Attention (MLA) to State-Space Hybrids (Mamba-SVD-Flash, AEGIS v1–v6).
- 107 Model Compression Engines: Post-training compression algorithms including Activation-Aware SVD (AASVD), Error-Controlled SVD (
erc_svd), Rotational SliceGPT INT4, SparseGPT with damped Hessian inversions, DeltaKV differential caching, AWQ, and structured pruning (ARMOR/AST). - Zero-Shot Architecture Injection: Automatically swaps standard Multi-Head Attention in HuggingFace models (BERT, RoBERTa, T5, LLaMA, Mistral, DistilBERT, GPT-2) with custom attention mechanisms via
inject_attention. - Full-Stack Research Workspace: Includes an asynchronous Django REST/WebSocket backend with real-time GPU telemetry, Bayesian sweep orchestration, and an Overleaf-style collaborative LaTeX studio.
- Interactive React UI: React 18 + Vite SPA featuring live attention heatmaps, 3D manifold visualizers, and a masterclass documentation explorer.
📁 Repository Structure
Codes/
├── framework/ # Core PyTorch Research Framework
│ ├── attentions/ # 236 Custom Attention Architectures
│ ├── compression_engine/ # 107 Model Compression & Pruning Engines
│ ├── core/ # Registries, Base Classes & Model Wrappers
│ ├── data/ # prepare_datasets.py & Benchmark DataLoader Streamer
│ ├── trainer/ # Distributed Trainers (HF, Custom Loop, FSDP)
│ ├── visualization/ # Heatmaps, Pareto Frontiers & Dashboards
│ ├── analysis/ # Hessian & Outlier Spectral Analyzers
│ ├── results_saver/ # SQLite, Parquet & JSON Exporters
│ ├── launch_gpu_server.py # GPU Server hardware profiler & DDP launcher
│ ├── run_on_gpu_server.sh # Single-command shell runner (--mode fast/comprehensive)
│ └── parallel_track_checker.py # 5-process parallel multi-track validator
│
├── django_api/ # Enterprise REST & WebSocket Backend
│ ├── api/ # Core REST Endpoints & Serializers
│ ├── experiment/ # Experiment Tracking & Metrics Streaming
│ ├── sweeps/ # Optuna Bayesian Sweep Orchestrator
│ ├── jobscheduler/ # Async Worker Queues & Slurm Hooks
│ ├── paper/ # LaTeX Studio & Real-time PDF Compilation
│ └── health_monitor/ # Real-time NVML GPU & Node Telemetry
│
├── frontend/ # React 18 + Vite Research Dashboard
│ ├── src/features/ # Experiment Monitors, Model Studios & Canvas
│ ├── src/router.tsx # Dynamic Routing & Lazy-Loaded Pages
│ └── public/Docs/ # Synchronized Documentation & Catalog
│
├── run.py # Universal Single Experiment CLI
├── run_all.py # Multi-Model Benchmark Suite
└── main.py # Master Entrypoint & Server Orchestration
⚡ Quickstart & Installation
# Setup virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install core framework in editable mode
pip install -e Codes/framework/
pip install -r Codes/django_api/requirements.txt
Run Multi-Process Track Verification
PYTHONPATH=Codes python3 Codes/framework/parallel_track_checker.py \
--workers 5 \
--models bert,roberta,t5 \
--datasets sst2,mrpc \
--rank 16
Pre-Cache Benchmark Datasets & Run on GPU Server
# Pre-cache datasets
bash Codes/framework/run_on_gpu_server.sh --mode prepare-data
# Run fast BF16 sweep on GPU
bash Codes/framework/run_on_gpu_server.sh --mode fast
- Total size
- 67.2 GB
- Files
- 208,150
- Last updated
- Sep 27
- Pre-warmed CDN
- US EU US EU