Skip to main content

Blazingly fast machine learning framework - beats PyTorch and TensorFlow

Project description

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

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

ghost_flow-0.1.0.tar.gz (320.4 kB view details)

Uploaded Source

Built Distribution

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

ghost_flow-0.1.0-cp38-abi3-win_amd64.whl (195.1 kB view details)

Uploaded CPython 3.8+Windows x86-64

File details

Details for the file ghost_flow-0.1.0.tar.gz.

File metadata

  • Download URL: ghost_flow-0.1.0.tar.gz
  • Upload date:
  • Size: 320.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.10.2

File hashes

Hashes for ghost_flow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b2b98a18a25e2d4ede883fb93cffcd9ec01a058bba53ebf6caac07293f09791
MD5 600a19b3712e5609ba343f0fc73670cb
BLAKE2b-256 b1746a3ceb2f990f577c1eca0177fdaa0369a22f012aa6ea237884a818728049

See more details on using hashes here.

File details

Details for the file ghost_flow-0.1.0-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for ghost_flow-0.1.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c99cd0c881c7d12966e2927562f5f35b12c7edbe2baf9073499d3cefc2997caf
MD5 6e3b44bd658b02638121dbee2367cc93
BLAKE2b-256 cce2535bd369c2533cb28a2b1bfa2220e3e35e7b7a306b068ee050df02e3acf4

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