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

[Bugfix] Path join when building local path for S3 clone #12353

Merged

Conversation

omer-dayan
Copy link
Contributor

@omer-dayan omer-dayan commented Jan 23, 2025

As arsed in issue #12311,
When running vLLM with S3 path, it clones the meta files locally.

Current state has a bug when building the destination path for every file:
When the S3 path ends with "/" it does not clone the files, due to bug in the building path algorithm.

The solution is to use os.path.join

A workaround for now is to have the path without "/" at the end

FIX #12311

Copy link

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can do one of these:

  • Add ready label to the PR
  • Enable auto-merge.

🚀

Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) January 23, 2025 15:14
@DarkLight1337 DarkLight1337 changed the title Bugfix - Path join when building local path for S3 clone [Bugfix] Path join when building local path for S3 clone Jan 23, 2025
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Jan 23, 2025
@DarkLight1337
Copy link
Member

Please fix the pre-commit error.

Signed-off-by: Omer Dayan (SW-GPU) <omer@run.ai>
@omer-dayan omer-dayan force-pushed the omer/bugfix-s3-path-join branch from 871088e to 557071d Compare January 23, 2025 19:40
@DarkLight1337 DarkLight1337 merged commit 5e5630a into vllm-project:main Jan 24, 2025
44 checks passed
LucasWilkinson pushed a commit to neuralmagic/vllm that referenced this pull request Jan 24, 2025
@omer-dayan omer-dayan deleted the omer/bugfix-s3-path-join branch January 24, 2025 07:49
tjtanaa pushed a commit to EmbeddedLLM/vllm that referenced this pull request Jan 27, 2025
tjtanaa pushed a commit to EmbeddedLLM/vllm that referenced this pull request Jan 27, 2025
tjtanaa pushed a commit to EmbeddedLLM/vllm that referenced this pull request Jan 28, 2025
rasmith pushed a commit to rasmith/vllm that referenced this pull request Jan 30, 2025
Isotr0py pushed a commit to Isotr0py/vllm that referenced this pull request Feb 2, 2025
…t#12353)

Signed-off-by: Omer Dayan (SW-GPU) <omer@run.ai>
Signed-off-by: Isotr0py <2037008807@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ONLY add when PR is ready to merge/full CI is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Usage]: File Access Error When Using RunAI Model Streamer with S3 in VLLM
2 participants