GhostFlow Python Bindings
Blazingly fast machine learning framework with Python bindings. Built in Rust for maximum performance.
Installation
pip install ghost-flow
Quick Start
import ghost_flow as gf
# Create tensors
x = gf.randn([32, 784])
y = gf.randn([784, 10])
# Matrix multiplication (Rust speed!)
z = x @ y
# Neural networks
model = gf.nn.Linear(784, 128)
output = model(x)
# Activations
relu = gf.nn.ReLU()
activated = relu(output)
Features
- 🚀 Blazingly Fast: 2-3x faster than PyTorch/TensorFlow
- 🦀 Rust Performance: Zero-cost Python bindings
- 🎮 GPU Acceleration: Hand-optimized CUDA kernels
- 🧠 50+ ML Algorithms: Complete ML toolkit
- 🔥 Fused Operations: 3x faster than standard implementations
- 💾 Memory Efficient: Rust's ownership system
Performance
GhostFlow beats PyTorch and TensorFlow in most benchmarks:
- Matrix operations: 2-3x faster
- Neural network training: 1.5-2x faster
- Memory usage: 30-50% less
API Compatibility
Designed to be familiar for PyTorch users:
# PyTorch style
import ghost_flow as gf
x = gf.randn([10, 20])
y = x.relu()
z = x @ x.transpose(0, 1)
Documentation
License
Dual-licensed under MIT or Apache-2.0
Metadata
Release files for ghost-flow 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ghost_flow-1.1.1.tar.gz | 500.5 kB | Without provenance | Details for ghost_flow-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ghost_flow-1.1.1-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details for ghost_flow-1.1.1-cp38-abi3-win_amd64.whl |
Total release size: 692.5 kB
Release files / ghost_flow-1.1.1.tar.gz
| Download URL | ghost_flow-1.1.1.tar.gz |
|---|---|
| Size | 500.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
232c15631ba713bcdd29c8725cd9d79eea1ddd6e7825420afc17fecb26243ae3
|
|
BLAKE2b-256 checksum How to use checksums |
85d2f6ce3eea28b25fa8fce4e724861a00f2a35b5de1d16ba70ff3d188c428dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.2
|
Release files / ghost_flow-1.1.1-cp38-abi3-win_amd64.whl
| Download URL | ghost_flow-1.1.1-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 191.9 kB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
3789102e4d441c3e2df4ad89c6f67582dadcf24b4fe0b8fb086307d7c47f8c6d
|
|
BLAKE2b-256 checksum How to use checksums |
5bcebd08be7642ac1c56590b769161f79eb7d6e1eec4862b96ffc8b2da5c5c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.11.2
|
Security for ghost-flow 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.