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] Add test case to run examples scripts #3638

Merged
merged 4 commits into from
Mar 28, 2024

Conversation

simon-mo
Copy link
Collaborator

Closes #3618

@@ -72,13 +72,13 @@ def main(args):
help="image input type")
args = parser.parse_args()
# Download from s3
s3_bucket_path = "s3://air-example-data-2/vllm_opensource_llava/"
s3_bucket_path = "s3://anonymous@air-example-data-2/vllm_opensource_llava/"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
s3_bucket_path = "s3://anonymous@air-example-data-2/vllm_opensource_llava/"
s3_bucket_path = "s3://air-example-data-2/vllm_opensource_llava/"

local_directory = "images"

# Make sure the local directory exists or create it
os.makedirs(local_directory, exist_ok=True)

# Use AWS CLI to sync the directory
# Use AWS CLI to sync the directory, assume anonymous access
subprocess.check_call(
["aws", "s3", "sync", s3_bucket_path, local_directory])
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Todo add --no-sign-request

Copy link
Member

@youkaichao youkaichao left a comment

Choose a reason for hiding this comment

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

LGTM

@youkaichao youkaichao merged commit a4075cb into vllm-project:main Mar 28, 2024
34 checks passed
xjpang pushed a commit to xjpang/vllm that referenced this pull request Mar 31, 2024
Temirulan pushed a commit to Temirulan/vllm-whisper that referenced this pull request Sep 6, 2024
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.

[CI] Test examples in CI
3 participants