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: Dockerfiles generated by build.py for RHEL require base image specification #7900

Open
wants to merge 3,485 commits into
base: main
Choose a base branch
from

Conversation

saturley-hall
Copy link

@saturley-hall saturley-hall commented Dec 20, 2024

What does the PR do?

Images built for RHEL which did not specify a base image defaulted to Ubuntu 24.04 which caused error during the docker build stage as the yum package manager was unavailable. This change causes build.py to error out with a message should the RHEL target be specified without a base image also being specified.

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

Related PRs:

Where should the reviewer start?

  • CI Pipeline ID:

Caveats:

Specification of a RHEL base image does not guarantee that the container will build as there are internal dependencies that may be missing.

kthui and others added 30 commits January 31, 2024 11:51
* Add test for shutdown while loading

* Fix intermittent failure on test_model_config_overwrite
Adding OpenTelemetry Batch Span Processor
---------

Co-authored-by: Theo Clark <[email protected]>
Co-authored-by: Ryan McCormick <[email protected]>
* Support Double-Type Infer/Response Parameters
* Base Python Backend Support for Windows
* Add unit test reports to L0_dlpack_multi_gpu

* Add unit test reports to L0_warmup
* Add response statistics

* Add L0_response_statistics

* Enable http vs grpc statistics comparison

* Add docs for response statistics protocol

* Add more comments for response statistics test

* Remove model name from config

* Improve docs wordings

* [Continue] Improve docs wordings

* [Continue] Add more comments for response statistics test

* [Continue 2] Improve docs wordings

* Fix typo

* Remove mentioning decoupled from docs

* [Continue 3] Improve docs wordings

* [Continue 4] Improve docs wordings

Co-authored-by: Ryan McCormick <[email protected]>

---------

Co-authored-by: Ryan McCormick <[email protected]>
* Switch to Python model for busyop test

* Clean up

* Address comment

* Remove unused import
* Add cancellation into response statistics

* Add test for response statistics cancel

* Remove debugging print

* Use is None comparison

* Fix docs

* Use default args None

* Refactor RegisterModelStatistics()
* Modify "header_forward_pattern" to match headers case-insensitively. Add unit tests.

* fix indentation

* fix pre-comiit errors

* Update doc

* Update copyright

* Add test case for "(?-i)", which disables regex case-insensitive mode.

* fix pre-commit

* Name each test. Remove support of disabling --http-header-forward-pattern case-insensitive mode on http python client.

* Update .md file.

* fix typo

* Reformat args.

* Fix pre-commit

* Fix test name issue.

* Fix pre-commit.

* Update md file and copyright.
* Update README and versions for 2.43.0 / 24.02

* Update Dockefile to reduce image size.

* Update path in patch file for model generation

Update README.md post-24.02
* patching git repository parameterization from production branch 1

* Fix go package directory name

* pre-commit fixes

* pre-commit fixes

---------

Co-authored-by: kyle <[email protected]>
* Enhance bound check for shm offset

* Add test for enhance bound check for shm offset

* Fix off by 1 on max offset

* Improve comments

* Improve comment and offset

* Separate logic between computation and validation
…6017)

* Allow non-decoupled model to send response and FINAL flag separately

* Update copyright

* Defer sending error until FINAL flag is seen to avoid invalid reference

* Move timestamp capture location

* Delay time-point of response complete timestamp in GPRC and SageMaker endpoint

* Move location of RESPONSE_COMPLETE timestamp capture to better align with the meaning.
Added a test case to check for optional/required input params in a request and appropriate response from server.
Includes addition of 3 simple models with a combination of required/optional input params
Add flag to enable compile of OpenAI support in PA
* Test Correlation Id string support for BLS
* Add AsyncIO HTTP compression test

* Improve command line option handling
nvda-mesharma and others added 17 commits November 21, 2024 10:48
…t version map to dictionary (#7500)

Co-authored-by: Olga Andreeva <[email protected]>
Co-authored-by: Kyle McGill <[email protected]>
Co-authored-by: Anant Sharma <[email protected]>
Co-authored-by: Jacky <[email protected]>
Co-authored-by: Kris Hung <[email protected]>
Co-authored-by: Meenakshi Sharma <[email protected]>
Co-authored-by: Kyle McGill <[email protected]>
@saturley-hall saturley-hall added the PR: build Changes that affect the build system or external dependencies label Dec 20, 2024
@saturley-hall saturley-hall changed the title build: Dockerfiles generated for RHEL specific base img errors build.py build: Dockerfiles generated by build.py for RHEL require base image specification Dec 20, 2024
@fpetrini15 fpetrini15 force-pushed the hsaturleyhal/tprd-806_rhel_without_base_image_errors_build-py branch from 5e05f4f to baf2c09 Compare January 2, 2025 21:38
@pvijayakrish pvijayakrish force-pushed the hsaturleyhal/tprd-806_rhel_without_base_image_errors_build-py branch from 909d3e3 to 7b2f147 Compare January 15, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: build Changes that affect the build system or external dependencies
Development

Successfully merging this pull request may close these issues.