Skip to main content

High-performance SDC detection and neural healing for billion-scale tensors.

Project description

TorchQuery 🛡️

TorchQuery Logo


PyPI version License: MIT

TorchQuery is a high-performance reliability engine for PyTorch. It provides a "Neural Shield" against Silent Data Corruption (SDC), hardware bit-flips, and numerical instability in massive Deep Learning models.

🚀 Key Features

  • Billion-Scale Protection: Optimized streaming logic designed to handle tensors with $10^9$ elements without crashing.
  • Neural Healing: Automatically detects and repairs corrupted weights or neurons using statistical outlier detection ($\sigma$-clamping).
  • Distributed SyncBatch: Cluster-aware protection using All-Reduce to ensure safety across multi-GPU and multi-server environments.
  • Zero-Invasive: Simply wrap your existing tensors or model parameters; no architecture changes required.

📦 Installation

pip install torchquery

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torchquery-2.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

torchquery-2.1.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file torchquery-2.1.1.tar.gz.

File metadata

  • Download URL: torchquery-2.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for torchquery-2.1.1.tar.gz
Algorithm Hash digest
SHA256 6ad9c15634db5a0daaefd3663d6c2090e3f701525e873cc9c619e2a518596456
MD5 8c4ccdc1774c148012c550487626c771
BLAKE2b-256 c212130488e892b807a08093b974d8ff2b6a0b908550a51b2120f14b00662abb

See more details on using hashes here.

File details

Details for the file torchquery-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: torchquery-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for torchquery-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49a85f19a679d1df947758c87bf45d240f3c026e95fef8a36febead5bc513ff5
MD5 fa406735591dc357c7d187f3b9e9837b
BLAKE2b-256 4ae37e29b9a43e7038e45e21ece8eec0e25f653872e71a1b74b3bfbc4fc47236

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page