mlcommons / mlcommons/inference

mlcommons_loadgen install erro

Open
#1,832 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.6k
Forks
650
Avg merge
1d 22h
Merged PRs (30d)
6

Description

Processing /home/fangtao/inference/loadgen
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: mlcommons_loadgen
Building wheel for mlcommons_loadgen (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for mlcommons_loadgen (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
running build
running build_ext
g++ -pthread -B /root/miniconda3/envs/llama2-70b/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /root/miniconda3/envs/llama2-70b/include -I/root/miniconda3/envs/llama2-70b/include -fPIC -O2 -isystem /root/miniconda3/envs/llama2-70b/include -fPIC -I/root/miniconda3/envs/llama2-70b/include/python3.9 -c flagcheck.cpp -o flagcheck.o -std=c++17
building 'mlperf_loadgen' extension
g++ -pthread -B /root/miniconda3/envs/llama2-70b/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /root/miniconda3/envs/llama2-70b/include -I/root/miniconda3/envs/llama2-70b/include -fPIC -O2 -isystem /root/miniconda3/envs/llama2-70b/include -fPIC -DMAJOR_VERSION=4 -DMINOR_VERSION=1 -I. -I/tmp/pip-build-env-ghw8xksd/overlay/lib/python3.9/site-packages/pybind11/include -I/root/miniconda3/envs/llama2-70b/include/python3.9 -c bindings/c_api.cc -o build/temp.linux-x86_64-cpython-39/bindings/c_api.o -std=c++17 -fvisibility=hidden -g0
In file included from bindings/c_api.h:28,
from bindings/c_api.cc:13:
bindings/../test_settings.h:267:1: error: version control conflict marker in file
267 | <<<<<<< HEAD
| ^~~~~~~
bindings/../test_settings.h:274:1: error: version control conflict marker in file
274 | =======
| ^~~~~~~
error: command '/usr/bin/g++' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mlcommons_loadgen
Failed to build mlcommons_loadgen
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (mlcommons_loadgen)

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

Start by inspecting test_settings.h around line 267 and the build entry point in bindings/c_api.cc, then reproduce the pip wheel installation failure. Done means the version-control conflict markers no longer prevent the mlcommons_loadgen extension from compiling and the package builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.