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

Modify the deprecation plan for XLA_USE_BF16 #8474

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions torch_xla/csrc/dtype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bool ShouldUseBF16() {
bool use_bf16 = runtime::sys_util::GetEnvBool("XLA_USE_BF16", false);
if (use_bf16) {
std::cout
<< "XLA_USE_BF16 will be deprecated after the 2.5 release, please "
<< "XLA_USE_BF16 will be deprecated after the 2.6 release, please "
"convert your model to bf16 directly\n";
TF_LOG(INFO) << "Using BF16 data type for floating point values";
}
Expand All @@ -23,7 +23,7 @@ bool ShouldDowncastToBF16() {
runtime::sys_util::GetEnvBool("XLA_DOWNCAST_BF16", false);
if (downcast_bf16) {
std::cout
<< "XLA_DOWNCAST_BF16 will be deprecated after the 2.5 release, please "
<< "XLA_DOWNCAST_BF16 will be deprecated after the 2.6 release, please "
"downcast your model directly\n";
TF_LOG(INFO) << "Downcasting floating point values, F64->F32, F32->BF16";
}
Expand Down
Loading