-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Leqiao/fix olive #13114
Conversation
@@ -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 \ |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Description
Fix OLive build pipeline
Motivation and Context