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

Leqiao/fix olive #13114

Merged
merged 15 commits into from Sep 27, 2022
Merged

Leqiao/fix olive #13114

merged 15 commits into from Sep 27, 2022

Conversation

leqiao-1
Copy link
Contributor

Description

Fix OLive build pipeline

Motivation and Context

@leqiao-1 leqiao-1 requested a review from a team as a code owner September 27, 2022 02:15
@@ -71,6 +71,7 @@ if [ "$OS_VERSION" = "20.04" ]; then
add-apt-repository -y ppa:deadsnakes/ppa
apt-get update
apt-get install -y --no-install-recommends \
python${PYTHON_VER}-distutils \
Copy link
Member

Choose a reason for hiding this comment

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

Why does it need to go to this path? Why not just use the default python version? For example, On Ubuntu 20.04 it should be python 3.8.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to python 3.8 and removed this package, since it's only needed for python 3.7

@@ -1,7 +1,7 @@
ARG UBUNTU_VERSION=20.04
FROM ubuntu:${UBUNTU_VERSION}

ARG OPENVINO_VERSION=2022.1.0
ARG OPENVINO_VERSION=2022.2.0
ARG PYTHON_VERSION=3.8
Copy link
Member

Choose a reason for hiding this comment

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

Though this file supports customizing python versions, but do you need to use different python versions in olive tests? If not, please try to use the default one provided by Ubuntu. For example, the default one for Ubuntu 20.04 is python 3.8.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

change default python version to 3.8

@snnn snnn merged commit 43766ee into main Sep 27, 2022
@snnn snnn deleted the leqiao/fix_olive branch September 27, 2022 17:19
linnealovespie pushed a commit that referenced this pull request Sep 30, 2022
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

2 participants