Skip to main content

Open-source GPU performance profiler and bottleneck analyzer for PyTorch.

Project description

Fournex

Open-source GPU performance profiler and bottleneck analyzer for PyTorch.

License: MIT Python 3.10+

Fournex wraps your training script, collects GPU telemetry, and tells you exactly what is slowing it down — with ranked, actionable recommendations.

Install

pip install fournex

Quick start

# Profile your workload
frx collect --name my-run -- python train.py

# Analyze and get recommendations
frx analyze runs/run-<id>

# Check your environment
frx doctor

# Validate the pipeline end-to-end
frx smoke-test

Detected bottleneck types

Label Signal
input_bound DataLoader wait ≥ 20% of step time
copy_bound H2D transfer ≥ 15% of step time
sync_bound Sync wait ≥ 10% of step time
underutilized_gpu GPU utilization < 35%
memory_pressure Peak memory ratio ≥ 90%
shape_instability Shape volatility ≥ 30%
launch_bound Low utilization + profiler windows, no dominant stall
insufficient_telemetry No timing or GPU utilization data

Safe config benchmarking

frx tune --safe --max-trials 12 -- python train.py

Fournex sweeps DataLoader and runtime configs, benchmarks each one, and recommends the fastest safe candidate — without changing your code.

Interrupted or repeated tune runs can reuse completed trial artifacts:

frx tune --resume runs/tune-<id> -- python train.py

--resume reuses a trial only when the saved config.yaml, benchmark_window.json, and metrics.json match the current workload command and benchmark settings.

Links

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

fournex-0.1.9.tar.gz (109.2 kB view details)

Uploaded Source

Built Distribution

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

fournex-0.1.9-py3-none-any.whl (127.0 kB view details)

Uploaded Python 3

File details

Details for the file fournex-0.1.9.tar.gz.

File metadata

  • Download URL: fournex-0.1.9.tar.gz
  • Upload date:
  • Size: 109.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fournex-0.1.9.tar.gz
Algorithm Hash digest
SHA256 32c1b6acb0554afacbf3baef5425e744e84e3008e5b2e7177af293c7c74a28e0
MD5 27cd70766359205b03106d4c2cc22d3d
BLAKE2b-256 f1812e818bdeeeee5c30ec8a604d6cf82de6ba2e68012e1f4c5d5dc8727382f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for fournex-0.1.9.tar.gz:

Publisher: publish.yml on jorgevee/fournex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fournex-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: fournex-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 127.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fournex-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 91cad1d70408d7ed4c6d91b3f9168d8cd02bca18e6eed83a8b02c5c1492b40cb
MD5 69b4a39652aa0349aa08ba9cb072f2e5
BLAKE2b-256 6ffaf0dc43c69ff66d0eeebcd4a813704f4145dcef5986b1f8c5a1a71b0ea17b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fournex-0.1.9-py3-none-any.whl:

Publisher: publish.yml on jorgevee/fournex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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