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

Build: Build using the PA binaries and whl if available. #8043

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

pvijayakrish
Copy link
Contributor

What does the PR do?

Build using the PA binaries and whl if available. The PR additionally removes the PA tests that are not maintained from the server repo.

Checklist

  • PR title reflects the change and is of format <commit_type>: <Title>
  • Changes are described in the pull request.
  • Related issues are referenced.
  • Populated github labels field
  • Added test plan and verified test passes.
  • Verified that the PR passes existing CI.
  • Verified copyright is correct on all changed files.
  • Added succinct git squash message before merging ref.
  • All template sections are filled out.
  • Optional: Additional screenshots for behavior/output changes with before/after.

Commit Type:

Check the conventional commit type
box here and add the label to the github PR.

  • build

  • ci

  • docs

  • feat

  • fix

  • perf

  • refactor

  • revert

  • style

  • test

  • CI Pipeline ID:
    24671186

Background

TPRD-718

@pvijayakrish pvijayakrish requested a review from mc-nv February 27, 2025 20:56
Dockerfile.sdk Outdated
&& cd /workspace/perf_analyzer/genai-perf \
&& python3 -m build --wheel --outdir /workspace/install/python
/workspace/perf_analyzer && \
make -j16 perf-analyzer python-clients && \
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we are building this python-clients target twice, can we avoid it?

Dockerfile.sdk Outdated
Comment on lines 251 to 258
RUN if [ "$PERF_ANALYZER_BUILD" = "ON" ]; then \
pip3 install install/python/genai_perf-*.whl; \
else \
mkdir -p /workspace/install/python && \
cp perf_analyzer/genai_perf-*.whl /workspace/install/python/ && \
pip3 install /workspace/install/python/genai_perf-*.whl; \
fi

Copy link
Contributor

Choose a reason for hiding this comment

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

This condition confusing me a bit.
Looks like in the same scenario two wheel packages can be available.

Dockerfile.sdk Outdated
Comment on lines 251 to 258
RUN if [ "$PERF_ANALYZER_BUILD" = "ON" ]; then \
pip3 install install/python/genai_perf-*.whl; \
else \
mkdir -p /workspace/install/python && \
cp perf_analyzer/genai_perf-*.whl /workspace/install/python/ && \
pip3 install /workspace/install/python/genai_perf-*.whl; \
fi

Copy link
Contributor

Choose a reason for hiding this comment

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

This condition confusing me a bit.
Looks like in the same scenario two wheel packages can be available.

Comment on lines +252 to +254

RUN pip3 install install/python/genai_perf-*.whl;

Copy link
Contributor

Choose a reason for hiding this comment

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

This should be removed--it's already run directly above.

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

Successfully merging this pull request may close these issues.

4 participants