Skip to content

Use natively hip_bfloat16 as a member of BFloat16 class to take advan…#3114

Draft
anatoliylitv wants to merge 1 commit intorelease/2.9from
anatoliylitv/bloat_16_use_hip__bfloat_16_as_member
Draft

Use natively hip_bfloat16 as a member of BFloat16 class to take advan…#3114
anatoliylitv wants to merge 1 commit intorelease/2.9from
anatoliylitv/bloat_16_use_hip__bfloat_16_as_member

Conversation

@anatoliylitv
Copy link
Copy Markdown

…tage of possible optimizations from compiler.

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

…tage of possible optimizations from compiler.
@rocm-repo-management-api
Copy link
Copy Markdown

rocm-repo-management-api bot commented Mar 31, 2026

Jenkins build for 70a53bc338d1a17b2c9d0e10199ed78c78bc963b commit finished as FAILURE
Links: Pipeline Overview / Build artifacts / Test Results

Detected error during Pytorch building:

[4988/8156] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o
[4989/8156] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/shape_inference.cc.o
[4990/8156] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/old.cc.o
[4991/8156] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o
[4992/8156] Building HIPCC object third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_private.hip.o
FAILED: third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_private.hip.o /var/lib/jenkins/pytorch/build/third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_private.hip.o 
cd /var/lib/jenkins/pytorch/build/third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo && /opt/conda/envs/py_3.12/lib/python3.12/site-packages/cmake/data/bin/cmake -E make_directory /var/lib/jenkins/pytorch/build/third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/. && /opt/conda/envs/py_3.12/lib/python3.12/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/var/lib/jenkins/pytorch/build/third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/./gloo_hip_generated_hip_private.hip.o -P /var/lib/jenkins/pytorch/build/third_party/gloo/gloo/CMakeFiles/gloo_hip.dir/__/__/__/build/third_party/gloo/hip/gloo/gloo_hip_generated_hip_private.hip.o.cmake
In file included from /var/lib/jenkins/pytorch/build/third_party/gloo/hip/gloo/hip_private.hip:9:
In file included from /var/lib/jenkins/pytorch/build/third_party/gloo/hip/gloo/hip_private.h:24:
In file included from /var/lib/jenkins/pytorch/c10/util/BFloat16.h:1:
/var/lib/jenkins/pytorch/torch/headeronly/util/BFloat16.h:34:44: error: '__x' is a protected member of '__hip_bfloat16'

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.

1 participant