-
Notifications
You must be signed in to change notification settings - Fork 798
[CI][SYCL] Enable E2E testing for New Offloading Model #20634
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
base: sycl
Are you sure you want to change the base?
Conversation
|
@maksimsab , there are still some tests failing. Should they also be marked with XFAIL? |
|
Update:
|
sarnex
left a comment
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.
lgtm overall, minor comments. i wish we didn't have so much copy and paste but i dont have a better idea that's reasonable to implement
| //===----------------------------------------------------------------------===// | ||
|
|
||
| // XFAIL: new-offload-model | ||
| // XFAIL-TRACKER: CMPLRLLVM-61170 |
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.
For issues in this project public GH issue should be used. Internal bug trackers are only meaningful for issues in unrelated components because having GH issue here would provide no benefit.
| - name: Remove E2E tests before NewOffloadModel run | ||
| if: ${{ inputs.e2e_binaries_new_offload_model_artifact && !cancelled() && steps.build.conclusion == 'success' }} | ||
| run: rm -rf build-e2e | ||
|
|
||
| - name: Build E2E tests with NewOffloadModel | ||
| if: | | ||
| inputs.e2e_binaries_new_offload_model_artifact && | ||
| !cancelled() | ||
| && steps.build.conclusion == 'success' && | ||
| contains(github.event.pull_request.labels.*.name, 'new-offload-model') | ||
| uses: ./devops/actions/run-tests/e2e | ||
| with: | ||
| ref: ${{ inputs.ref || github.sha }} | ||
| testing_mode: build-only | ||
| target_devices: all | ||
| binaries_artifact: ${{ inputs.e2e_binaries_new_offload_model_artifact }} | ||
| sycl_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++ | ||
| extra_lit_opts: --param sycl_build_targets="spir;nvidia;amd" --param enable_new_offload_model=True |
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.
This is getting too verbose. Can we fold the removal into the devops/actions/run-tests/e2e and then use a matrix job to build all the flavors without that much copy-paste? That prerequisite refactoring should be done in a separate PR, obviously.
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.
refactoring is posted here: #20790
| packages: read | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: |
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.
Isn't this a bit excessive? Do you really see value in running on all configurations?
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.
That could be shrinked to intel only targets.
.github/workflows/sycl-nightly.yml
Outdated
| target_devices: level_zero:gpu | ||
| extra_lit_opts: --param test-preview-mode=True | ||
|
|
||
| - name: AMD/HIP with NewOffloadModel |
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.
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.
done.
This patch has the following changes:
--param enable_new_offload_modelis added to SYCL E2E LIT test configuration