Virtual Adaptive Offloading System (vAOS-Engine)
The vAOS-Engine is a lightweight, PyTorch-native runtime controller designed to break the GPU Memory Wall on consumer-grade hardware (e.g., 6GB VRAM laptops).
By virtualizing host CPU RAM as an OS-bypass mmap pool, dynamically scheduling asynchronous PCIe transfers, and utilizing late-stage register-level INT4 dequantization, vAOS allows you to train Massive Transformer models that natively trigger Out-Of-Memory (OOM) crashes.
🚀 Installation
pip install vaos-engine
🛠️ Complete Setup Guide & Live Demo
Want to see vAOS in action on your own hardware? You can run a live diagnostic test. The engine will auto-probe your hardware, intentionally crash a heavy model to prove your physical memory limits, and then use the vAOS runtime to train it successfully.
Step 1: Create the Test Script
Create a new file named demo.py anywhere on your computer and paste the following code:
import torch
import torch.nn as nn
# Import the vAOS API and our packaged Heavy Transformer
from src.api import evaluate_system
from src.baseline.model import DummyHeavyTransformer
# 1. Setup a heavy model that normally requires >9GB VRAM
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = DummyHeavyTransformer(
d_model=2048,
n_layers=4,
n_heads=16,
d_ff=8192,
vocab_size=32000,
max_seq_len=512
).to(device)
# 2. Generate dummy training data
dummy_input = torch.randint(0, 32000, (16, 512), device=device)
dummy_target = torch.randint(0, 32000, (16, 512), device=device)
criterion = nn.CrossEntropyLoss()
# 3. Trigger the vAOS Auto-Analyzer
print("Starting vAOS Hardware Evaluation...")
evaluate_system(model, dummy_input, dummy_target, criterion)
Step 2: Run the Script
Open your terminal (PowerShell, CMD, or Linux terminal) and execute the file:
python demo.py
Step 3: View your Personalized Report
The engine will execute a ruthless native control trace (until the GPU runs out of memory), followed immediately by the vAOS optimized trace. Once finished, it will automatically generate a comprehensive, personalized Markdown file named vAOS_Evaluation_Report.md in your current directory. Open it to see your exact mathematical metrics, including:
VRAM effectively saved.
PCIe bandwidth reduction (via INT4 dequantization).
Network synchronization payload optimization (via 90th-percentile Adaptive Sparsification).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vaos_engine-0.1.1.tar.gz.
File metadata
- Download URL: vaos_engine-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
440703a09fed74c99c04ff74c00c1a71c2abcc0d7b8881191f4d6e7ec6bdf3d8
|
|
| MD5 |
28e0a4c5ae1f846cafff0b1ea282053d
|
|
| BLAKE2b-256 |
d43a042558ce8e6f48d82eaf5a57075f8cd67d65509990625a36f7676095265c
|
File details
Details for the file vaos_engine-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vaos_engine-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92a1bb2b8884fddd3ceb3be7966e4d7dc7e566092f4b3dfda94f9d86b853e4f3
|
|
| MD5 |
a4712506588c4c5bd415394317a2c69f
|
|
| BLAKE2b-256 |
5c65734d5735e60853c1d128897d60cd7b182fc33e19818d412c14f09b79a0ea
|