mlcommons / mlcommons/cm4mlops

Miniconda Issue Running MLPerf Inference on Windows 11: '锘?CM_CONDA_BIN_WITH_PATH' is not recognized as an internal or external command

Open
#645 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
20
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Environment Details:

  • Operating System: Windows 11
  • MLPerf Version: 4.1
  • Model: ResNet50
  • Python Version: 3.11.9
  • Device: CPU

Description:
I am trying to run MLPerf Inference on Windows 11, following the instructions provided.

cm run script --tags=run-mlperf,inference,_r4.1-dev --model=resnet50 --implementation=intel --framework=pytorch --category=edge --scenario=Offline --execution_mode=valid --device=cpu --quiet

The script proceeds to the step where Miniconda is downloaded and installed, but after the installation is complete, the following error is thrown:

'锘?CM_CONDA_BIN_WITH_PATH' is not recognized as an internal or external command,
operable program or batch file.

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

Troubleshooting Attempts:

  1. Manually added the PATH to the user environment variables. After this, running conda.exe from the cmd prompt can work, but no help.
  2. Manually added the CM_CONDA_BIN_WITH_PATH variable to the user environment variables. After this, running %CM_CONDA_BIN_WITH_PATH% --version, it can work, but no help.
  3. Manually added the 锘?CM_CONDA_BIN_WITH_PATH variable to the user environment variables. After this, running %锘?CM_CONDA_BIN_WITH_PATH% --version, it can work, but no help.

Please help :) Thanks.

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

Reproduce the Windows 11 command and inspect the portable CM script named get-conda, focusing on why the CM_CONDA_BIN_WITH_PATH command contains the malformed prefix. Done means the Miniconda setup completes and the MLPerf Inference command runs without the command-not-recognized error.

Written by the indexing model from the issue text.

Assessment

Tech stack
machine-learning, python
Domain
devops, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.