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

[LLM] Update dependencies for vllm example #3118

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

Michaelvll
Copy link
Collaborator

@Michaelvll Michaelvll commented Feb 7, 2024

This is to simplify the dependencies for the vllm examples.

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
    • sky launch -c test llm/vllm/service.yaml --env HF_TOKEN=xxxx
    • sky serve up -n test llm/vllm/service.yaml with HF_TOKEN replaced
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: bash tests/backward_comaptibility_tests.sh

pip install fschat
pip install accelerate
pip list | grep vllm || pip install vllm==0.3.0
pip install git+https://github.com/huggingface/transformers
Copy link
Collaborator

Choose a reason for hiding this comment

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

should we specify a version/commit hash? I'm not sure if it is robust enough since the master branch is accepting new commits everyday?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point! Pinned the version for transformers.

@Michaelvll Michaelvll merged commit 1399136 into master Feb 9, 2024
19 checks passed
@Michaelvll Michaelvll deleted the update-dependency-for-vllm-example branch February 9, 2024 17:38
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

2 participants