Skip to content

Dockerfile improvements for ARM#777

Merged
trvachov merged 1 commit into
mainfrom
trvachov/docker-update
Apr 2, 2025
Merged

Dockerfile improvements for ARM#777
trvachov merged 1 commit into
mainfrom
trvachov/docker-update

Conversation

@trvachov
Copy link
Copy Markdown
Collaborator

@trvachov trvachov commented Mar 22, 2025

Updates network pull (AWS cli, NGC) deps.

Description

This tries to keep both x86 and ARM build in a single Dockerfile, so the diff is easy to understand.

Some dependencies (ngc/aws) had to be updates to get this to work on ARM.

Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactor
  • Documentation update
  • Other (please describe):

CI Pipeline Configuration

Configure CI behavior by applying the relevant labels:

Note

By default, the notebooks validation tests are skipped unless explicitly enabled.

Authorizing CI Runs

We use copy-pr-bot to manage authorization of CI
runs on NVIDIA's compute resources.

  • If a pull request is opened by a trusted user and contains only trusted changes, the pull request's code will
    automatically be copied to a pull-request/ prefixed branch in the source repository (e.g. pull-request/123)
  • If a pull request is opened by an untrusted user or contains untrusted changes, an NVIDIA org member must leave an
    /ok to test comment on the pull request to trigger CI. This will need to be done for each new commit.

Pre-submit Checklist

  • I have tested these changes locally
  • I have updated the documentation accordingly
  • I have added/updated tests as needed
  • All existing tests pass successfully

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Mar 22, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@trvachov
Copy link
Copy Markdown
Collaborator Author

Just need review from @pstjohn and @cspades

@trvachov
Copy link
Copy Markdown
Collaborator Author

/ok to test

Comment thread Dockerfile Outdated
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.30%. Comparing base (ee42211) to head (2aea7ee).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #777   +/-   ##
=======================================
  Coverage   84.30%   84.30%           
=======================================
  Files         137      137           
  Lines        8635     8635           
=======================================
  Hits         7280     7280           
  Misses       1355     1355           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@trvachov trvachov force-pushed the trvachov/docker-update branch 9 times, most recently from 50ecf81 to 5a3e775 Compare April 1, 2025 19:13
@trvachov
Copy link
Copy Markdown
Collaborator Author

trvachov commented Apr 1, 2025

Confirmed passing GH200 tests: Pipeline 1894

@trvachov
Copy link
Copy Markdown
Collaborator Author

trvachov commented Apr 1, 2025

/ok to test

Comment thread Dockerfile Outdated
Comment thread Dockerfile Outdated
Copy link
Copy Markdown
Collaborator

@jomitchellnv jomitchellnv left a comment

Choose a reason for hiding this comment

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

Approved with small nits

@trvachov trvachov force-pushed the trvachov/docker-update branch 2 times, most recently from 62ba148 to 23cfa51 Compare April 2, 2025 14:19
@trvachov
Copy link
Copy Markdown
Collaborator Author

trvachov commented Apr 2, 2025

/ok to test

@trvachov trvachov force-pushed the trvachov/docker-update branch from 23cfa51 to 73cc30f Compare April 2, 2025 15:15
@trvachov
Copy link
Copy Markdown
Collaborator Author

trvachov commented Apr 2, 2025

/ok to test

Signed-off-by: Timur Rvachov <trvachov@nvidia.com>
@trvachov trvachov force-pushed the trvachov/docker-update branch from 73cc30f to 2aea7ee Compare April 2, 2025 16:55
@trvachov
Copy link
Copy Markdown
Collaborator Author

trvachov commented Apr 2, 2025

/ok to test

@trvachov
Copy link
Copy Markdown
Collaborator Author

trvachov commented Apr 2, 2025

@pstjohn @jomitchellnv I addressed and resolved the comments -- hope that was ok!

@trvachov trvachov added this pull request to the merge queue Apr 2, 2025
Merged via the queue into main with commit b7d073b Apr 2, 2025
@trvachov trvachov deleted the trvachov/docker-update branch April 2, 2025 20:08
cspades pushed a commit that referenced this pull request May 4, 2025
Updates network pull (AWS cli, NGC) deps.

### Description
This tries to keep both x86 and ARM build in a single Dockerfile, so the
diff is easy to understand.

Some dependencies (ngc/aws) had to be updates to get this to work on
ARM.

### Type of changes
<!-- Mark the relevant option with an [x] -->

