Skip to content

Remove training packages from onnxruntime-ios-packaging-pipeline #25451

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

vraspar
Copy link
Contributor

@vraspar vraspar commented Jul 18, 2025

Description

remove support for multiple package variants (Full and Training) in the Apple packaging pipeline, consolidating the codebase to only support the Full variant. The changes simplify the code by eliminating the PackageVariant enum, related logic, and configuration files for the Training variant.

@vraspar vraspar marked this pull request as ready for review July 18, 2025 18:42
@vraspar vraspar requested review from edgchen1 and prathikr July 18, 2025 18:42
@snnn
Copy link
Member

snnn commented Jul 18, 2025

It's failing:

test_apple_packages.py: error: unrecognized arguments: --variant Full

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You can commit the suggested changes from lintrunner.

edgchen1
edgchen1 previously approved these changes Jul 22, 2025
…-packaging-build-stage.yml

Co-authored-by: Edward Chen <[email protected]>
@vraspar vraspar requested a review from edgchen1 July 30, 2025 19:37


def get_pod_config_file(package_variant: PackageVariant):
def get_pod_config_file():
"""
Gets the pod configuration file path for the given package variant.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Gets the pod configuration file path for the given package variant.
Gets the pod configuration file path.

copy_repo_relative_to_dir,
gen_file_from_template,
get_podspec_values,
load_json_config,
)


def get_pod_config_file(package_variant: PackageVariant):
def get_pod_config_file():
"""
Gets the pod configuration file path for the given package variant.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Gets the pod configuration file path for the given package variant.
Gets the pod configuration file path.

@@ -84,35 +83,25 @@
}


def get_pod_files(package_variant: PackageVariant):
def get_pod_files():
"""
Gets the source and header files for the given package variant.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Gets the source and header files for the given package variant.
Gets the source and header files.

@snnn
Copy link
Member

snnn commented Jul 30, 2025

Hope we can get it included in this upcoming release.

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.

3 participants