Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch workflows to use new requirements-iree-*.txt files. #813

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

ScottTodd
Copy link
Member

Progress on #760. We could make the scheduled jobs test both pinned and unpinned versions like on #767.

Cleanup included here:

  • Dropped the "Installing the PyTorch CPU wheels saves multiple minutes and a lot of bandwidth on runner setup." comments since they are repetitive. Could add them back if people find them useful.
  • Stopped installing from the root requirements.txt in some workflows, instead opting to just install from the more specific sharktank/requirements-tests.txt

I did not test the changes to scheduled workflows. Could do that on request, or just revert if we see issues.

.github/workflows/ci-llama-large-tests.yaml Show resolved Hide resolved
.github/workflows/ci-sglang-benchmark.yml Outdated Show resolved Hide resolved
.github/workflows/ci-sglang-integration-tests.yml Outdated Show resolved Hide resolved
pip install --no-compile -r pytorch-cpu-requirements.txt
pip install -r requirements-iree-unpinned.txt
pip install --no-compile \
-r sharktank/requirements-tests.txt \
Copy link
Collaborator

Choose a reason for hiding this comment

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

As above.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not following here. What change do you want made?

I believe

          pip install --no-compile \
            -r sharktank/requirements-tests.txt \
            -e sharktank/

is sufficient, no need to also install sharktank/requirements.txt or sharktank/requirements-dev.txt

Copy link
Collaborator

Choose a reason for hiding this comment

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

As commented above with this, this drops installing the dependencies specified in sharktank/requirements-dev.txt. Just wanted to point out that this is the same here but that might have been a little to short. No change needed.

@ScottTodd ScottTodd requested a review from marbre January 13, 2025 18:45
Copy link
Collaborator

@marbre marbre left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@ScottTodd ScottTodd merged commit 498193c into nod-ai:main Jan 13, 2025
34 checks passed
@ScottTodd ScottTodd deleted the requirements-iree-unpinned branch January 13, 2025 21:00
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.

4 participants