- [ ]  Bug fix (non-breaking change which fixes an issue)
- [ ]  New feature (non-breaking change which adds functionality)
- [x]  Refactor
- [ ]  Documentation update
- [ ]  Other (please describe):

### CI Pipeline Configuration
Configure CI behavior by applying the relevant labels:

-
[SKIP_CI](https://github.com/NVIDIA/bionemo-framework/blob/main/docs/docs/user-guide/contributing/contributing.md#skip_ci)
- Skip all continuous integration tests
-
[INCLUDE_NOTEBOOKS_TESTS](https://github.com/NVIDIA/bionemo-framework/blob/main/docs/docs/user-guide/contributing/contributing.md#include_notebooks_tests)
- Execute notebook validation tests in pytest
-
[INCLUDE_SLOW_TESTS](https://github.com/NVIDIA/bionemo-framework/blob/main/docs/docs/user-guide/contributing/contributing.md#include_slow_tests)
- Execute tests labelled as slow in pytest for extensive testing

> [!NOTE]
> By default, the notebooks validation tests are skipped unless
explicitly enabled.

#### Authorizing CI Runs

We use
[copy-pr-bot](https://docs.gha-runners.nvidia.com/apps/copy-pr-bot/#automation)
to manage authorization of CI
runs on NVIDIA's compute resources.

* If a pull request is opened by a trusted user and contains only
trusted changes, the pull request's code will
automatically be copied to a pull-request/ prefixed branch in the source
repository (e.g. pull-request/123)
* If a pull request is opened by an untrusted user or contains untrusted
changes, an NVIDIA org member must leave an
`/ok to test` comment on the pull request to trigger CI. This will need
to be done for each new commit.

### Pre-submit Checklist
<!--- Ensure all items are completed before submitting -->

 - [x] I have tested these changes locally
 - [x] I have updated the documentation accordingly
 - [x] I have added/updated tests as needed
 - [ ] All existing tests pass successfully

Signed-off-by: Timur Rvachov <trvachov@nvidia.com>
Signed-off-by: Cory Ye <cye@nvidia.com>
farhadrgh pushed a commit that referenced this pull request May 5, 2025
Updates network pull (AWS cli, NGC) deps.



### Description
This tries to keep both x86 and ARM build in a single Dockerfile, so the
diff is easy to understand.

Some dependencies (ngc/aws) had to be updates to get this to work on
ARM.

### Type of changes
<!-- Mark the relevant option with an [x] -->

- [ ]  Bug fix (non-breaking change which fixes an issue)
- [ ]  New feature (non-breaking change which adds functionality)
- [x]  Refactor
- [ ]  Documentation update
- [ ]  Other (please describe):

### CI Pipeline Configuration
Configure CI behavior by applying the relevant labels:

-
[SKIP_CI](https://github.com/NVIDIA/bionemo-framework/blob/main/docs/docs/user-guide/contributing/contributing.md#skip_ci)
- Skip all continuous integration tests
-
[INCLUDE_NOTEBOOKS_TESTS](https://github.com/NVIDIA/bionemo-framework/blob/main/docs/docs/user-guide/contributing/contributing.md#include_notebooks_tests)
- Execute notebook validation tests in pytest
-
[INCLUDE_SLOW_TESTS](https://github.com/NVIDIA/bionemo-framework/blob/main/docs/docs/user-guide/contributing/contributing.md#include_slow_tests)
- Execute tests labelled as slow in pytest for extensive testing

> [!NOTE]
> By default, the notebooks validation tests are skipped unless
explicitly enabled.

#### Authorizing CI Runs

We use
[copy-pr-bot](https://docs.gha-runners.nvidia.com/apps/copy-pr-bot/#automation)
to manage authorization of CI
runs on NVIDIA's compute resources.

* If a pull request is opened by a trusted user and contains only
trusted changes, the pull request's code will
automatically be copied to a pull-request/ prefixed branch in the source
repository (e.g. pull-request/123)
* If a pull request is opened by an untrusted user or contains untrusted
changes, an NVIDIA org member must leave an
`/ok to test` comment on the pull request to trigger CI. This will need
to be done for each new commit.


### Pre-submit Checklist
<!--- Ensure all items are completed before submitting -->

 - [x] I have tested these changes locally
 - [x] I have updated the documentation accordingly
 - [x] I have added/updated tests as needed
 - [ ] All existing tests pass successfully

Signed-off-by: Timur Rvachov <trvachov@nvidia.com>
Signed-off-by: Farhad Ramezanghorbani <farhadr@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants