Skip to main content

Tensor Parallel feasibility analyser — should you use TP, how many GPUs, does DFlash break scaling?

Project description

coolingcube-tp

Tensor Parallel feasibility analyser. Answers the question every multi-GPU inference user has:

Should I use TP? How many GPUs? Does DFlash break scaling?

Install

pip install coolingcube-tp

Usage

# RTX5090 + RTX PRO 6000, 32B model, DFlash enabled
coolingcube-tp --gpus rtx5090 rtx_pro_6000 --model 32 --dflash 8

# 4x RTX4090, 70B model, no DFlash
coolingcube-tp --gpus rtx4090 rtx4090 rtx4090 rtx4090 --model 70

# List all supported GPUs
coolingcube-tp --list-gpus

Python API

from coolingcube_tp import analyse_tp

result = analyse_tp(
    gpus=["rtx5090", "rtx_pro_6000"],
    model_params_b=32,
    dflash_draft=8,
    interconnect="pcie"
)

print(result["verdict"])
print(result["recommendation"])

How it works

NFF-IMC (Non-Feasible Finite — Inverse Mass Control) applied to inference TP:

  • Computes per-GPU compute time from real TFLOPS and bandwidth specs
  • Models AllReduce communication overhead per layer
  • Applies DFlash draft amplification when enabled
  • Returns speedup vs single GPU and a clear verdict

Free. No API calls. Runs locally.

coolingcube.cc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

coolingcube_tp-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coolingcube_tp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for coolingcube_tp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65884616d48906891a3ef06903fb84d1421d3abe0956d894ffcf50ccd9c185e6
MD5 67a74371f326a4b7f6dc74ac2e224cdf
BLAKE2b-256 3df423b12dc6fcdd49df428acf386d1f4f26848689029def4d1c88ea813f45c6

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