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

Add Perf Sample Example Section #307

Merged
merged 6 commits into from
Aug 29, 2024
Merged

Conversation

tylertitsworth
Copy link
Contributor

@tylertitsworth tylertitsworth commented Aug 13, 2024

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

  • The code follows the project's coding standards.
  • No Intel Internal IP is present within the changes.
  • The documentation has been updated to reflect any changes in functionality.

Validation

Ran the command in my terminal

  • I have tested any changes in container groups locally with test_runner.py with all existing tests passing, and I have added new tests where applicable.

Signed-off-by: Tyler Titsworth <[email protected]>
@tylertitsworth tylertitsworth added documentation Improvements or additions to documentation Review labels Aug 13, 2024
@tylertitsworth tylertitsworth self-assigned this Aug 13, 2024
Copy link

github-actions bot commented Aug 13, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

Copy link

@Marina-Zubova Marina-Zubova left a 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

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:

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.

Copy link
Contributor Author

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

python/README.md Show resolved Hide resolved
Tyler Titsworth and others added 2 commits August 16, 2024 16:17
Copy link

@Marina-Zubova Marina-Zubova left a 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

@tylertitsworth tylertitsworth merged commit 1d643a6 into main Aug 29, 2024
5 of 7 checks passed
@tylertitsworth tylertitsworth deleted the tylertitsworth/perf-sample-ex branch August 29, 2024 18:23
tylertitsworth pushed a commit that referenced this pull request Sep 25, 2024
jitendra42 pushed a commit to jitendra42/ai-containers that referenced this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants