NVIDIA / NVIDIA/TensorRT

Can TensorRT calculate the number of Params and FLOPs for the model?

Open
#4,219 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triaged
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

Description

I want to measure the performance of the model, so I want to know the number of parameters and FLOPs.

Is there any tool that can calculate the flops and params of the TensorRT engine?

Contributor guide

Open the contributing guide

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.

Research direction

The issue mentions no files, tests, or entry points. Start by investigating TensorRT's existing engine-inspection and profiling tools, then determine whether parameter and FLOP counts are supported for an engine. Done requires a clearly defined, reproducible approach or an explicit statement of the supported limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.