Skip to content

fix: add missing requirements.txt for smart_coding example#577

Open
31groot wants to merge 1 commit into
kubeedge:mainfrom
31groot:fix/add-requirements-smart-coding
Open

fix: add missing requirements.txt for smart_coding example#577
31groot wants to merge 1 commit into
kubeedge:mainfrom
31groot:fix/add-requirements-smart-coding

Conversation

@31groot

@31groot 31groot commented Jul 3, 2026

Copy link
Copy Markdown

What type of PR is this?
/kind documentation

What this PR does / why we need it:
smart_coding example (both comment and issue sub-examples) had no
requirements.txt. Contributors hit ModuleNotFoundError for numpy,
tqdm, openai, and transformers with no guidance on what to install.

Dependencies identified from imports in:

  • comment/testalgorithms/gen/basemodel.py
  • issue/testalgorithms/gen/basemodel.py

Which issue(s) this PR fixes:
Fixes #563

Signed-off-by: Parv Agrawal <agrawalparv13@gmail.com>
@kubeedge-bot kubeedge-bot added the kind/documentation Categorizes issue or PR as related to documentation. label Jul 3, 2026
@kubeedge-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 31groot
To complete the pull request process, please assign jaypume after the PR has been reviewed.
You can assign the PR to them by writing /assign @jaypume in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot requested review from Poorunga and hsj576 July 3, 2026 20:10
@kubeedge-bot kubeedge-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 3, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Comment thread examples/smart_coding/requirements.txt
@31groot

31groot commented Jul 3, 2026

Copy link
Copy Markdown
Author

/assign @jaypume

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

Labels

kind/documentation Categorizes issue or PR as related to documentation. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Core setup failures on fresh install: API rename, missing class, wrong docs path, undocumented deps

3 participants