Metadata-Version: 2.4
Name: torchquery
Version: 2.1.1
Summary: High-performance SDC detection and neural healing for billion-scale tensors.
Home-page: https://github.com/powerofaisinstudy-debug/torchquery
Author: Sundaram Gupta
Author-email: your-email@example.com
Project-URL: Homepage, https://github.com/powerofaisinstudy-debug/torchquery
Project-URL: Bug Tracker, https://github.com/powerofaisinstudy-debug/torchquery/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: torch>=1.9.0
Requires-Dist: numpy
Dynamic: author-email
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# TorchQuery 🛡️

<p align="center">
  <img src="https://raw.githubusercontent.com/powerofaisinstudy-debug/torchquery/main/tch.png" width="600" alt="TorchQuery Logo">
</p>

---

[![PyPI version](https://img.shields.io/pypi/v/torchquery.svg)](https://pypi.org/project/torchquery/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/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

```bash
pip install torchquery
