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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃 Llama2 optimization with multi-ep managed env #1087

Merged
merged 5 commits into from
Apr 24, 2024

Conversation

trajepl
Copy link
Contributor

@trajepl trajepl commented Apr 17, 2024

Describe your changes

  1. Llama2 optimization with multi-ep
  2. Add info-level log to tell the system creation time.
  3. Use device and ep but not only device to determine the default value of use_gpu.

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

Copy link

Check out this pull request on聽 ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB



class RandomDataLoader:
def __init__(
Copy link
Contributor

Choose a reason for hiding this comment

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

We should just provide BandomdataWithKVCache as built-in data-config so that we do not need to keep copying this in user script in every example.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, I have that in mind also there is work item to track it. Let us finish the build-in kv cache data config later.

@trajepl trajepl changed the title 馃 Llama2 optimization with multi-ep 馃 Llama2 optimization with multi-ep managed env Apr 18, 2024
@trajepl trajepl merged commit 60fdd5c into main Apr 24, 2024
35 checks passed
@trajepl trajepl deleted the jiapli/multi_ep_note branch April 24, 2024 02:37
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

3 participants