Skip to content

Commit de362d1

Browse files
author
Harsha Havanur Shamsundara
committed
Resolve merge conflicts for sync_20260505
1 parent c2045f6 commit de362d1

18 files changed

Lines changed: 0 additions & 804 deletions

File tree

tensorflow/compiler/mlir/tensorflow/tests/BUILD

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@ glob_lit_tests(
1717
"layout_optimization_to_nhwc.mlir": "medium",
1818
},
1919
tags_override = {
20-
<<<<<<< HEAD
21-
"tf-reduce-identity.mlir": ["no_windows"],
22-
=======
2320
"optimize.mlir": ["no_rocm"],
2421
"tf_optimize.mlir": ["no_rocm"],
2522
# TODO(b/495279482): Remove no_oss once the compiler crash is fixed.
2623
"tf-reduce-identity.mlir": [
2724
"no_windows",
2825
"no_oss",
2926
],
30-
>>>>>>> upstream/master
3127
},
3228
test_file_exts = ["mlir"],
3329
)

tensorflow/core/kernels/image/image_ops_gpu.cu.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,10 @@ namespace functor {
2828

2929
// Explicit instantiation of the GPU functor.
3030
typedef Eigen::GpuDevice GPUDevice;
31-
<<<<<<< HEAD
32-
template class FillProjectiveTransform<GPUDevice, uint8>;
33-
template class FillProjectiveTransform<GPUDevice, int32>;
34-
template class FillProjectiveTransform<GPUDevice, int64>;
35-
=======
3631

3732
template class FillProjectiveTransform<GPUDevice, uint8_t>;
3833
template class FillProjectiveTransform<GPUDevice, int32_t>;
3934
template class FillProjectiveTransform<GPUDevice, int64_t>;
40-
>>>>>>> upstream/master
4135
template class FillProjectiveTransform<GPUDevice, Eigen::half>;
4236
template class FillProjectiveTransform<GPUDevice, float>;
4337
template class FillProjectiveTransform<GPUDevice, double>;

tensorflow/core/kernels/linalg/matrix_solve_op.cc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -335,22 +335,12 @@ class MatrixSolveOpGpu : public AsyncOpKernel {
335335
pivots_mat.data(), transposed_rhs_ptrs_base, n,
336336
&host_info, batch_size),
337337
done);
338-
<<<<<<< HEAD
339-
340-
OP_REQUIRES_ASYNC(
341-
context, host_info == 0,
342-
errors::InvalidArgument("The ", -host_info,
343-
"'th argument to cublas*getrsBatched had "
344-
"an illegal value."),
345-
done);
346-
=======
347338
OP_REQUIRES_ASYNC(context, host_info == 0,
348339
absl::InvalidArgumentError(absl::StrCat(
349340
"The ", -host_info,
350341
"'th argument to cublas*getrsBatched had "
351342
"an illegal value.")),
352343
done);
353-
>>>>>>> upstream/master
354344
} else {
355345
dev_info.push_back(solver->GetDeviceLapackInfo(batch_size, "getrs"));
356346
for (int batch = 0; batch < batch_size; ++batch) {

third_party/xla/xla/backends/gpu/codegen/triton/triton_gemm_fusion_test.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -490,13 +490,8 @@ ENTRY entry {
490490

491491
const HloFusionInstruction* fusion1 = Cast<HloFusionInstruction>(
492492
module1_and_metadata.computation->FusionInstruction());
493-
<<<<<<< HEAD
494-
EXPECT_THAT(
495-
TritonWrapper("test_fn", fusion1, se::GpuComputeCapability{cc},
496-
=======
497493
EXPECT_THAT(
498494
TritonWrapper("test_fn", *fusion1, se::GpuComputeCapability{cc},
499-
>>>>>>> upstream/master
500495
device_info, module1_and_metadata.block_level_parameters,
501496
target_triple, data_layout, llvm_ctx, mlir_context_),
502497
absl_testing::StatusIs(

third_party/xla/xla/backends/gpu/collectives/gpu_clique_key.h

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -54,26 +54,7 @@ namespace xla::gpu {
5454
// clique have a well defined total execution order, enforced with events.
5555
TSL_LIB_GTL_DEFINE_INT_TYPE(CommunicationId, uint64_t);
5656

57-
<<<<<<< HEAD
58-
bool IsP2PStreamKind(AsyncStreamKind stream_kind);
59-
60-
inline constexpr int64_t kAsyncStreamTotal =
61-
static_cast<int64_t>(AsyncStreamKind::ASYNC_STREAM_KIND_MEMCPYP2P) + 1;
62-
63-
// Strongly-typed wrapper to represent collective stream ID.
64-
TSL_LIB_GTL_DEFINE_INT_TYPE(CollectiveStreamId, uint64_t);
65-
66-
// Assigns a unique ID to a stream for asynchronous or synchronous execution.
67-
// These IDs can be used, for example, to look up the NCCL communicator.
68-
CollectiveStreamId GetCollectiveStreamId(
69-
bool is_async, CollectiveStreamId stream_id = CollectiveStreamId(1),
70-
AsyncStreamKind stream_kind =
71-
AsyncStreamKind::ASYNC_STREAM_KIND_COLLECTIVE);
72-
7357
// StrJoin for device groups that shortens long list of devices for readbility.
74-
=======
75-
// StrJoin for device groups that shortens long list of devices for readability.
76-
>>>>>>> upstream/master
7758
std::string HumanReadableDeviceGroups(
7859
absl::Span<const std::vector<GlobalDeviceId>> device_groups,
7960
absl::string_view separator = ",", size_t first = 2, size_t last = 1);

third_party/xla/xla/backends/gpu/runtime/gpublas_lt_matmul_thunk.cc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,6 @@ absl::Status CublasLtMatmulThunk::ExecuteOnStreamInternal(
195195
workspace = allocs.GetDeviceAddress(workspace_->slice);
196196
}
197197

198-
<<<<<<< HEAD
199-
200-
return plan->ExecuteOnStream(
201-
stream, allocs.GetDeviceAddress(a_.slice),
202-
allocs.GetDeviceAddress(b_.slice), allocs.GetDeviceAddress(c_.slice),
203-
allocs.GetDeviceAddress(d_.slice), bias, aux, a_scale, b_scale, c_scale,
204-
d_scale, d_amax, workspace);
205-
=======
206198
if (is_grouped()) {
207199
if (!group_sizes_.has_value()) {
208200
return absl::InternalError(
@@ -225,7 +217,6 @@ absl::Status CublasLtMatmulThunk::ExecuteOnStreamInternal(
225217
allocs.GetDeviceAddress(d_.slice), bias, aux, a_scale, b_scale, c_scale,
226218
d_scale, d_amax, workspace);
227219
}
228-
>>>>>>> upstream/master
229220
}
230221

231222
absl::StatusOr<se::gpu::BlasLt::MatmulPlan*>

third_party/xla/xla/pjrt/triton_rocm.cc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,6 @@ absl::StatusOr<std::string> LLVMToHSACO(mlir::ModuleOp module,
118118
}
119119

120120
xla::DebugOptions debug_opts = xla::DefaultDebugOptionsIgnoringFlags();
121-
<<<<<<< HEAD
122-
auto llvm_opts = xla::gpu::amdgpu::GetAMDGPUBackendOptions(debug_opts);
123-
xla::llvm_ir::LLVMCommandLineOptionsLock llvm_lock(llvm_opts);
124-
TF_ASSIGN_OR_RETURN(auto hsaco_file_result,
125-
xla::gpu::amdgpu::CompileToHsacoAndReturnFilePath(
126-
llvm_module.get(), gpu_version, debug_opts, false,
127-
llvm_lock));
128-
return hsaco_file_result.hsaco_path;
129-
=======
130121
TF_ASSIGN_OR_RETURN(auto compile_result,
131122
gpu::amdgpu::CompileToHsaco(llvm_module.get(),
132123
gpu_version, debug_opts, ""));
@@ -148,7 +139,6 @@ absl::StatusOr<std::string> LLVMToHSACO(mlir::ModuleOp module,
148139
ofs.write(reinterpret_cast<const char*>(compile_result.hsaco.data()),
149140
compile_result.hsaco.size());
150141
return temp_file_path;
151-
>>>>>>> upstream/master
152142
}
153143

154144
} // namespace

third_party/xla/xla/python/ifrt/ir/tests/ifrt_lower_atom_program_metadata_to_xla-gspmd_partitioned_compile_override.mlir

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -69,28 +69,7 @@ module @arg_unspecified_sharding attributes {ifrt.num_devices = 2, ifrt.compile_
6969

7070
// -----
7171

72-
<<<<<<< HEAD
73-
// CHECK-LABEL: @arg_unspecified_sharding_sdy_partitioned
74-
module @arg_unspecified_sharding_sdy_partitioned attributes {ifrt.num_devices = 2, ifrt.is_sdy_partitioned} {
75-
// CHECK: %arg0: tensor<2x2xi32>
76-
// CHECK-SAME: {
77-
// CHECK-NOT: mhlo.sharding
78-
// CHECK-DAG: ifrt.sharding = #ifrt.sharding_param<2x1 to [0] on 2>
79-
// CHECK-SAME: }
80-
// CHECK: %arg1: tensor<2x2xi32> {ifrt.sharding = #ifrt.sharding_unspecified})
81-
func.func @main(
82-
%arg0: tensor<2x2xi32> {
83-
ifrt.sharding=#ifrt.sharding_param<2x1 to [0] on 2>},
84-
%arg1: tensor<2x2xi32> {ifrt.sharding=#ifrt.sharding_unspecified}) {
85-
return
86-
}
87-
}
88-
89-
// -----
90-
91-
=======
9272
// CHECK: #sp = #ifrt.sharding_param<2x1 to [0] on 2>
93-
>>>>>>> upstream/master
9473
// CHECK-LABEL: @result_metadata
9574
module @result_metadata attributes {ifrt.num_devices = 2, ifrt.compile_options_key = "test_override"} {
9675
// CHECK: -> (tensor<2x2xi32>
@@ -111,30 +90,7 @@ module @result_metadata attributes {ifrt.num_devices = 2, ifrt.compile_options_k
11190

11291
// -----
11392

114-
<<<<<<< HEAD
115-
// CHECK-LABEL: @result_metadata_sdy_partitioned
116-
module @result_metadata_sdy_partitioned attributes {ifrt.num_devices = 2, ifrt.is_sdy_partitioned} {
117-
// CHECK: -> (tensor<2x2xi32>
118-
// CHECK-SAME: {
119-
// CHECK-NOT: mhlo.sharding
120-
// CHECK-DAG: ifrt.sharding = #ifrt.sharding_param<2x1 to [0] on 2>
121-
// CHECK-DAG: ifrt.memory_kind = "device"
122-
// CHECK-DAG: mhlo.memory_kind = "device"
123-
// CHECK-SAME: }
124-
func.func @main()
125-
-> (tensor<2x2xi32> {
126-
ifrt.sharding=#ifrt.sharding_param<2x1 to [0] on 2>,
127-
ifrt.memory_kind = "device"}) {
128-
%0 = mhlo.constant dense<1> : tensor<2x2xi32>
129-
return %0 : tensor<2x2xi32>
130-
}
131-
}
132-
133-
// -----
134-
135-
=======
13693
// CHECK: #sp = #ifrt.sharding_param<2x1 to [0] on 2>
137-
>>>>>>> upstream/master
13894
// CHECK-LABEL: @result_unspecified_sharding
13995
module @result_unspecified_sharding attributes {ifrt.num_devices = 2, ifrt.compile_options_key = "test_override"} {
14096
// CHECK: -> (tensor<2x2xi32>

0 commit comments

Comments
 (0)