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

[NPU] Example & Quickstart updates #12650

Merged

Conversation

Oscilloscope98
Copy link
Contributor

@Oscilloscope98 Oscilloscope98 commented Jan 3, 2025

Description

Example

  • Remove models with optimize_model=False
  • Refer NPU example main readme to Quickstart
  • Unify verified tables link between Quickstart and examples (add Qwen2-7B-Instruct to examples)
  • Move embedding model into a separate folder
  • Move save/load examples under NPU/HF-Transformers-AutoModels
  • Update troubleshooting regarding accuracy tuning
  • Polish arguments (e.g. low-bit)
    • Remove disable-transpose-value-cache
  • Add sample output in English for CPP examples
  • Add link for CPP folder in main example readme
  • Update main example readme model table linking to examples

Preview: https://github.com/Oscilloscope98/ipex-llm/tree/npu-example-quickstart-updates/python/llm/example/NPU/HF-Transformers-AutoModels

Quickstart

  • Add Save/Load section
  • Improve accuracy tuning section
  • Unify verified tables link between Quickstart and examples
  • Add install cmake for CPP Prerequisites

Preview: https://github.com/Oscilloscope98/ipex-llm/blob/npu-example-quickstart-updates/docs/mddocs/Quickstart/npu_quickstart.md

@Oscilloscope98 Oscilloscope98 changed the title [WIP] NPU Example & Quickstart updates NPU Example & Quickstart updates Jan 6, 2025
@Oscilloscope98 Oscilloscope98 marked this pull request as ready for review January 6, 2025 09:46
@Oscilloscope98 Oscilloscope98 changed the title NPU Example & Quickstart updates [NPU] Example & Quickstart updates Jan 6, 2025
Copy link
Contributor

@plusbang plusbang left a comment

Choose a reason for hiding this comment

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

LGTM

@Oscilloscope98
Copy link
Contributor Author

Merge for now. Will raise another PR for any further comments :)

@Oscilloscope98 Oscilloscope98 merged commit 381d448 into intel:main Jan 7, 2025
1 check 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.

2 participants