Skip to content

Revert "Move pip install to dedicated GitHub Actions steps"#219

Merged
functionstackx merged 1 commit into
mainfrom
revert-206-copilot/update-github-action-workflow
Nov 10, 2025
Merged

Revert "Move pip install to dedicated GitHub Actions steps"#219
functionstackx merged 1 commit into
mainfrom
revert-206-copilot/update-github-action-workflow

Conversation

@functionstackx
Copy link
Copy Markdown
Collaborator

Reverts InferenceMAX/InferenceMAX#206

@functionstackx functionstackx requested a review from a team as a code owner November 10, 2025 19:53
Copilot AI review requested due to automatic review settings November 10, 2025 19:53
@functionstackx functionstackx merged commit 167b724 into main Nov 10, 2025
@functionstackx functionstackx deleted the revert-206-copilot/update-github-action-workflow branch November 10, 2025 19:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR reverts a previous change that moved pip install commands to dedicated GitHub Actions steps. The revert consolidates dependency installation back into the run commands where the dependencies are used.

Key Changes:

  • Removes dedicated "Set up Python" and "Install dependencies" steps from workflow files
  • Moves pip install commands inline with the Python scripts that use them
  • Adjusts the timing of dependency installation to occur immediately before usage

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
.github/workflows/label-validation.yml Removes Python setup steps and moves pip install inline with Python script execution
.github/workflows/full-sweep-test.yml Removes Python setup steps and moves pip install inline with script execution
.github/workflows/full-sweep-8k1k-scheduler.yml Removes Python setup steps and moves pip install inline with script execution
.github/workflows/full-sweep-1k8k-scheduler.yml Removes Python setup steps and moves pip install inline with script execution
.github/workflows/full-sweep-1k1k-scheduler.yml Removes Python setup steps and moves pip install inline with script execution
.github/workflows/e2e-tests.yml Removes Python setup steps and moves pip install inline with script execution
.github/workflows/collect-results.yml Removes Python setup step and moves matplotlib installation inline with plotting script

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

# Generate configs for standard labels
all_configs = []
if matching:
subprocess.run(['pip', 'install', 'pydantic'], check=True)
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The pyyaml dependency is missing from the pip install command. The original code installed both pydantic and pyyaml, but after the revert only pydantic is being installed. This will cause failures if the script requires the pyyaml package.

Suggested change
subprocess.run(['pip', 'install', 'pydantic'], check=True)
subprocess.run(['pip', 'install', 'pydantic', 'pyyaml'], check=True)

Copilot uses AI. Check for mistakes.
# discrete inputs (i.e., run_1k1k, run_h100, etc.) to split the test sweep into discrete jobs
- id: generate-configs
run: |
pip install pydantic
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The pyyaml dependency is missing from the pip install command. The original code installed both pydantic and pyyaml, but after the revert only pydantic is being installed. This will cause failures if the generate_sweep_configs.py script requires the pyyaml package.

Suggested change
pip install pydantic
pip install pydantic pyyaml

Copilot uses AI. Check for mistakes.

- id: get-dsr1-configs
run: |
pip install pydantic
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The pyyaml dependency is missing from the pip install command. The original code installed both pydantic and pyyaml, but after the revert only pydantic is being installed. This will cause failures if the generate_sweep_configs.py script requires the pyyaml package.

Copilot uses AI. Check for mistakes.

- id: get-gptoss-configs
run: |
pip install pydantic
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The pyyaml dependency is missing from the pip install command. The original code installed both pydantic and pyyaml, but after the revert only pydantic is being installed. This will cause failures if the generate_sweep_configs.py script requires the pyyaml package.

Copilot uses AI. Check for mistakes.

- id: get-dsr1-configs
run: |
pip install pydantic
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The pyyaml dependency is missing from the pip install command. The original code installed both pydantic and pyyaml, but after the revert only pydantic is being installed. This will cause failures if the generate_sweep_configs.py script requires the pyyaml package.

Copilot uses AI. Check for mistakes.

- id: get-gptoss-configs
run: |
pip install pydantic
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The pyyaml dependency is missing from the pip install command. The original code installed both pydantic and pyyaml, but after the revert only pydantic is being installed. This will cause failures if the generate_sweep_configs.py script requires the pyyaml package.

Copilot uses AI. Check for mistakes.

- id: get-dsr1-configs
run: |
pip install pydantic
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The pyyaml dependency is missing from the pip install command. The original code installed both pydantic and pyyaml, but after the revert only pydantic is being installed. This will cause failures if the generate_sweep_configs.py script requires the pyyaml package.

Copilot uses AI. Check for mistakes.

- id: get-gptoss-configs
run: |
pip install pydantic
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The pyyaml dependency is missing from the pip install command. The original code installed both pydantic and pyyaml, but after the revert only pydantic is being installed. This will cause failures if the generate_sweep_configs.py script requires the pyyaml package.

Copilot uses AI. Check for mistakes.

- id: get-jobs
run: |
pip install pydantic
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

The pyyaml dependency is missing from the pip install command. The original code installed both pydantic and pyyaml, but after the revert only pydantic is being installed. This will cause failures if the generate_sweep_configs.py script requires the pyyaml package.

Suggested change
pip install pydantic
pip install pydantic pyyaml

Copilot uses AI. Check for mistakes.
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.

2 participants