Giter Club home page Giter Club logo

cmr "run mlperf inference generate-run-cmds _submission" --submitter="MLCommons" --hw_name=default --model=bert-99 --implementation=reference --backend=pytorch --device=cpu --scenario=Offline --adr.compiler.tags=gcc --target_qps=1 --category=edge --division=open about ck HOT 3 OPEN

whk6688 avatar whk6688 commented on August 13, 2024
cmr "run mlperf inference generate-run-cmds _submission" --submitter="MLCommons" --hw_name=default --model=bert-99 --implementation=reference --backend=pytorch --device=cpu --scenario=Offline --adr.compiler.tags=gcc --target_qps=1 --category=edge --division=open

from ck.

Comments (3)

arjunsuresh avatar arjunsuresh commented on August 13, 2024

Hi @whk6688 can you please share the source from which this command is taken from? It is missing --execution-mode=valid flag which is needed to do a valid submission run (default is test run). Also, --target_qps option should be avoided or the actual target_qps must be input during a valid run. (When we do a test run, target_qps should be automatically determined by the workflow and later used in the valid run).

cmr "run mlperf inference generate-run-cmds _submission" --submitter="MLCommons" --hw_name=default --model=bert-99 --implementation=reference --backend=pytorch --device=cpu --scenario=Offline --adr.compiler.tags=gcc --category=edge --division=open --execution-mode=valid

from ck.

whk6688 avatar whk6688 commented on August 13, 2024

i found the command in mlcommons project. i will send to you if i find again. besides, i saw the performance report:
image

i run the script:
cm run script --tags=generate-run-cmds,inference,_find-performance,_all-scenarios --model=bert-99 --implementation=reference --device=cpu --backend=onnxruntime --category=edge --division=open --quiet --rerun

================================================
onnx 模式下 bert 的性能

SUT name : PySUT
Scenario : Offline
Mode : PerformanceOnly
Samples per second: 0.670674
Result is : VALID
Min duration satisfied : Yes
Min queries satisfied : Yes
Early stopping satisfied: Yes

================================================
Additional Stats

Min latency (ns) : 10300619946
Max latency (ns) : 14910371096
Mean latency (ns) : 11759452531
50.00 percentile latency (ns) : 10690117315
90.00 percentile latency (ns) : 14910371096
95.00 percentile latency (ns) : 14910371096
97.00 percentile latency (ns) : 14910371096
99.00 percentile latency (ns) : 14910371096
99.90 percentile latency (ns) : 14910371096


Samples per second: 0.670674 ?????
Is there some thing wrong?
thanks!

from ck.

arjunsuresh avatar arjunsuresh commented on August 13, 2024

With --device=cpu option the run happens on the CPU. Please follow this link to run MLPerf on Nvidia Jetson Orin
https://github.com/mlcommons/ck/blob/master/docs/mlperf/setup/setup-nvidia-jetson-orin.md

from ck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.