Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[experimental] Test move-support for proto #5575

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gramalingam
Copy link
Contributor

This is a test. Please do not merge.

Testing move-support for proto objects in all platforms/versions tested by CI.

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
@gramalingam gramalingam requested a review from a team as a code owner September 8, 2023 22:10
@@ -0,0 +1,53 @@
// Copyright (c) ONNX Project Contributors

Check warning

Code scanning / lintrunner

CLANGFORMAT/format Warning

See https://clang.llvm.org/docs/ClangFormat.html.
Run lintrunner -a to apply this patch.
Copy link
Member

@jcwchen jcwchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conclude our offline discussion here:

  • The CI failure might be related to Protobuf version. The failed Linux is using Protobuf 3.6.1 from Ubuntu 20.04's apt-get install libprotobuf-dev protobuf-compiler.
  • 3 possible approaches
    • Detect Protobuf version when using move-support for proto
    • Bump Ubuntu version in Linux CI (Ubuntu 20.04 to 22.04), whose Protobuf version from apt-get version is 3.12.4. Not sure whether Protobuf 3.12.4 will work with move-support for proto though. Also note that Ubuntu 20.04 is still a popular/supported version.
    • Drop that test for using apt-get's Protobuf in Linux CI, but in that case Ubuntu 20.04 users cannot build ONNX with Protobuf from apt-get anymore. It might make sense since actually other CIs are using higher Protobuf versions (3.20+)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants