-
Notifications
You must be signed in to change notification settings - Fork 738
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
[CI] Fix missing deps in dev igc installation #13610
Changes from 4 commits
5019766
b2d317c
0dcd4d2
b8803d5
e9d5594
2c3f1b1
9e8c73e
90aa85b
2a51a9a
4b16314
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,33 +108,38 @@ InstallIGFX () { | |
echo "Compute Runtime version $CR_TAG" | ||
echo "CM compiler version $CM_TAG" | ||
echo "Level Zero version $L0_TAG" | ||
IS_IGC_DEV=$(CheckIGCdevTag $IGCTAG) | ||
IGNORE_CHECKSUM=false | ||
DPKG_OPTIONS="" | ||
if [ "$IS_IGC_DEV" == "Yes" ]; then | ||
echo "IGC dev git hash $IGC_DEV_VER" | ||
get_pre_release_igfx $IGC_DEV_URL $IGC_DEV_VER | ||
IGNORE_CHECKSUM=true | ||
DPKG_OPTIONS=" --force-depends-version" | ||
else | ||
echo "IGC version $IGC_TAG" | ||
get_release intel/intel-graphics-compiler $IGC_TAG \ | ||
| grep ".*deb" \ | ||
| wget -qi - | ||
fi | ||
echo "IGC version $IGC_TAG" | ||
get_release intel/intel-graphics-compiler $IGC_TAG \ | ||
jsji marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| grep ".*deb" \ | ||
| wget -qi - | ||
get_release intel/compute-runtime $CR_TAG \ | ||
| grep -E ".*((deb)|(sum))" \ | ||
| wget -qi - | ||
# Perform the checksum conditionally and then get the release | ||
( [ "$IGNORE_CHECKSUM" ] || sha256sum -c *.sum ) && \ | ||
sha256sum -c *.sum && \ | ||
get_release intel/cm-compiler $CM_TAG \ | ||
| grep ".*deb" \ | ||
| grep -v "u18" \ | ||
| wget -qi - | ||
get_release oneapi-src/level-zero $L0_TAG \ | ||
| grep ".*deb" \ | ||
| wget -qi - | ||
dpkg -i $DPKG_OPTIONS *.deb && rm *.deb *.sum | ||
dpkg -i *.deb && rm *.deb *.sum | ||
IS_IGC_DEV=$(CheckIGCdevTag $IGCTAG) | ||
if [ "$IS_IGC_DEV" == "Yes" ]; then | ||
# Dev IGC deb package did not include libopencl-clang | ||
# So we need to backup and install it from release igc. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bashbaug , do you know who can fix that on the IGC side? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would suggest starting with @pszymich. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks @aelovikov-intel and @bashbaug ! I had a quick look at https://github.com/intel/intel-graphics-compiler/blob/b077b43fa6193c97bcd2f3959f6d11e185d6fef3/.github/workflows/build-IGC.yml#L39C1-L41C56 , looks like IGC is also doing the hacky install/copy/package due to the fact that there is no libopencl-clang deb available. I have contacted the libopencl-clang team to see whether we can build/release packaged libopencl-clang deb file in https://github.com/intel/opencl-clang/releases too. If that is fixed, then we should be able to remove this workaround, and also the workaround in IGC CI. |
||
echo "Backup libopencl-clang" | ||
cp -d /usr/local/lib/libopencl-clang.so.14* . | ||
echo "Download IGC dev git hash $IGC_DEV_VER" | ||
get_pre_release_igfx $IGC_DEV_URL $IGC_DEV_VER | ||
echo "Install IGC dev git hash $IGC_DEV_VER" | ||
dpkg -i *.deb | ||
echo "Install libopencl-clang" | ||
cp -d libopencl-clang.so.14* /usr/local/lib/ | ||
echo "Clean up" | ||
rm *.deb libopencl-clang.so.14* | ||
fi | ||
} | ||
|
||
InstallCPURT () { | ||
|
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.
I'd think we need to run all tests here as well.
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 are existing failures for non joint matrix tests.
eg: https://github.com/intel/llvm/actions/runs/8903576097/job/24452097484
We will only use igc dev driver for joint matrix for now, so we don't really need to run all e2e test,
only make sure joint matrix tests are clean is enough.
Running all tests would be an ideal solution, but to be honest, I don't think we have enough resource to triage and response to failures, especially in non joint matrix ones, so running all tests might effectively stop us from updating igc dev driver for joint matrix tests.
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.
What about ESIMD team's tests? + @sarnex
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.
TBH our tests take a long time to run. What is the use case of using the dev IGC driver? If I know that I can suggest if we need to run ESIMD tests with it.
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.
The dev IGC driver will be used in
joint matrix
pre-commit CI tests so that we can test some features that depends on newer IGC and get integrated test feedback earlier than before.I would personally recommend that we also enable the pre-commit CI for ESIMD, because ESIMD features tend to depends on corresponding IGC changes as well. But it is up to your team to decide.
The cost of enabling ESIMD test here is that we may need to response to potential failures in CI , it would be great if the failures are real regressions that we need to resolve, but there will definitely be noise due to IGC changes etc.
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.
Thanks and yeah I agree ESIMD is very sensitive to IGC versions as well. I think we should enable dev IGC driver testing in ESIMD.
@v-klochkov FYI