cupy / cupy/cupy-benchmark

Avoid fusion precompilation after ASV 0.3.0 is available

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

(This is a reminder issue.)

Current code runs fuse precompilation for N^2 times (where N = number of `def test_*` benchmarks in `bench_fuse`) in one benchmark session (note that asv runs each benchmark in separate process). ASV 0.3.0 will introduce concept of warmup, so I'd like to use it.

https://github.com/cupy/cupy-benchmark/blob/6a8861922c1563d0bafdf6087943ffca711c7d73/benchmarks/cupy/bench_fusion.py#L39

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with benchmarks/cupy/bench_fusion.py at the referenced line and review how ASV 0.3.0 warmup is configured. Confirm the benchmark session currently repeats fuse precompilation for each benchmark pair; done means precompilation is handled through warmup rather than repeated N² times.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.