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

Revert changes required to pass CI after python version change #184

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

sovrasov
Copy link
Collaborator

@sovrasov sovrasov commented Jun 12, 2024

  • Restore pip cache
  • Del forcing cpp14 for win tests

@sovrasov sovrasov added this to the 0.2.1 milestone Jun 12, 2024
@@ -108,7 +109,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.9
#cache: pip
cache: pip
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just in case, I don't think we need caching at all. Enabling the cache just downloads an archive from GitHub instead of PyPI. Moreover as far as I understand, modern pip downloads packages asynchronously all at the same time which may even outperform archive download.

Copy link
Collaborator Author

@sovrasov sovrasov Jun 12, 2024

Choose a reason for hiding this comment

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

Haven't heard pip is parallel, I found a comparison with other python package installers here: https://pythonspeed.com/articles/faster-pip-installs/
pip logs also make an impression the packages are downloaded installed and sequentially.
pip is faster when cache is not empty, according to the paper. I'd expect, GHA could fetch it's own cache faster than pip downloads packages from some 3rd party mirrors

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ok. Up to you

@sovrasov sovrasov marked this pull request as ready for review June 12, 2024 14:22
@sovrasov sovrasov merged commit a9c116d into openvinotoolkit:master Jun 12, 2024
15 checks passed
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.

2 participants