Skip to content

Conversation

@bpkroth
Copy link
Contributor

@bpkroth bpkroth commented Jul 23, 2024

Revamp of #806 with the fix as well.

Adds code to handle appropriate scaling and type conversion and checking of the inverted config.

Splits that code out to a separate method for individual configs to make pylint happy and improve code readability.

motus and others added 12 commits July 17, 2024 16:55
These changes are mainly to add flexibility to the auth service in
supporting azure authenticating via:

- A personal identity via az CLI for the local dev environment. This
will still run into expiring issues, but is probably fine for local dev.
- A personal or managed identity in an azure hosted environment. The
flexibility to use the managed identity allows us to avoid the expiring
issue without needing a separate SP, key-vault and cert setup, aligning
with new security recommendations.

---------

Co-authored-by: Eu Jing Chua <eujingchua@microsoft.com>
Co-authored-by: Sergiy Matusevych <sergiym@microsoft.com>
Mypy got updated to v 1.11 recently
We need these mypy fixes to make other PRs pass the CI tests
Closes microsoft#785 

Also, add more unit tests to make sure the optimizer handles string
inputs correctly.

---------

Co-authored-by: Brian Kroth <bpkroth@users.noreply.github.com>
@bpkroth
Copy link
Contributor Author

bpkroth commented Jul 23, 2024

@kkanellis please have a look at this when you get a chance. Pretty sure the clipping is the appropriate thing to do, but another set of eyes would be good. Thanks!

@bpkroth bpkroth requested a review from motus July 24, 2024 19:48
Copy link
Member

@motus motus left a comment

Choose a reason for hiding this comment

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

pushed a few small fixes; will merge into master and of @kkanellis has some updates, we'll do it in the subsequent PRs.

@motus motus merged commit 7fd4ef3 into microsoft:main Jul 29, 2024
@bpkroth bpkroth deleted the sergiym/opt/llamatune_inv branch July 29, 2024 20:41
motus added a commit that referenced this pull request Aug 19, 2024
Follow on to #812 

Closes #813

---------

Co-authored-by: Sergiy Matusevych <sergiym@microsoft.com>
Co-authored-by: Eu Jing Chua <chuaeujing@gmail.com>
Co-authored-by: Eu Jing Chua <eujingchua@microsoft.com>
Co-authored-by: Sergiy Matusevych <sergiy.matusevych@gmail.com>
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.

LlamaTune inverse_trainsform() produces invalid configuration

3 participants