Open-source GPU performance profiler and bottleneck analyzer for PyTorch.
Project description
Fournex
Open-source GPU performance profiler and bottleneck analyzer for PyTorch.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fournex-0.1.2.tar.gz.
File metadata
- Download URL: fournex-0.1.2.tar.gz
- Upload date:
- Size: 70.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4541b36661d8120c34224468dfd1142fed494d921845adff9bf21ae21019775f
|
|
| MD5 |
13202cf7273557aff1a7809edf634bf8
|
|
| BLAKE2b-256 |
4709379b85cfd611a07d9aeb5e81c43d5d7a6e2dd60d538537e3a309c4a6f481
|
Provenance
The following attestation bundles were made for fournex-0.1.2.tar.gz:
Publisher:
publish.yml on jorgevee/fournex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fournex-0.1.2.tar.gz -
Subject digest:
4541b36661d8120c34224468dfd1142fed494d921845adff9bf21ae21019775f - Sigstore transparency entry: 1486542364
- Sigstore integration time:
-
Permalink:
jorgevee/fournex@351673d78ddc2c6f5d911259291984a6b10fabfc -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/jorgevee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@351673d78ddc2c6f5d911259291984a6b10fabfc -
Trigger Event:
release
-
Statement type:
File details
Details for the file fournex-0.1.2-py3-none-any.whl.
File metadata
- Download URL: fournex-0.1.2-py3-none-any.whl
- Upload date:
- Size: 85.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d82cfcd43644511f6211bb6ca65acb0cd26fd488c339eb89d54cadab12aea29
|
|
| MD5 |
4bad054c52f93ba658b8ef55438af565
|
|
| BLAKE2b-256 |
1eaccfd2e8c91a945dba80fbb32441cdaac9d13ed5e876a5df09f0dd56ec83e1
|
Provenance
The following attestation bundles were made for fournex-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on jorgevee/fournex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fournex-0.1.2-py3-none-any.whl -
Subject digest:
6d82cfcd43644511f6211bb6ca65acb0cd26fd488c339eb89d54cadab12aea29 - Sigstore transparency entry: 1486542451
- Sigstore integration time:
-
Permalink:
jorgevee/fournex@351673d78ddc2c6f5d911259291984a6b10fabfc -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/jorgevee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@351673d78ddc2c6f5d911259291984a6b10fabfc -
Trigger Event:
release
-
Statement type: