[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111737":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":12,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":12,"stars30d":12,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":14,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":15,"fork":15,"defaultBranch":16,"hasWiki":17,"hasPages":15,"topics":18,"createdAt":9,"pushedAt":19,"updatedAt":20,"readmeContent":21,"aiSummary":22,"trendingCount":12,"starSnapshotCount":12,"syncStatus":23,"lastSyncTime":24,"discoverSource":25},111737,"shardwise","aeropittura\u002Fshardwise","aeropittura","Distribution of facebookresearch\u002FCrypTen with original source attribution.",null,"Python",83,0,84,37,false,"main",true,[],"2026-11-17 12:40:18","2026-11-23 09:34:23","# Shardwise\n\nShardwise is a research toolkit for privacy-preserving machine learning. It uses\nsecure multiparty computation to perform tensor operations and model evaluation\non data shared across participating processes, without requiring those processes\nto exchange their raw inputs.\n\nThe project combines encrypted tensor operations, automatic differentiation, and\nneural network components with examples for training and inference.\n\n## Capabilities\n\n- Arithmetic and binary secret-sharing primitives.\n- Tensor operations and automatic differentiation for encrypted computation.\n- Neural network layers, optimizers, and model conversion utilities.\n- Multiprocess communication and distributed execution helpers.\n- CPU and GPU computation paths.\n- Benchmarks, notebook tutorials, and runnable machine learning examples.\n\n## Getting started\n\nClone the repository and create an isolated Python environment:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Faeropittura\u002Fshardwise.git\ncd shardwise\npython3 -m venv .venv\nsource .venv\u002Fbin\u002Factivate\npython -m pip install --upgrade pip setuptools wheel\n```\n\nInstall the runtime dependencies and the local package:\n\n```bash\npython -m pip install torch torchvision omegaconf onnx pandas pyyaml tensorboard future scipy scikit-learn\npython -m pip install --no-deps -e .\n```\n\nThe dependency list above uses `scikit-learn` in place of the legacy `sklearn`\npackage entry in `requirements.txt`. The package metadata specifies Python 3.7\nor later; compatibility with every recent Python or dependency release is not\nestablished. Consult [requirements.txt](requirements.txt) and [env.yml](env.yml)\nwhen preparing a reproducible environment. Linux and macOS are the documented\nplatforms; Windows is not supported by the existing setup.\n\n## Run an example\n\nInstall the additional example dependencies:\n\n```bash\npython -m pip install -r requirements.examples.txt\n```\n\nInspect the options for the encrypted linear classifier example:\n\n```bash\npython examples\u002Fmpc_linear_svm\u002Flauncher.py --help\n```\n\nThe [examples](examples) directory includes encrypted linear classification,\nimage classification, contextual bandits, and pretrained-model inference.\nEach example has its own launcher and configuration options. Some examples\ntrain in plaintext before evaluating an encrypted model; others demonstrate\ntraining with encrypted data.\n\n## Explore the repository\n\n- [tutorials](tutorials): notebook walkthroughs of encrypted tensors, access\n  control, model evaluation, and training.\n- [examples](examples): end-to-end model demonstrations and launchers.\n- [benchmarks](benchmarks): performance experiments and profiling tools.\n- [configs](configs): runtime configuration defaults.\n- [scripts](scripts): distributed execution and deployment helpers.\n- [test](test): tests for tensors, protocols, communication, and model components.\n- [docs](docs): documentation sources.\n\n## Development\n\nInstall the test runner and run the tests relevant to a change:\n\n```bash\npython -m pip install pytest\npython -m pytest test\u002Ftest_common.py\n```\n\nDistributed and GPU tests may require additional processes, hardware, or runtime\nconfiguration. Start with a small local example before running a larger workload.\n\n## Research scope\n\nShardwise is intended for experimentation and research, rather than deployment\nas a production security boundary. Privacy depends on the selected protocol,\nits trust assumptions, and how inputs and outputs are handled. Explicit output\nreconstruction reveals the reconstructed values to the receiving participants.\n","Shardwise 是一个面向隐私保护机器学习的研究型工具包，基于 CrypTen 实现安全多方计算（MPC）框架，支持跨参与方对分片数据进行加密张量运算与模型训练\u002F推理。其核心功能包括算术与二元秘密共享原语、加密张量自动微分、神经网络层与优化器、多进程通信支持，以及 CPU\u002FGPU 双路径执行能力。项目提供完整示例（如加密线性分类、图像分类、预训练模型推理）和教程，适用于学术研究、联邦学习原型验证及需数据不出域的协作建模场景。",2,"2026-11-24 04:41:37","CREATED_QUERY"]