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

[ci] use local requirements for test workflow #2569

Merged
merged 3 commits into from
Oct 12, 2024

Conversation

zhulinJulia24
Copy link
Collaborator

Currently dependency package's version release used by lmdeploy may cause testcase to fail.
In order to adjust the dependency package's version more conveniently, use local file to specify the dependency package‘s version.

@zhulinJulia24
Copy link
Collaborator Author

already test installation of daily、benchmark、evaluation and stabel test

@@ -115,7 +109,7 @@ jobs:
python3 -m pip install -e /root/packages/AutoAWQ_kernels
python3 -m pip install /root/packages/autoawq-0.2.6-cp310-cp310-manylinux2014_x86_64.whl --no-deps
python3 -m pip install /root/packages/xformers-0.0.27+cu118-cp310-cp310-manylinux2014_x86_64.whl --no-deps
python3 -m pip install ${{env.dependency_pkgs}}
python3 -m pip install -r /nvme/qa_test_models/offline_pkg/requirements.txt
Copy link
Collaborator

Choose a reason for hiding this comment

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

目前,在lmdeploy/requirements.txt里,都有哪些dependency影响了测试

Copy link
Collaborator Author

@zhulinJulia24 zhulinJulia24 Oct 10, 2024

Choose a reason for hiding this comment

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

目前,在lmdeploy/requirements.txt里,都有哪些dependency影响了测试

目前transformers是额外安装的,transformers>=4.45.0导致了internvl模型用例量化失败了

requirement列表如下,主要是指定了transformers的版本
packaging
transformers_stream_generator
transformers==4.44.2
datasets
matplotlib
openai
attrdict
timm
modelscope
jmespath
decord
auto_gptq
qwen_vl_utils
mmengine-lite==0.10.5
pynvml
protobuf
human_eval

@lvhan028 lvhan028 merged commit 9b52f8d into InternLM:main Oct 12, 2024
3 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