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

[azureml model catalog]MLflow-transformer model path #1150

Merged
merged 8 commits into from
May 15, 2024
Merged

Conversation

trajepl
Copy link
Contributor

@trajepl trajepl commented May 13, 2024

Describe your changes

For transformers model like phi2/phi3 in aml model cataklog, it is hosted with mlflow model format.
But Genai require the input model format is standard transformers structure.

This pr is used to fill this gap to let model builder can convert aml mlflow-transformers models.

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.
  • Is this PR including examples changes? If yes, please remember to update example documentation in a follow-up PR.

(Optional) Issue link

@jambayk
Copy link
Contributor

jambayk commented May 14, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jambayk
Copy link
Contributor

jambayk commented May 14, 2024

Please push an empty commit or rebase from main to rerun the lint check which has already been fixed in main.

jambayk
jambayk previously approved these changes May 15, 2024
@trajepl trajepl merged commit 5b1a79b into main May 15, 2024
35 checks passed
@trajepl trajepl deleted the jiapli/mlflow_2_hf branch May 15, 2024 08:12
DavitGrigoryan132 pushed a commit to DavitGrigoryan132/Olive that referenced this pull request Aug 14, 2024
## Describe your changes

For transformers model like phi2/phi3 in aml model cataklog, it is
hosted with mlflow model format.
But Genai require the input model format is standard transformers
structure.

This pr is used to fill this gap to let model builder can convert aml
mlflow-transformers models.

## Checklist before requesting a review
- [ ] Add unit tests for this change.
- [ ] Make sure all tests can pass.
- [ ] Update documents if necessary.
- [ ] Lint and apply fixes to your code by running `lintrunner -a`
- [ ] Is this a user-facing change? If yes, give a description of this
change to be included in the release notes.
- [ ] Is this PR including examples changes? If yes, please remember to
update [example
documentation](https://github.com/microsoft/Olive/blob/main/docs/source/examples.md)
in a follow-up PR.

## (Optional) Issue link
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