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

overrides: add fixups for vllm's both wheel and source mode #1575

Merged
merged 1 commit into from
May 5, 2024

Conversation

Atry
Copy link
Contributor

@Atry Atry commented Mar 25, 2024

Contribution checklist (recommended but not always applicable/required):

  • There's an automated test for this change
  • Commit messages or code include references to related issues or PRs (including third parties)
  • Commit messages are conventional - examples from the log include "feat: add changelog files to fixup hook", "fix(contourpy): allow wheel usage", and "test: add sqlalchemy2 test"

@Atry
Copy link
Contributor Author

Atry commented Mar 25, 2024

This PR partially fixes #1553

@Atry Atry changed the title overrides: add fixups for vllm wheel mode overrides: add fixups for vllm's both wheel and source mode Apr 12, 2024
overrides/default.nix Outdated Show resolved Hide resolved
overrides/default.nix Outdated Show resolved Hide resolved
overrides/default.nix Outdated Show resolved Hide resolved
@Atry Atry requested a review from cpcloud May 3, 2024 04:38
@Atry
Copy link
Contributor Author

Atry commented May 3, 2024

@cpcloud The test failure seems not due to this PR

overrides/default.nix Outdated Show resolved Hide resolved
@cpcloud cpcloud force-pushed the patch-1 branch 2 times, most recently from bd45156 to 2736ad4 Compare May 5, 2024 18:19
[vllm](https://github.com/vllm-project/vllm) is a popular server for LLM inference.

1. `autoPatchelfIgnoreMissingDeps` is set for CUDA shared libraries, similar to existing `xxx-cu11` packages.
2. `lib.optionalAttrs (!old.src.isWheel)` are added for the existing fixups that are not compatible with wheels.
@cpcloud cpcloud enabled auto-merge May 5, 2024 18:34
Copy link
Contributor Author

@Atry Atry left a comment

Choose a reason for hiding this comment

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

Looks good to me

@cpcloud cpcloud merged commit 6677bc7 into nix-community:master May 5, 2024
157 checks passed
@Atry Atry deleted the patch-1 branch May 6, 2024 01:34
@Atry
Copy link
Contributor Author

Atry commented May 6, 2024

vllm 0.3.3 works, but 0.4.1 crashes #1635

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.

None yet

2 participants