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

Bump ci rocm6.2 #3340

Merged
merged 53 commits into from
Sep 21, 2024
Merged

Bump ci rocm6.2 #3340

merged 53 commits into from
Sep 21, 2024

Conversation

TedThemistokleous
Copy link
Collaborator

Updating CI to ROCm 6.2 and other appropriate dockers

@TedThemistokleous TedThemistokleous added the Continous Integration Pull request updates parts of continous integration pipeline label Aug 2, 2024
@TedThemistokleous TedThemistokleous self-assigned this Aug 2, 2024
@TedThemistokleous TedThemistokleous linked an issue Aug 2, 2024 that may be closed by this pull request
@TedThemistokleous
Copy link
Collaborator Author

Still waiting info for torch sha-1 used dont see it on repo.radeaon under the usual manylinux link. Will let this run over weekend in the meantime.

Copy link

codecov bot commented Aug 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.04%. Comparing base (7c2fdf5) to head (0bb51fc).
Report is 14 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop    #3340    +/-   ##
=========================================
  Coverage    92.04%   92.04%            
=========================================
  Files          505      506     +1     
  Lines        20699    20872   +173     
=========================================
+ Hits         19052    19212   +160     
- Misses        1647     1660    +13     
Flag Coverage Δ
92.04% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@ahsan-ca
Copy link
Contributor

ahsan-ca commented Aug 3, 2024

Looks good besides the CI failures.

@TedThemistokleous
Copy link
Collaborator Author

TedThemistokleous commented Aug 3, 2024

Looks good besides the CI failures.

Yeah. something I'll have to deal with I think. @pfultz, should I be including some of your changes to the CPP checks from the 6.1.3 CI update PR in CMakeLists.txt
9291c01

@pfultz2
Copy link
Collaborator

pfultz2 commented Aug 5, 2024

Yeah. something I'll have to deal with I think. @pfultz, should I be including some of your changes to the CPP checks from the 6.1.3 CI update PR in CMakeLists.txt

There are lots of changes needed from there, but it seems like hip-config.cmake is broken in 6.2, so we probably need to do some patching of the files.

Copy link
Collaborator

@causten causten left a comment

Choose a reason for hiding this comment

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

You've got some more work to clear CI but the files I was expecting to see changes in are here.

@TedThemistokleous
Copy link
Collaborator Author

TedThemistokleous commented Aug 8, 2024

Confirmed items are upstream on repo.radeon finally for the Onnxruntime wheel

@TedThemistokleous
Copy link
Collaborator Author

Got past the hipcc errors and the hip-config by modifying hip-clang.cmake usind sed to set the HIP_PLATFORM to "Amd"

Now hitting this

-- Generating embedding library 'migraphx_kernels'
-- Performing Test HAS_HIP_LAMBDA_HOST_DEVICE
-- Performing Test HAS_HIP_LAMBDA_HOST_DEVICE - Failed
-- Build with rocMLIR::rockCompiler 2.0.0
-- MIGraphX is using HIP Clang
CMake Error at cmake/TargetFlags.cmake:42 (get_target_property):
  get_target_property() called with non-existent target "hip::device".
Call Stack (most recent call first):
  cmake/TargetFlags.cmake:61 (get_target_property2)
  cmake/TargetFlags.cmake:100 (append_flags)
  src/targets/gpu/CMakeLists.txt:250 (target_flags)


-- Hip compiler flags: " "
-- Looking for miopenHiddenSetConvolutionFindMode in MIOpen
CMake Error at /data/build/CMakeFiles/CMakeTmp/CMakeLists.txt:20 (add_executable):
  Target "cmTC_cab74" links to target "hip::host" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at /usr/share/cmake-3.22/Modules/CheckLibraryExists.cmake:72 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  src/targets/gpu/CMakeLists.txt:291 (check_library_exists)

Ted Themistokleous added 2 commits September 19, 2024 03:54
Had to add these as part of ignore for tiday

-bugprone-empty-catch
-performance-enum-size
-readaility-enum-size
-readability-avoid-nested-conditional-operator
-readability-redundant-member-init
@TedThemistokleous
Copy link
Collaborator Author

Before we close this out we should make issues for the following tidy warnings that I just stubbed out

  • bug-prone-empty-catch
  • performance-enum-size

The other readability ones may not need issues

  • readability-redundant-member-init
  • readability-avoid-nested-conditional-operator

@@ -28,6 +28,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
wget \
rocm-device-libs \
hip-dev \
hipcc \
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be added to the install_preqs.sh.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Moved via #3469

@migraphx-bot
Copy link
Collaborator

