fix: add missing requirements.txt for smart_coding example#577
Conversation
Signed-off-by: Parv Agrawal <agrawalparv13@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 31groot The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Code Review
This pull request introduces a requirements.txt file for the smart_coding example, defining its Python dependencies. Feedback is provided to increase the minimum version of transformers to at least 4.37.0 to support Qwen2 architectures and to add accelerate to the requirements, as it is required for automatic device mapping.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
/assign @jaypume |
What type of PR is this?
/kind documentation
What this PR does / why we need it:
smart_codingexample (bothcommentandissuesub-examples) had norequirements.txt. Contributors hitModuleNotFoundErrorfor numpy,tqdm, openai, and transformers with no guidance on what to install.
Dependencies identified from imports in:
comment/testalgorithms/gen/basemodel.pyissue/testalgorithms/gen/basemodel.pyWhich issue(s) this PR fixes:
Fixes #563