-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add Perf Sample Example Section #307
Conversation
Signed-off-by: Tyler Titsworth <[email protected]>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
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.
I reviewed and left my comments, I'll schedule a meeting to discuss more
python/README.md
Outdated
@@ -15,7 +15,7 @@ The images below include variations for only the core packages in the [Intel® D | |||
|
|||
## Build from Source |
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.
after discussion with Alex Rybkin, it seems like build from source option is not relevant for our target users. So, we probably should remove this section if there are no objections
python/README.md
Outdated
@@ -30,6 +30,18 @@ You can find the list of services below for each container in the group: | |||
| `idp` | Base image with [Intel® Distribution for Python] | | |||
| `pip` | Equivalent python image without [Intel® Distribution for Python] | | |||
|
|||
## Run a Performance Sample | |||
|
|||
To run a performance sample, clone the [Intel® AI Containers](https://github.com/intel/ai-containers) repository, follow the main `README.md` file to setup your environment, and run the following commands: |
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.
we don't expect our target users (who may be novice users) to follow the instructions in the main README of containers repo. Instead of it, we need to provide all the needed commands here (not for building from source, but for pulling and running the container).
Signed-off-by: Tyler Titsworth <[email protected]>
|
||
To build the images from source, clone the [Intel® AI Containers](https://github.com/intel/ai-containers) repository, follow the main `README.md` file to setup your environment, and run the following command: | ||
In the previous command, you should see a result at the bottom like: `Time Consuming: 0.03897857666015625`. We can compare this against `python:3.11-slim-bullseye` | ||
|
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
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.
I added a note regarding that
Signed-off-by: Tyler Titsworth <[email protected]>
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.
DX reviewed, approved. Maybe Julia would like to look at it as well to check the language. But in general, I think this version is good for Beta testing
Signed-off-by: Tyler Titsworth <[email protected]>
Signed-off-by: Tyler Titsworth <[email protected]>
Description
Customer Request to add an example for how to run our basic perf sample. See the test file for reference.
Related Issue
n/a
Changes Made
Validation
Ran the command in my terminal
test_runner.py
with all existing tests passing, and I have added new tests where applicable.