-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
base: main
Are you sure you want to change the base?
Conversation
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 && \ |
There was a problem hiding this comment.
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
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 | ||
|
There was a problem hiding this comment.
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
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 | ||
|
There was a problem hiding this comment.
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.
|
||
RUN pip3 install install/python/genai_perf-*.whl; | ||
|
There was a problem hiding this comment.
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.
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
<commit_type>: <Title>
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