Giter Club home page Giter Club logo

Comments (5)

gfursin avatar gfursin commented on September 16, 2024

Hi! Can you provide the original CM command and the full log (including where you build loadgen), please?

I tested CM workflow to run MLPerf on Windows with x64 but I don't think we ever tried to run it with ARM64 on Windows (I don't have an access to such a platform) ...

It will be useful to add such a support! Thanks!

from ck.

led555 avatar led555 commented on September 16, 2024

Hello,

It appears the loadgen is located here : C:\Users\xxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\mlperf_loadgen-4.0.dist-info

I buit loadgen from this location : C:\ML Commons benchmarking\inference-master\mlperf_inference\loadgen

when I run this command : cm run script "test mlperf-inference-win retinanet windows" , I get this:

` C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\arm64\Microsoft.Common.CurrentVersion.targets(839,5): error : The BaseOutputPath/OutputPath property is not set for project 'VCTargetsPath.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='ARM64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\Users\xxx\CM\repos\local\cache\38b305ec229b43d0\inference\loadgen\CMakeFiles\3.28.3\VCTargetsPath.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.07

Exit code: 1

-- Configuring incomplete, errors occurred!

CM error: Portable CM script failed (name = get-mlperf-inference-loadgen, return code = 1)`

when I run this command : cmr "run mlperf inference generate-run-cmds _submission" --quiet --submitter="MLCommons" --hw_name=default --model=resnet50 --implementation=reference --backend=onnxruntime --device=cpu --scenario=Offline --adr.compiler.tags=gcc --target_qps=1 --category=edge --division=open , I get this :

`Path to the MLPerf inference benchmark configuration file: C:\Users\xxx\CM\repos\local\cache\38b305ec229b43d0\inference\mlperf.conf
Path to MLPerf inference benchmark sources: C:\Users\xxx\CM\repos\local\cache\38b305ec229b43d0\inference

  * cm run script "get cl gcc"

CM error: no scripts were found with above tags (when variations ignored)!
`

from ck.

gfursin avatar gfursin commented on September 16, 2024

I didn't have time to look at it yet (had several deadlines) but I remember that there was an issue with CM scripts running on Windows with paths that have spaces ... Do you think you can try to create a test user without spaces and use work directory also without spaces? Maybe it will help?

from ck.

led555 avatar led555 commented on September 16, 2024

Hello,

I removed spaces from the file paths as much as I could. I still get this error:

"C:\Users\xxx\CM\repos\local\cache\e5c509c0e17e46e3\inference\loadgen\CMakeFiles\3.28.3\VCTargetsPath.vcxproj" (default target) (1) ->
(_CheckForInvalidConfigurationAndPlatform target) ->
  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\arm64\Microsoft.Common.CurrentVersion.targets(839,5): error : The BaseOutputPath/OutputPath property is not set for project 'VCTargetsPath.vcxproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='ARM64'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\Users\xxx\CM\repos\local\cache\e5c509c0e17e46e3\inference\loadgen\CMakeFiles\3.28.3\VCTargetsPath.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.07

Exit code: 1

-- Configuring incomplete, errors occurred!

CM error: Portable CM script failed (name = get-mlperf-inference-loadgen, return code = 1)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note that it may be a portability issue of a third-party tool or a native script
wrapped and unified by this automation recipe (CM script). In such case,
please report this issue with a full log at "https://github.com/mlcommons/ck".
The CM concept is to collaboratively fix such issues inside portable CM scripts
to make existing tools and native scripts more portable, interoperable
and deterministic. Thank you!

from ck.

led555 avatar led555 commented on September 16, 2024

do you think this path may be problematic?: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools...

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.