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

Add microsoft\phi_1 example #693

Merged
merged 12 commits into from
Nov 12, 2023
Merged

Add microsoft\phi_1 example #693

merged 12 commits into from
Nov 12, 2023

Conversation

zhangxiang1993
Copy link
Member

No description provided.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

lintrunner found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.


```
python .\optimize.py --inference
def print_prime(n):
Copy link
Collaborator

@guotuofeng guotuofeng Nov 5, 2023

Choose a reason for hiding this comment

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

the indentation should be same for two defs? #Resolved

```
# sample inputs
inputs = tokenizer('''def print_prime(n):
"""
Copy link
Collaborator

@guotuofeng guotuofeng Nov 5, 2023

Choose a reason for hiding this comment

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

the left whitespace should be four? #Resolved

}
print(f"Unoptimized Model : {model_info['unoptimized']['path']}")

# Create a copy of the unoptimized model directory, then overwrite with optimized models from the olive cache.
Copy link
Contributor

@PatriceVignola PatriceVignola Nov 5, 2023

Choose a reason for hiding this comment

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

We don't have the optimized models yet, so we can get rid of the second part of the sentence. #Resolved

@zhangxiang1993 zhangxiang1993 merged commit 22764e6 into main Nov 12, 2023
31 checks passed
@jambayk jambayk deleted the user/xianz/phi_1 branch November 13, 2023 23:31
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.

None yet

4 participants