Skip to main content

Local runtime for crackedaicode.com — run ML code on your own machine

Project description

crackedai-connect

Local runtime for crackedaicode.com — execute ML code on your own machine using your own GPU.

Install & Run

pip install crackedai-connect
crackedai-connect

That's it. On first run, the CLI auto-detects your hardware and installs the right versions of PyTorch and JAX:

  • NVIDIA GPU — installs PyTorch + JAX with CUDA support (detects your CUDA version)
  • Apple Silicon — installs PyTorch with MPS + JAX
  • CPU only — installs lightweight CPU-only versions
$ crackedai-connect

  CrackedAI Runtime v0.1.0

  Missing: PyTorch, JAX
  Detecting hardware...
  Found NVIDIA GPU (CUDA 12.4)
  Installing PyTorch (CUDA 12)... done
  Installing JAX (CUDA 12)... done

  Detected: NVIDIA RTX 4090 | Linux
    pytorch 2.3.0 ✓ (CUDA accelerated)
    jax 0.4.30 ✓ (cuda)
    numpy 1.26.4 ✓

  Listening on http://127.0.0.1:52341
  Open crackedaicode.com to start solving problems.

Then open crackedaicode.com — the website automatically detects the running runtime.

What This Does

When you click "Run" or "Submit" on crackedaicode.com, your code executes locally on your machine — not on a remote server:

  • Your own GPU — CUDA, Apple Silicon MPS, or CPU
  • Your own packages — whatever versions the installer sets up
  • Zero latency — no round-trip to a server
  • Full privacy — code never leaves your machine

How It Works

Browser (crackedaicode.com)  <-->  localhost:52341 (crackedai-connect)
                                          |
                                 Python subprocess
                                    (your code)

Already Have PyTorch/JAX?

If you already have them installed, crackedai-connect will detect and use your existing installation. It only installs frameworks if they're missing.

For Contributors

git clone https://github.com/anupa/cracked-ai-connect.git
cd cracked-ai-connect
pixi install
pixi run test
pixi run connect

License

MIT

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

crackedai_connect-0.1.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

crackedai_connect-0.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crackedai_connect-0.1.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for crackedai_connect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 773006c2906953b7e5893b0b6734a82a3027a6d3d56cf806d07bd8fcdb28b258
MD5 c0e8abe75b155cb5fe95e25f3715bfa6
BLAKE2b-256 da88b2477d1b9221fcd068214d7b0100058ed0b71b23142c03f223e003a99c78

See more details on using hashes here.

File details

Details for the file crackedai_connect-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for crackedai_connect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6503ff12a247579e4bfa1787c378ec3edd990e69121524789bf7b22d60dbb575
MD5 00432482f7d0d9d5e6ac91403c9eb93a
BLAKE2b-256 f2e64b1a1d0382869a2f72c6b6c0170ab3e9826528c25f811f20d0363b27ace7

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