alibaba / alibaba/euler

euler训练protobuf冲突:File already exists in database: graph_service.proto

Open
#115 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.9k
Forks
553
PR merge metrics
No merged PRs in 30d

Description

运行horovod改造后的tf_euler/python/run_loop.py,报错如下:
[libprotobuf ERROR external/protobuf_archive/src/google/protobuf/descriptor_database.cc:58] File already exists in database: graph_service.proto
[libprotobuf FATAL external/protobuf_archive/src/google/protobuf/descriptor.cc:1401] CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
terminate called after throwing an instance of 'google::protobuf::FatalException'
怀疑是由于euler和tensorflow都是静态链接了libprotobuf。
请问有遇到类似问题的吗,或者讨论下解决思路,感谢🙏

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by running tf_euler/python/run_loop.py with the Horovod changes, and start from the reported protobuf descriptor_database.cc and descriptor.cc locations. Investigate how Euler and TensorFlow link libprotobuf, then document the cause and a validated resolution for the graph_service.proto registration conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python, tensorflow
Domain
backend, distributed-systems, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.