Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Inference latency benchmark

Open Beginner friendly
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python, pytorch

Research direction

Work in src/complexity.py and add latency_ms(model, input_shape=(1,3,64,64), runs=200), which needs 10 warm-up runs, model.eval() and torch.no_grad(), and should record the CPU/device name. Issue #16 is listed as a dependency, so check whether it is merged and what model object it provides before wiring this up. Done when the function returns a positive float in milliseconds.

Written by the indexing model from the issue text.

Description

evaluation

Batch-1 CPU latency.

Files: src/complexity.py

Tasks
  • latency_ms(model, input_shape=(1,3,64,64), runs=200) with 10 warm-up runs
  • Use model.eval() and torch.no_grad()
  • Record the device/CPU name in the output
Done when

Function returns a positive float in milliseconds.

Depends on

#16

Close with a commit or PR message containing Closes #<this issue>.

Dominant language
Jupyter Notebook
Stars
0
Forks
0
Avg merge
1m
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from VisionForgeCSE/CNN-For-Image-Classification

All issues in VisionForgeCSE/CNN-For-Image-Classification

Similar issues

More Machine Learning issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.