Test Batch Rate new
0bb51f
Rate old
32a84a
Diff Compare
torchvision-resnet50 64 3,251.39 3,250.93 0.01%
torchvision-resnet50_fp16 64 6,981.90 6,986.29 -0.06%
torchvision-densenet121 32 2,433.85 2,433.76 0.00%
torchvision-densenet121_fp16 32 4,111.85 4,110.78 0.03%
torchvision-inceptionv3 32 1,635.90 1,635.58 0.02%
torchvision-inceptionv3_fp16 32 2,738.41 2,737.29 0.04%
cadene-inceptionv4 16 776.74 775.61 0.15%
cadene-resnext64x4 16 808.50 808.58 -0.01%
slim-mobilenet 64 7,453.48 7,452.87 0.01%
slim-nasnetalarge 64 208.35 208.18 0.09%
slim-resnet50v2 64 3,434.90 3,434.69 0.01%
bert-mrpc-onnx 8 1,150.56 1,150.44 0.01%
bert-mrpc-tf 1 310.83 311.37 -0.17%
pytorch-examples-wlang-gru 1 428.30 426.16 0.50%
pytorch-examples-wlang-lstm 1 390.88 386.06 1.25%
torchvision-resnet50_1 1 773.02 816.95 -5.38% 🔴
cadene-dpn92_1 1 397.30 401.62 -1.08%
cadene-resnext101_1 1 381.22 380.63 0.16%
onnx-taau-downsample 1 344.52 345.07 -0.16%
dlrm-criteoterabyte 1 35.06 35.06 -0.00%
dlrm-criteoterabyte_fp16 1 58.05 58.01 0.07%
agentmodel 1 8,046.15 7,975.82 0.88%
unet_fp16 2 58.03 58.07 -0.07%
resnet50v1_fp16 1 934.55 921.74 1.39%
resnet50v1_int8 1 935.51 953.21 -1.86%
bert_base_cased_fp16 64 1,152.88 1,152.80 0.01%
bert_large_uncased_fp16 32 355.81 355.84 -0.01%
bert_large_fp16 1 211.62 211.95 -0.16%
distilgpt2_fp16 16 2,162.07 2,157.57 0.21%
yolov5s 1 536.73 528.76 1.51%
tinyllama 1 43.42 43.37 0.11%
vicuna-fastchat 1 171.25 168.85 1.42%
whisper-tiny-encoder 1 414.85 418.42 -0.85%
whisper-tiny-decoder 1 428.64 425.66 0.70%

This build is not recommended to merge 🔴

@migraphx-bot
Copy link
Collaborator


     ✅ bert-mrpc-onnx: PASSED: MIGraphX meets tolerance

     ✅ bert-mrpc-tf: PASSED: MIGraphX meets tolerance

     ✅ pytorch-examples-wlang-gru: PASSED: MIGraphX meets tolerance

     ✅ pytorch-examples-wlang-lstm: PASSED: MIGraphX meets tolerance

     ✅ torchvision-resnet50_1: PASSED: MIGraphX meets tolerance

     ✅ cadene-dpn92_1: PASSED: MIGraphX meets tolerance

     ✅ cadene-resnext101_1: PASSED: MIGraphX meets tolerance

     ✅ dlrm-criteoterabyte: PASSED: MIGraphX meets tolerance

     ✅ agentmodel: PASSED: MIGraphX meets tolerance

     ✅ unet: PASSED: MIGraphX meets tolerance

     ✅ resnet50v1: PASSED: MIGraphX meets tolerance

     ✅ bert_base_cased_fp16: PASSED: MIGraphX meets tolerance

🔴bert_large_uncased_fp16: FAILED: MIGraphX is not within tolerance - check verbose output


     ✅ bert_large: PASSED: MIGraphX meets tolerance

     ✅ yolov5s: PASSED: MIGraphX meets tolerance

     ✅ tinyllama: PASSED: MIGraphX meets tolerance

     ✅ vicuna-fastchat: PASSED: MIGraphX meets tolerance

     ✅ whisper-tiny-encoder: PASSED: MIGraphX meets tolerance

     ✅ whisper-tiny-decoder: PASSED: MIGraphX meets tolerance

     ✅ distilgpt2_fp16: PASSED: MIGraphX meets tolerance

@causten causten merged commit ab5da3c into develop Sep 21, 2024
48 checks passed
@causten causten deleted the bump_ci_rocm6.2 branch September 21, 2024 00:50
@@ -196,6 +198,7 @@ rocm_enable_clang_tidy(
clang-analyzer-alpha.cplusplus.MismatchedIterator
clang-analyzer-alpha.cplusplus.MisusedMovedObject
-bugprone-switch-missing-default-case
-bugprone-empty-catch
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

created #3470

-bugprone-signed-char-misuse
-bugprone-unchecked-optional-access
-bugprone-unused-local-non-trivial-variable
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Made #3471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Continous Integration Pull request updates parts of continous integration pipeline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump CI to 6.2 once released
10 participants