This repository was archived by the owner on Apr 23, 2026. It is now read-only.
use constraints-dev.txt in e2e tests (backport #3320)#3330
Merged
booxter merged 1 commit intorelease-v0.26from Apr 30, 2025
Merged
use constraints-dev.txt in e2e tests (backport #3320)#3330booxter merged 1 commit intorelease-v0.26from
constraints-dev.txt in e2e tests (backport #3320)#3330booxter merged 1 commit intorelease-v0.26from
Conversation
For instructlab, "pip install ." does not install vllm, but it does install an uncapped torch (2.7.0 currently). When we install vllm later, we compile a binary flash_attn wheel against torch 2.7.0. vllm 0.8.4 requires torch==2.6.0, so we downgrade torch, and then we use that with the incompatible flash_attn binary wheel. To resolve this, use constraints-dev.txt in the first pip install operation. This restricts torch to 2.6.0 immediately when we first install instructlab, so that we will compile flash_attn against that torch version. Signed-off-by: Ken Dreyer <[email protected]> (cherry picked from commit 8a11c90) # Conflicts: # .github/workflows/e2e-nvidia-l40s-x4-py312.yml
Contributor
Author
|
Cherry-pick of 8a11c90 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
cdoern
approved these changes
Apr 30, 2025
booxter
approved these changes
Apr 30, 2025
Contributor
booxter
left a comment
There was a problem hiding this comment.
The failure is for what this patch is fixing (and since workflows from the PR are not used in the run, we'll have to merge it ignoring the failure).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For instructlab,
pip install .does not installvllm, but it does install an uncappedtorch(2.7.0currently).When we install
vllmlater, we compile a binaryflash_attnwheel againsttorch 2.7.0.vllm 0.8.4requirestorch==2.6.0, so we downgradetorch, and then we use that with the incompatibleflash_attnbinary wheel.ImportErrorlooks like:To resolve this, use
constraints-dev.txtin the firstpip installoperation. This restrictstorchto2.6.0immediately when we first install instructlab, so that we will compileflash_attnagainst thattorchversion.This is an automatic backport of pull request #3320 done by Mergify.