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 CPU and GPU example for MiniCPM #11202

Merged
merged 13 commits into from
Jun 5, 2024
Merged

Conversation

lzivan
Copy link
Contributor

@lzivan lzivan commented Jun 4, 2024

Description

  • Add model minicpm under example/GPU/HF-Transformers
  • Add model minicpm under example/GPU/PyTorch-Models
  • Fix generate.py and comments in README for minicpm under example/GPU
  • Add model minicpm under example/CPU

lzivan added 5 commits June 3, 2024 20:29
Change former address: "https://docs.conda.io/en/latest/miniconda.html#" to new address: "https://conda-forge.org/download/" for 63 occurrences under python\llm\example
Change "Anaconda Prompt" to "Miniforge Prompt" for 1 occurrence
Update model minicpm under GPU/PyTorch-Models
@Oscilloscope98 Oscilloscope98 changed the title Create and update model minicpm Add CPU and GPU example for minicpm Jun 5, 2024
@Oscilloscope98 Oscilloscope98 changed the title Add CPU and GPU example for minicpm Add CPU and GPU example for MiniCPM Jun 5, 2024
lzivan added 3 commits June 5, 2024 11:35
change "prompt = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=False)" and delete "pip install transformers==4.37.0
"
Update comments for generate.py at minicpm GPU
Copy link
Contributor

@Oscilloscope98 Oscilloscope98 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 Oscilloscope98 merged commit bfa1367 into intel-analytics:main Jun 5, 2024
26 checks 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