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

Initialize Objective-C bindings #709

Merged
merged 68 commits into from
Dec 12, 2024

Conversation

skyline75489
Copy link
Contributor

@skyline75489 skyline75489 commented Jul 18, 2024

This PR contains Objective-C wrapper code, podspec generation infras and the accompanying test code.

Internal workitem: https://task.ms/aii/35199

src/objectivec/error_utils.h Show resolved Hide resolved
src/objectivec/oga_internal.mm Outdated Show resolved Hide resolved
src/objectivec/oga_internal.h Show resolved Hide resolved
@natke natke requested review from skottmckay, edgchen1 and vraspar July 18, 2024 18:34
Copy link
Contributor

@edgchen1 edgchen1 left a comment

Choose a reason for hiding this comment

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

please document public APIs and add unit tests

src/objectivec/oga_generator_params.mm Outdated Show resolved Hide resolved
src/objectivec/oga_internal.mm Outdated Show resolved Hide resolved
src/objectivec/oga_internal.h Show resolved Hide resolved
src/objectivec/oga_tokenizer.mm Outdated Show resolved Hide resolved
src/objectivec/oga_tokenizer.mm Outdated Show resolved Hide resolved
src/objectivec/error_utils.mm Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/test/model_tests.mm Outdated Show resolved Hide resolved
src/objectivec/test/model_tests.mm Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/oga_internal.h Outdated Show resolved Hide resolved
src/objectivec/oga_sequences.mm Outdated Show resolved Hide resolved
src/objectivec/oga_sequences.mm Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/oga_tensor.mm Outdated Show resolved Hide resolved
src/objectivec/oga_tensor.mm Outdated Show resolved Hide resolved
src/objectivec/oga_tokenizer.mm Outdated Show resolved Hide resolved
src/objectivec/oga_internal.mm Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
.pipelines/stages/jobs/steps/capi-appleframework-step.yml Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/oga_internal.mm Outdated Show resolved Hide resolved
src/objectivec/test/ort_genai_api_test.mm Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/oga_images.mm Outdated Show resolved Hide resolved
src/objectivec/oga_named_tensors.mm Show resolved Hide resolved
src/objectivec/oga_internal.h Outdated Show resolved Hide resolved
src/objectivec/oga_multi_modal_processor.mm Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/test/ort_genai_api_test.mm Show resolved Hide resolved
src/objectivec/test/ort_genai_api_test.mm Show resolved Hide resolved
src/objectivec/test/ort_genai_api_test.mm Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/include/ort_genai_objc.h Outdated Show resolved Hide resolved
src/objectivec/oga_multi_modal_processor.mm Outdated Show resolved Hide resolved
Copy link
Contributor

@edgchen1 edgchen1 left a comment

Choose a reason for hiding this comment

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

looks good. thanks for adding the objective-c API!

@skyline75489 skyline75489 merged commit 8e171c7 into microsoft:main Dec 12, 2024
12 of 13 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.

3 participants