Skip to content

Conversation

@wubai
Copy link

@wubai wubai commented Apr 25, 2025

error message:

ValueError: Unsupported dataset path: /opt/dataset/LLaVA-OneVision-Data. Huggingface dataset only supports dataset_path from one of following: {'lmarena-ai/VisionArena-Chat', 'lmms-lab/LLaVA-OneVision-Data', 'AI-MO/aimo-validation-aime', 'Aeala/ShareGPT_Vicuna_unfiltered', 'AI-MO/NuminaMath-1.5', 'AI-MO/NuminaMath-CoT', 'lmarena-ai/vision-arena-bench-v0.1', 'likaixin/InstructCoder'}. Please consider contributing if you would like to add support for additional dataset formats.

Benchmark serving could not use local dataset path. So, check if dataset_path is available only depend on basename.

@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

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 either: Add ready label to the PR or enable auto-merge.

🚀

@russellb
Copy link
Member

Can you add the Signed-off-by header to your commit messages so the DCO check will pass in CI? Thanks!

@wubai
Copy link
Author

wubai commented Apr 27, 2025

Can you add the Signed-off-by header to your commit messages so the DCO check will pass in CI? Thanks!

Done.

@DarkLight1337 DarkLight1337 requested a review from mgoin April 27, 2025 13:42
Copy link
Member

Choose a reason for hiding this comment

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

This seems to change the behavior - not sure if it's correct?

>>> import os
>>> os.path.basename("lmms-lab/LLaVA-OneVision-Data")
'LLaVA-OneVision-Data'

Previously, the full string lmms-lab/LLaVA-OneVision-Data would be accepted, but now it would not.

Copy link
Author

Choose a reason for hiding this comment

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

lmms-lab/LLaVA-OneVision-Data would be accepted, because:

dataset_name = os.path.basename("lmms-lab/LLaVA-OneVision-Data")
dasaset_name would be 'LLaVA-OneVision-Data'
then

supported_datasets = {
            os.path.basename(path)
            for path in {'lmms-lab/LLaVA-OneVision-Data', 'Aeala/ShareGPT_Vicuna_unfiltered'}
        }

supported_datasets would be {'LLaVA-OneVision-Data', 'ShareGPT_Vicuna_unfiltered'}
so,
dasaset_name in supported_datasets
return True

Copy link
Member

Choose a reason for hiding this comment

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

ah, I see.

but that also means that asdfadsfasdfa/LLaVA-OpenVision-Data would be considered valid?

Copy link
Author

@wubai wubai Apr 30, 2025

Choose a reason for hiding this comment

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

yes.
Or I can check two conditions, one for hugging face name like lmms-lab/LLaVA-OneVision-Data, another for complete local path like /opt/dataset/LLaVA-OneVision-Data'.

asdfadsfasdfa/LLaVA-OpenVision-Data is not valid, /asdfadsfasdfa/LLaVA-OpenVision-Data is valid and lmms-lab/LLaVA-OneVision-Data is valid.

@mergify
Copy link

mergify bot commented Apr 29, 2025

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @wubai.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@knlnguyen1802
Copy link
Contributor

@wubai @russellb May I know why this PR close without merge, I am looking for this too.

@herotai214
Copy link
Contributor

@wubai @russellb yes exactly; supporting local dataset path would definitely be a very helpful feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants