Created
February 15, 2024 00:16
-
-
Save samuela/4a33af77672012e08c6006c5367aa890 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[12,484 / 13,096] Compiling stablehlo/dialect/StablehloOps.cpp; 32s local ... (4 actions running) | |
ERROR: /build/output/external/xla/xla/service/gpu/model/BUILD:316:11: Compiling xla/service/gpu/model/indexing_analysis.cc failed: (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command (from target @xla//xla/service/gpu/model:indexing_analysis) external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/k8-opt/bin/external/xla/xla/service/gpu/model/_objs/indexing_analysis/indexing_analysis.pic.d ... (remaining 335 arguments skipped) | |
/build/output/execroot/__main__/external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc:44: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13 | |
import pipes | |
In file included from external/xla/xla/hlo/ir/hlo_computation.h:31, | |
from external/xla/xla/hlo/ir/hlo_instructions.h:35, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:44: | |
external/com_google_absl/absl/log/log.h:199: warning: "LOG" redefined | |
199 | #define LOG(severity) ABSL_LOG_INTERNAL_LOG_IMPL(_##severity) | |
| | |
In file included from external/tsl/tsl/platform/logging.h:26, | |
from external/tsl/tsl/platform/errors.h:30, | |
from external/tsl/tsl/platform/statusor.h:73, | |
from external/xla/xla/statusor.h:19, | |
from external/xla/xla/primitive_util.h:33, | |
from external/xla/xla/comparison_util.h:26, | |
from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/tsl/tsl/platform/default/logging.h:165: note: this is the location of the previous definition | |
165 | #define LOG(severity) _TF_LOG_##severity | |
| | |
In file included from external/xla/xla/hlo/ir/hlo_computation.h:31, | |
from external/xla/xla/hlo/ir/hlo_instructions.h:35, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:44: | |
external/com_google_absl/absl/log/log.h:237: warning: "LOG_EVERY_N" redefined | |
237 | #define LOG_EVERY_N(severity, n) \ | |
| | |
In file included from external/tsl/tsl/platform/logging.h:26, | |
from external/tsl/tsl/platform/errors.h:30, | |
from external/tsl/tsl/platform/statusor.h:73, | |
from external/xla/xla/statusor.h:19, | |
from external/xla/xla/primitive_util.h:33, | |
from external/xla/xla/comparison_util.h:26, | |
from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/tsl/tsl/platform/default/logging.h:278: note: this is the location of the previous definition | |
278 | #define LOG_EVERY_N(severity, n) \ | |
| | |
In file included from external/xla/xla/hlo/ir/hlo_computation.h:31, | |
from external/xla/xla/hlo/ir/hlo_instructions.h:35, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:44: | |
external/com_google_absl/absl/log/log.h:245: warning: "LOG_FIRST_N" redefined | |
245 | #define LOG_FIRST_N(severity, n) \ | |
| | |
In file included from external/tsl/tsl/platform/logging.h:26, | |
from external/tsl/tsl/platform/errors.h:30, | |
from external/tsl/tsl/platform/statusor.h:73, | |
from external/xla/xla/statusor.h:19, | |
from external/xla/xla/primitive_util.h:33, | |
from external/xla/xla/comparison_util.h:26, | |
from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/tsl/tsl/platform/default/logging.h:284: note: this is the location of the previous definition | |
284 | #define LOG_FIRST_N(severity, n) \ | |
| | |
In file included from external/xla/xla/hlo/ir/hlo_computation.h:31, | |
from external/xla/xla/hlo/ir/hlo_instructions.h:35, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:44: | |
external/com_google_absl/absl/log/log.h:253: warning: "LOG_EVERY_POW_2" redefined | |
253 | #define LOG_EVERY_POW_2(severity) \ | |
| | |
In file included from external/tsl/tsl/platform/logging.h:26, | |
from external/tsl/tsl/platform/errors.h:30, | |
from external/tsl/tsl/platform/statusor.h:73, | |
from external/xla/xla/statusor.h:19, | |
from external/xla/xla/primitive_util.h:33, | |
from external/xla/xla/comparison_util.h:26, | |
from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/tsl/tsl/platform/default/logging.h:290: note: this is the location of the previous definition | |
290 | #define LOG_EVERY_POW_2(severity) \ | |
| | |
In file included from external/xla/xla/hlo/ir/hlo_computation.h:31, | |
from external/xla/xla/hlo/ir/hlo_instructions.h:35, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:44: | |
external/com_google_absl/absl/log/log.h:265: warning: "LOG_EVERY_N_SEC" redefined | |
265 | #define LOG_EVERY_N_SEC(severity, n_seconds) \ | |
| | |
In file included from external/tsl/tsl/platform/logging.h:26, | |
from external/tsl/tsl/platform/errors.h:30, | |
from external/tsl/tsl/platform/statusor.h:73, | |
from external/xla/xla/statusor.h:19, | |
from external/xla/xla/primitive_util.h:33, | |
from external/xla/xla/comparison_util.h:26, | |
from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/tsl/tsl/platform/default/logging.h:300: note: this is the location of the previous definition | |
300 | #define LOG_EVERY_N_SEC(severity, n_seconds) \ | |
| | |
In file included from external/xla/xla/service/buffer_assignment.h:38, | |
from external/xla/xla/service/gpu/ir_emission_utils.h:35, | |
from external/xla/xla/service/gpu/matmul_utils.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:50: | |
external/xla/xla/service/memory_space_assignment/memory_space_assignment.h:200:3: warning: multi-line comment [-Wcomment] | |
200 | // \ \ \ \ | |
| ^ | |
external/xla/xla/service/memory_space_assignment/memory_space_assignment.h:670:3: warning: multi-line comment [-Wcomment] | |
670 | // / \ | |
| ^ | |
external/xla/xla/service/memory_space_assignment/memory_space_assignment.h:2095:3: warning: multi-line comment [-Wcomment] | |
2095 | // / \ \ \ | |
| ^ | |
In file included from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/xla/xla/comparison_util.h: In member function ‘xla::Comparison::Type xla::Comparison::GetType() const’: | |
external/xla/xla/comparison_util.h:107:12: warning: ‘xla::Comparison::type_’ is deprecated [-Wdeprecated-declarations] | |
107 | return type_; | |
| ^~~~~ | |
external/xla/xla/comparison_util.h:218:29: note: declared here | |
218 | [[deprecated]] const Type type_; | |
| ^~~~~ | |
external/xla/xla/comparison_util.h:107:12: warning: ‘xla::Comparison::type_’ is deprecated [-Wdeprecated-declarations] | |
107 | return type_; | |
| ^~~~~ | |
external/xla/xla/comparison_util.h:218:29: note: declared here | |
218 | [[deprecated]] const Type type_; | |
| ^~~~~ | |
external/xla/xla/comparison_util.h: At global scope: | |
external/xla/xla/comparison_util.h:229:57: warning: ‘Type’ is deprecated: Use PrimitiveType and Order [-Wdeprecated-declarations] | |
229 | std::string ComparisonTypeToString(Comparison::Type type); | |
| ^ | |
external/xla/xla/comparison_util.h:77:60: note: declared here | |
77 | enum class [[deprecated("Use PrimitiveType and Order")]] Type : uint8_t{ | |
| ^~~~ | |
external/xla/xla/comparison_util.h:235:22: warning: ‘Type’ is deprecated: Use PrimitiveType and Order [-Wdeprecated-declarations] | |
235 | StatusOr<Comparison::Type> StringToComparisonType(absl::string_view comparison); | |
| ^~~~ | |
external/xla/xla/comparison_util.h:77:60: note: declared here | |
77 | enum class [[deprecated("Use PrimitiveType and Order")]] Type : uint8_t{ | |
| ^~~~ | |
In file included from external/xla/xla/shape.h:28, | |
from external/xla/xla/index_util.h:24, | |
from external/xla/xla/literal.h:41, | |
from external/xla/xla/hlo/ir/dfs_hlo_visitor.h:26, | |
from external/xla/xla/hlo/ir/hlo_instruction.h:48, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/xla/xla/layout.h:377:18: warning: ‘xla::Layout::DimInfo::dim_level_type’ is too small to hold all values of ‘enum xla::DimLevelType’ | |
377 | DimLevelType dim_level_type : 6; | |
| ^~~~~~~~~~~~~~ | |
external/xla/xla/layout.h:389:17: warning: ‘xla::Layout::index_primitive_type_’ is too small to hold all values of ‘enum xla::PrimitiveType’ | |
389 | PrimitiveType index_primitive_type_ : 8; | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
external/xla/xla/layout.h:390:17: warning: ‘xla::Layout::pointer_primitive_type_’ is too small to hold all values of ‘enum xla::PrimitiveType’ | |
390 | PrimitiveType pointer_primitive_type_ : 8; | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/xla/xla/hlo/ir/hlo_instruction.h:823:33: warning: ‘Type’ is deprecated: Use PrimitiveType and Order [-Wdeprecated-declarations] | |
823 | std::optional<Comparison::Type> type = std::nullopt); | |
| ^~~~ | |
In file included from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/xla/xla/comparison_util.h:77:60: note: declared here | |
77 | enum class [[deprecated("Use PrimitiveType and Order")]] Type : uint8_t{ | |
| ^~~~ | |
In file included from external/xla/xla/service/gpu/model/indexing_analysis.cc:44: | |
external/xla/xla/hlo/ir/hlo_instructions.h:361:60: warning: ‘Type’ is deprecated: Use PrimitiveType and Order [-Wdeprecated-declarations] | |
361 | std::optional<Comparison::Type> type); | |
| ^~~~ | |
In file included from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/xla/xla/comparison_util.h:77:60: note: declared here | |
77 | enum class [[deprecated("Use PrimitiveType and Order")]] Type : uint8_t{ | |
| ^~~~ | |
In file included from external/xla/xla/service/gpu/model/indexing_analysis.cc:44: | |
external/xla/xla/hlo/ir/hlo_instructions.h:364:27: warning: ‘Type’ is deprecated: Use PrimitiveType and Order [-Wdeprecated-declarations] | |
364 | Comparison::Type type() const { return compare_.GetType(); } | |
| ^~~~~ | |
In file included from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/xla/xla/comparison_util.h:77:60: note: declared here | |
77 | enum class [[deprecated("Use PrimitiveType and Order")]] Type : uint8_t{ | |
| ^~~~ | |
In file included from external/xla/xla/service/gpu/model/indexing_analysis.cc:44: | |
external/xla/xla/hlo/ir/hlo_instructions.h: In member function ‘xla::Comparison::Type xla::HloCompareInstruction::type() const’: | |
external/xla/xla/hlo/ir/hlo_instructions.h:364:58: warning: ‘xla::Comparison::Type xla::Comparison::GetType() const’ is deprecated: Use GetPrimitiveType() and GetOrder() [-Wdeprecated-declarations] | |
364 | Comparison::Type type() const { return compare_.GetType(); } | |
| ~~~~~~~~~~~~~~~~^~ | |
In file included from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/xla/xla/comparison_util.h:105:71: note: declared here | |
105 | [[deprecated("Use GetPrimitiveType() and GetOrder()")]] inline Type GetType() | |
| ^~~~~~~ | |
In file included from external/xla/xla/service/hlo_alias_analysis.h:27, | |
from external/xla/xla/hlo/utils/hlo_live_range.h:26, | |
from external/xla/xla/service/buffer_assignment.h:31, | |
from external/xla/xla/service/gpu/ir_emission_utils.h:35, | |
from external/xla/xla/service/gpu/matmul_utils.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:50: | |
external/xla/xla/service/hlo_buffer.h: In member function ‘xla::BufferValue::Color xla::HloBuffer::color() const’: | |
external/xla/xla/service/hlo_buffer.h:100:51: warning: ‘xla::BufferValue::Color xla::BufferValue::color() const’ is deprecated: Use Layout::memory_space instead. [-Wdeprecated-declarations] | |
100 | BufferValue::Color result = values()[0]->color(); | |
| ~~~~~~~~~~~~~~~~~~^~ | |
In file included from external/xla/xla/service/hlo_value.h:33, | |
from external/xla/xla/service/hlo_buffer.h:24, | |
from external/xla/xla/service/hlo_alias_analysis.h:27, | |
from external/xla/xla/hlo/utils/hlo_live_range.h:26, | |
from external/xla/xla/service/buffer_assignment.h:31, | |
from external/xla/xla/service/gpu/ir_emission_utils.h:35, | |
from external/xla/xla/service/gpu/matmul_utils.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:50: | |
external/xla/xla/service/buffer_value.h:117:9: note: declared here | |
117 | Color color() const { | |
| ^~~~~ | |
In file included from external/tsl/tsl/platform/logging.h:26, | |
from external/tsl/tsl/platform/errors.h:30, | |
from external/tsl/tsl/platform/statusor.h:73, | |
from external/xla/xla/statusor.h:19, | |
from external/xla/xla/primitive_util.h:33, | |
from external/xla/xla/comparison_util.h:26, | |
from external/xla/xla/hlo/ir/hlo_instruction.h:47, | |
from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/xla/xla/service/hlo_buffer.h:102:37: warning: ‘xla::BufferValue::Color xla::BufferValue::color() const’ is deprecated: Use Layout::memory_space instead. [-Wdeprecated-declarations] | |
102 | DCHECK_EQ(result, value->color()); | |
| ~~~~~~~~~~~~^~ | |
external/tsl/tsl/platform/default/logging.h:529:38: note: in definition of macro ‘_TF_DCHECK_NOP’ | |
529 | while (false && ((void)(x), (void)(y), 0)) LOG(FATAL) | |
| ^ | |
external/xla/xla/service/hlo_buffer.h:102:7: note: in expansion of macro ‘DCHECK_EQ’ | |
102 | DCHECK_EQ(result, value->color()); | |
| ^~~~~~~~~ | |
In file included from external/xla/xla/service/hlo_value.h:33, | |
from external/xla/xla/service/hlo_buffer.h:24, | |
from external/xla/xla/service/hlo_alias_analysis.h:27, | |
from external/xla/xla/hlo/utils/hlo_live_range.h:26, | |
from external/xla/xla/service/buffer_assignment.h:31, | |
from external/xla/xla/service/gpu/ir_emission_utils.h:35, | |
from external/xla/xla/service/gpu/matmul_utils.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:50: | |
external/xla/xla/service/buffer_value.h:117:9: note: declared here | |
117 | Color color() const { | |
| ^~~~~ | |
In file included from external/xla/xla/service/gpu/ir_emission_utils.h:35, | |
from external/xla/xla/service/gpu/matmul_utils.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:50: | |
external/xla/xla/service/buffer_assignment.h: In lambda function: | |
external/xla/xla/service/buffer_assignment.h:622:27: warning: ‘void xla::BufferValue::set_color(xla::BufferValue::Color)’ is deprecated: Use Layout::memory_space instead. [-Wdeprecated-declarations] | |
622 | value->set_color(BufferValue::Color( | |
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | |
623 | defining_position.shape().layout().memory_space())); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from external/xla/xla/service/hlo_value.h:33, | |
from external/xla/xla/service/hlo_buffer.h:24, | |
from external/xla/xla/service/hlo_alias_analysis.h:27, | |
from external/xla/xla/hlo/utils/hlo_live_range.h:26, | |
from external/xla/xla/service/buffer_assignment.h:31, | |
from external/xla/xla/service/gpu/ir_emission_utils.h:35, | |
from external/xla/xla/service/gpu/matmul_utils.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:50: | |
external/xla/xla/service/buffer_value.h:124:8: note: declared here | |
124 | void set_color(Color color) { | |
| ^~~~~~~~~ | |
In file included from external/xla/xla/service/gpu/ir_emission_utils.h:35, | |
from external/xla/xla/service/gpu/matmul_utils.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:50: | |
external/xla/xla/service/buffer_assignment.h:625:27: warning: ‘void xla::BufferValue::set_color(xla::BufferValue::Color)’ is deprecated: Use Layout::memory_space instead. [-Wdeprecated-declarations] | |
625 | value->set_color(BufferValue::Color(0)); | |
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from external/xla/xla/service/hlo_value.h:33, | |
from external/xla/xla/service/hlo_buffer.h:24, | |
from external/xla/xla/service/hlo_alias_analysis.h:27, | |
from external/xla/xla/hlo/utils/hlo_live_range.h:26, | |
from external/xla/xla/service/buffer_assignment.h:31, | |
from external/xla/xla/service/gpu/ir_emission_utils.h:35, | |
from external/xla/xla/service/gpu/matmul_utils.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:50: | |
external/xla/xla/service/buffer_value.h:124:8: note: declared here | |
124 | void set_color(Color color) { | |
| ^~~~~~~~~ | |
external/xla/xla/service/gpu/model/indexing_analysis.cc: In function ‘llvm::SmallVector<mlir::AffineExpr, 4> xla::gpu::{anonymous}::DelinearizeInBoundsIndex(mlir::AffineExpr, absl::lts_20230802::Span<const long int>, absl::lts_20230802::Span<const long int>)’: | |
external/xla/xla/service/gpu/model/indexing_analysis.cc:704:10: error: could not convert ‘result’ from ‘SmallVector<[...],6>’ to ‘SmallVector<[...],4>’ | |
704 | return result; | |
| ^~~~~~ | |
| | | |
| SmallVector<[...],6> | |
external/xla/xla/service/gpu/model/indexing_analysis.cc: In function ‘xla::gpu::HloInstructionIndexing xla::gpu::ComputeOutputToInputIndexing(const xla::HloInstruction*, int, mlir::MLIRContext*)’: | |
external/xla/xla/service/gpu/model/indexing_analysis.cc:922:12: warning: unused variable ‘constant’ [-Wunused-variable] | |
922 | if (auto constant = DynCast<HloConstantInstruction>(instr)) { | |
| ^~~~~~~~ | |
external/xla/xla/service/gpu/model/indexing_analysis.cc:931:12: warning: unused variable ‘iota’ [-Wunused-variable] | |
931 | if (auto iota = DynCast<HloIotaInstruction>(instr)) { | |
| ^~~~ | |
In file included from external/xla/xla/service/gpu/model/indexing_analysis.h:31, | |
from external/xla/xla/service/gpu/model/indexing_analysis.cc:16: | |
external/xla/xla/hlo/ir/hlo_instruction.h: In member function ‘virtual absl::lts_20230802::Span<const long int> xla::HloInstruction::dimensions() const’: | |
external/xla/xla/hlo/ir/hlo_instruction.h:2171:19: warning: control reaches end of non-void function [-Wreturn-type] | |
2171 | LOG(FATAL) << "Unimplemented method."; | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
At global scope: | |
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics | |
[12,488 / 13,096] checking cached actions | |
Target //jaxlib/tools:build_wheel failed to build | |
Use --verbose_failures to see the command lines of failed build steps. | |
INFO: Elapsed time: 7071.145s, Critical Path: 439.78s | |
INFO: 12488 processes: 5150 internal, 7338 local. | |
FAILED: Build did NOT complete successfully | |
ERROR: Build failed. Not running target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment