-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Conversation
examples/llava_example.py
Outdated
@@ -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/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s3_bucket_path = "s3://anonymous@air-example-data-2/vllm_opensource_llava/" | |
s3_bucket_path = "s3://air-example-data-2/vllm_opensource_llava/" |
examples/llava_example.py
Outdated
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]) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #3618