-
Notifications
You must be signed in to change notification settings - Fork 14
adding rapids runner #338
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
Open
jperez999
wants to merge
13
commits into
NVIDIA-Merlin:main
Choose a base branch
from
jperez999:rapids-run
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
adding rapids runner #338
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5dc0e6a
adding rapids runner
jperez999 f52a16d
revert changes
jperez999 5846e79
added new ci workflow for runner test
jperez999 323ae0f
commit bump
jperez999 54cbc31
Merge branch 'main' into rapids-run
jperez999 ec7f6cd
testing credentials and added label to actionlint
jperez999 42ef4df
add gpus flag to docker run commnad
jperez999 1cd3c5c
add corrected env flag
jperez999 88d7804
add in branch name and change directory target
jperez999 419d809
remove unnecessary steps
jperez999 07f03b8
run correct test command
jperez999 e1b74cc
remove test ci yaml file
jperez999 40ea160
Merge branch 'main' into rapids-run
karlhigley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ self-hosted-runner: | |
labels: | ||
- 1GPU | ||
- 2GPU | ||
- linux-amd64-gpu-p100-latest-1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: GPU CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- "pull-request/[0-9]+" | ||
|
||
jobs: | ||
gpu-ci-docker: | ||
runs-on: linux-amd64-gpu-p100-latest-1 | ||
|
||
container: | ||
image: nvcr.io/nvstaging/merlin/merlin-ci-runner:latest | ||
credentials: | ||
username: ${{ secrets.SVC_DOCKER_USER }} | ||
password: ${{ secrets.SVC_DOCKER_TOKEN }} | ||
env: | ||
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Get Branch name | ||
id: get-branch-name | ||
uses: NVIDIA-Merlin/.github/actions/branch-name@6f0539fba24f60da2aee63c5925bee7cee3206e3 | ||
- name: Run tests | ||
run: | | ||
merlin_branch="${{ steps.get-branch-name.outputs.branch }}" | ||
MERLIN_BRANCH=$merlin_branch COMPARE_BRANCH=$merlin_branch \ | ||
tox -e test-gpu |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
These env vars are not required here.
MERLIN_BRANCH
is used in other places where we need to install other merlin packages from the equivalent branch ( release branch or development branch). In thistest-gpu
tox environment we only install the core package.get-branch-name
step can also be removed here too since we won't use it ifMERLIN_BRANCH
is removedCOMPARE_BRANCH
is something currently only used in Merlin Models to inspect the diff and label parts as changed or unchanged (so that tests using TensorFlow only run if the tensorflow code has changed).