Pin standard.def deps via requirements-direct.txt (fixes #19)#47
Open
nevasini1 wants to merge 1 commit into
Open
Pin standard.def deps via requirements-direct.txt (fixes #19)#47nevasini1 wants to merge 1 commit into
nevasini1 wants to merge 1 commit into
Conversation
Fixes aisa-group#19. The unpinned `inspect-ai` and `transformers` in standard.def resolve to versions whose `huggingface-hub` constraints conflict at install time. The working images (vllm_debug, opus_4_6_codex_5_3) already load containers/requirements-direct.txt which pins inspect-ai==0.3.150 alongside transformers==4.57.3 and huggingface-hub==0.36.0. Switch standard.def to the same pattern and pin flash-attn==2.8.3 to match. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author
|
@hrdkbhatnagar @max-andr would be great if you can review this! |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
containers/standard.defto loadcontainers/requirements-direct.txtinstead of installing an unpinned package list inlinevllm_debug.defandopus_4_6_codex_5_3.def, sostandard.defnow picks up the same pinnedinspect-ai==0.3.150,transformers==4.57.3, andhuggingface-hub==0.36.0that resolve cleanly togetherflash-attn==2.8.3(wasflash_attnunpinned) to match the working imagesFixes #19. As @hrdkbhatnagar noted in that thread, the maintainer-recommended pin is
inspect-ai==0.3.150, which is whatrequirements-direct.txtalready provides.Verification
All 20 packages from the previous inline install list are present in
containers/requirements-direct.txt:Container behavior preserved otherwise:
standard.defleft unchanged (claude-code@2.0.55,codex@0.79.0,gemini-cli@0.18.4,opencode-ai@1.1.59)inspect_evalsstill cloned with--depth=1(no pinned commit), matching prior behavior of this image%runscript,%environment,%labels,%helpblocks untouchedTest plan
bash containers/build_container.sh standardsucceeds end-to-endpython -c "import inspect_ai, transformers, huggingface_hub; print(inspect_ai.__version__, transformers.__version__, huggingface_hub.__version__)"reports0.3.150 / 4.57.3 / 0.36.0pip checkinside the image reports no resolver conflicts(Re-opened from a clean fork; previous PR #46 closed.)
🤖 Generated with Claude Code