microsoft / microsoft/onnxruntime

Duplicated onnx-ml

Open
#5,035 24 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

**Describe the bug**

This is a master-only issue, it's fine on 1.4.0.

My colleague reported master build cannot run.
![image](https://user-images.githubusercontent.com/5203025/92035500-621ff300-eda1-11ea-820d-845f9464cbfc.png)

This usually indicated protobuf schema is loaded twice, most likely from shared+static lib.
We build ort as shared lib and we also have references to pytorch/onnx as shared lib.

**System information**
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS 7
- ONNX Runtime installed from (source or binary): source
- ONNX Runtime version: master
- GCC/Compiler version (if compiling from source): 8
- CUDA/cuDNN version: 11.0/8

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 names no files, tests, or entry points. Start by reproducing the master build on CentOS 7 with GCC 8 and CUDA 11.0/cuDNN 8, then investigate the shared and static ONNX Runtime, PyTorch, and ONNX library combination for duplicated protobuf loading; done means the build runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.