Skip to content

Commit

Permalink
Merge branch 'master' into ci/gha/manylinux-python-api
Browse files Browse the repository at this point in the history
  • Loading branch information
akashchi authored Dec 10, 2024
2 parents 8973e66 + f0da707 commit fc1fd95
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/actions/openvino_provider/get_s3_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ def main(product, version_pattern, platform, arch, folder):
matching_files = filter_files_by_criteria(all_files, product, version_pattern, platform, arch, folder)
if matching_files:
logger.info(f"Matching packages: {sorted(matching_files)}")
if len(matching_files) > 1:
custom_release_build_pattern = fr".*/{version_pattern}/(linux_|windows_|macos_).*/.*"
# Exclude custom release builds, if any, from matches
matching_files = [file for file in matching_files if not re.search(custom_release_build_pattern, file)]
package_url = f"https://storage.openvinotoolkit.org{sorted(matching_files)[-1]}"
logger.info(f"Returning package URL: {package_url}")
action_utils.set_github_output("package_url", package_url)
Expand Down
1 change: 1 addition & 0 deletions .github/components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ PyTorch_FE:
build:
- CPU
- Python_API
- TOKENIZERS # PyTorch_FE tests depend on tokenizers build

JAX_FE:
revalidate:
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements_pytorch
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ super-image==0.1.7
huggingface-hub==0.25.2

# use latest released version once it's available
git+https://github.com/huggingface/optimum-intel.git@main; python_version < "3.12"
git+https://github.com/huggingface/optimum-intel.git@5c735487d4bd3dd8d7dccb242d8d5988e7dd4069; python_version < "3.12"
# set 'export HF_HUB_ENABLE_HF_TRANSFER=1' to benefits from hf_transfer
hf_transfer==0.1.8

Expand Down

0 comments on commit fc1fd95

Please sign in to comment.