Skip to content

[CPBench] Benchmarking Wrapper#1168

Open
lehendo wants to merge 2 commits into
sunlabuiuc:masterfrom
lehendo:cpbench
Open

[CPBench] Benchmarking Wrapper#1168
lehendo wants to merge 2 commits into
sunlabuiuc:masterfrom
lehendo:cpbench

Conversation

@lehendo

@lehendo lehendo commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Benchmarking wrapper for the CPBench project.

Usage:

List what's available:

python benchmarks/cpbench/benchmark.py --list

Full benchmark run (trains from scratch, tests at α = 0.01, 0.05, 0.10, 0.20):

python benchmarks/cpbench/benchmark.py \
    --task sleep_staging_isruc \
    --method label \
    --data-path /path/to/ISRUC-I

Skip training with a saved checkpoint:

python benchmarks/cpbench/benchmark.py \
    --task sleep_staging_isruc \
    --method label \
    --data-path /path/to/ISRUC-I \
    --checkpoint /path/to/model.pth

Quick smoke-test (uses a tiny data subset, runs only α = 0.10):

python benchmarks/cpbench/benchmark.py \
    --task sleep_staging_isruc \
    --method base \
    --data-path /path/to/ISRUC-I \
    --dev

Save results to JSON for aggregating across runs:

python benchmarks/cpbench/benchmark.py \
    --task sleep_staging_isruc \
    --method label \
    --data-path /path/to/ISRUC-I \
    --output results/isruc_label.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants