Skip to content

fix: runtime image install modelscope packages - #448

Closed
tlipoca9 wants to merge 431 commits into
ai-dynamo:mainfrom
tlipoca9:patch-1
Closed

tlipoca9 wants to merge 431 commits into
ai-dynamo:mainfrom
tlipoca9:patch-1

Conversation

@tlipoca9

Copy link
Copy Markdown
Contributor

Overview:

install modelscope packages to support VLLM_USE_MODELSCOPE

copy the line from https://github.com/vllm-project/vllm/blob/main/Dockerfile#L300

saturley-hall and others added 30 commits March 4, 2025 10:21
Co-authored-by: Piotr Tarasiewicz Nvidia <ptarasiewicznv@Piotrs-MacBook-Pro.local>
Co-authored-by: hongkuanz <hongkuanz@nvidia.com>
Co-authored-by: Piotr Tarasiewicz <ptarasiewicz@nvidia.com>
Co-authored-by: Piotr Tarasiewicz Nvidia <ptarasiewicznv@Piotrs-MacBook-Pro.local>
Co-authored-by: Neelay Shah <neelays@ipp2-0493.ipp2u1.colossus.nvidia.com>
Co-authored-by: Neelay Shah <neelays@ipp1-1941.ipp1a1.colossus.nvidia.com>
Co-authored-by: ishandhanani <ishandhanani@gmail.com>
Co-authored-by: Neelay Shah <neelays@4u8g-gen-0078.ipp3a2.colossus.nvidia.com>
Co-authored-by: ptarasiewiczNV <104908264+ptarasiewiczNV@users.noreply.github.com>
Needs more testing but good enough for now. I get the same results with this as with `vllm serve`.
Co-authored-by: Tanmay Verma <tanmayv@nvidia.com>
Co-authored-by: Tanmay Verma <tanmayv@login-eos01.eos.clusters.nvidia.com>
Co-authored-by: Tanmay Verma <tanmay2592@gmail.com>
Co-authored-by: Ryan McCormick <rmccormick@nvidia.com>
Co-authored-by: Graham King <grahamk@nvidia.com>
ai-dynamo#32)

Co-authored-by: ptarasiewiczNV <104908264+ptarasiewiczNV@users.noreply.github.com>
Co-authored-by: ptarasiewicz@nvidia.com <Piotr Tarasiewicz>
Co-authored-by: ptarasiewicz@nvidia.com <Piotr Tarasiewicz>
tedzhouhk and others added 15 commits March 24, 2025 08:37
This lets us do:
```
dynamo-run out=llamacpp <gguf_file>
```

Previously a `--model-config <hf-repo>` was also required, to configure our tokenizer.
…mo#368)

Put the arguments in a JSON file:
```
{
    "dtype": "half",
    "trust_remote_code": true
}
```

Pass it like this:
```
dynamo-run out=sglang ~/llm_models/Llama-3.2-3B-Instruct --extra-engine-args sglang_extra.json
```

Requested here ai-dynamo#290 (`dtype`) and here ai-dynamo#360 (`trust_remote_code`).
@copy-pr-bot

copy-pr-bot Bot commented Mar 31, 2025

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Hi tlipoca9! Thank you for contributing to ai-dynamo/dynamo.

Just a reminder: The NVIDIA Test Github Validation CI runs an essential subset of the testing framework to quickly catch errors.Your PR reviewers may elect to test the changes comprehensively before approving your changes.

🚀

@github-actions github-actions Bot added the external-contribution Pull request is from an external contributor label Mar 31, 2025
@harryskim

Copy link
Copy Markdown
Contributor

Operation team to check license and team to discuss further

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

Labels

contact-us external-contribution Pull request is from an external contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.