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

Main #3

Merged
merged 27 commits into from
Oct 9, 2024
Merged

Main #3

merged 27 commits into from
Oct 9, 2024

Conversation

zyearw1024
Copy link
Owner

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily receiving feedbacks. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Please describe the motivation of this PR and the goal you want to achieve through this PR.

Modification

Please briefly describe what modification is made in this PR.

BC-breaking (Optional)

Does the modification introduce changes that break the backward-compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.

Use cases (Optional)

If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness.
  3. If the modification has a dependency on downstream projects of a newer version, this PR should be tested with all supported versions of downstream projects.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

lvhan028 and others added 27 commits September 18, 2024 14:33
* support specifying data type

* update

* update

* add dtype in CLI

* add user specified dtype for pytorch engine

* update log

* fix linting & ut

* fix vl

* minor
* update

* update

* update

* update

* update

* update

* update

* update

* update

* updaet

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* updaste

* update
* add silu kernel, optimize apply rotary kernek

* add ut

* lint

* fix fused moe
* check max_batch_size

* add max_log_len option to control length of printed log

* minor fix

* remove autotest/README.md

* missed docstring

* change log format
* Support minicpm3-4b

* update doc and fix typo

* comments

* sum -> max

* add TODO

* use pytorch engine's rotary embedding
* support qwen2-vl in pytorch backend

* udpate docs

* fix inference

* update docs

* fix Qwen/Qwen2-VL-2B-Instruct

* fix pytorch.chat

* add transformers version check

* update supported models
* Refine proxy server usage

* fix

* add cli and refine documents

* documents

* api keys
* llama demo

* all models
* add get logits

* optimize sampling

* optimize prefill kernel

* rename gather
* refactor lora tp1

* support baichuan tp=2

* tuning lora

* support awq/w8a8 lora

* update docs

* update pipeline.md

* add download adapters

* fix adapter id fill zero
* log error before throw exception

* add try-exception in forward thread

* update

* update

* update

* miss messages

* fix

* update

* update
* support noaligned silu_and_mul

* remove dist utils

* fix pow2

* minicpm3 cudagraph

* update ut
* update

* update

* update

* update

* update

* update

* update

* updatre

* update

* update

* update

* update

* update

* update

* updaste

* update
* Fix chatglm tokenizer failed when transformers>=4.45.0

* fix chatglm2-6b
…er prefill (InternLM#2499)

* fix get_ppl

* update

* update

* remove get_ppl from engine.py

* fix according to reviewer comments

* fix

* update

* keep logits.device unchanged

* require input_ids have the same length

* rollback user guide

* update

* split batch dim

* apply torch.cuda.empty_cache()
* bump version to v0.6.1

* update
* updaste

* update

* update

* update

* update

* update

* update

* update
* add check for device with cap 7.x

* update hint

* update->upgrade
@zyearw1024 zyearw1024 merged commit d8432ae into develop Oct 9, 2024
20 of 25 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.