Skip to content

Commit a0a9c9a

Browse files
rxweidan-zheng
authored andcommitted
Update checkout for TensorFlow repos. (#23700)
* Update checkout for 'tensorflow/swift-apis' and 'tensorflow/swift-bindings'. * tensorflow/tensorflow@5e8df78 * tensorflow/swift-bindings@0957744 * tensorflow/swift-apis@18f9371
1 parent 1232934 commit a0a9c9a

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

test/TensorFlow/deabstraction_finished.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public func testConvolution(x: Tensor<Float>, filter: Tensor<Float>) -> Tensor<F
134134
}
135135

136136
/* CHECK-LABEL: ---- INPUT FUNCTION {{.*}}testConvolution
137-
* CHECK: graph_op "Conv2D"({{.*}} : $TensorHandle<Float>, {{.*}} : $TensorHandle<Float>) {T$dtype: i32 1, strides: [$Int32: (i32 1), (i32 2), (i32 3), (i32 4)], use_cudnn_on_gpu: i1 -1, padding: "SAME", data_format: "NHWC", dilations: [$Int32: (i32 1), (i32 1), (i32 1), (i32 1)],
137+
* CHECK: graph_op "Conv2D"({{.*}} : $TensorHandle<Float>, {{.*}} : $TensorHandle<Float>) {T$dtype: i32 1, strides: [$Int32: (i32 1), (i32 2), (i32 3), (i32 4)], use_cudnn_on_gpu: i1 -1, padding: "SAME", explicit_paddings: [$Int32: ], data_format: "NHWC", dilations: [$Int32: (i32 1), (i32 1), (i32 1), (i32 1)],
138138
* CHECK-LABEL: ---- END OF
139139
*/
140140

test/TensorFlow/no_copy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public func testConvolution(x: Tensor<Float>, filter: Tensor<Float>) -> Tensor<F
5252
// CHECK-LABEL: --- TFPartition Accelerator Result: {{.*}}testConvolution
5353
// CHECK: sil private @{{.*}}testConvolution{{.*}} : $@callee_owned (TensorHandle<Float>, TensorHandle<Float>) -> TensorHandle<Float> {
5454
// CHECK: bb0(%0 : @unowned $TensorHandle<Float>, %1 : @unowned $TensorHandle<Float>):
55-
// CHECK: [[A:%.*]] = graph_op "Conv2D"(%0 : $TensorHandle<Float>, %1 : $TensorHandle<Float>) {T$dtype: i32 1, strides: [$Int32: (i32 1), (i32 2), (i32 3), (i32 4)], use_cudnn_on_gpu: i1 -1, padding: "SAME", data_format: "NHWC", dilations: [$Int32: (i32 1), (i32 1), (i32 1), (i32 1)], __device: "/job:localhost/replica:0/task:0/device:CPU:0"} : $TensorHandle<Float>
55+
// CHECK: [[A:%.*]] = graph_op "Conv2D"(%0 : $TensorHandle<Float>, %1 : $TensorHandle<Float>) {T$dtype: i32 1, strides: [$Int32: (i32 1), (i32 2), (i32 3), (i32 4)], use_cudnn_on_gpu: i1 -1, padding: "SAME", explicit_paddings: [$Int32: ], data_format: "NHWC", dilations: [$Int32: (i32 1), (i32 1), (i32 1), (i32 1)], __device: "/job:localhost/replica:0/task:0/device:CPU:0"} : $TensorHandle<Float>
5656
// CHECK-NEXT: return [[A]] : $TensorHandle<Float>
5757
// CHECK-NEXT:}
5858

test/TensorFlowRuntime/collective.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ CollectiveTests.testAllBackends("ConfigTest") {
2525
CollectiveTests.testAllBackends("SingletonGroup") {
2626
let x = Tensor<Float>(1.0)
2727
let t = Raw.collectiveReduce(x, groupSize: 1, groupKey: 1, instanceKey: 1,
28-
mergeOp: .add, finalOp: .id, subdivOffsets: [0])
28+
mergeOp: .add, finalOp: .id, subdivOffsets: [0],
29+
waitFor: [])
2930
_hostOp(t)
3031
expectEqualWithScalarTensor(1, t)
3132
}
@@ -76,7 +77,7 @@ CollectiveTests.testAllBackends("GroupWithSize2_threads") {
7677
_runOnNDevices(2) { i in
7778
withDevice(.cpu, UInt(i)) {
7879
let t = Raw.collectiveReduce(x, groupSize: 2, groupKey: 3, instanceKey: 3,
79-
mergeOp: .add, finalOp: .id, subdivOffsets: [0])
80+
mergeOp: .add, finalOp: .id, subdivOffsets: [0], waitFor: [])
8081

8182
_hostOp(t)
8283
expectEqualWithScalarTensor(2, t)

utils/update_checkout/update-checkout-config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@
240240
"swift-xcode-playground-support": "swift-DEVELOPMENT-SNAPSHOT-2018-11-26-a",
241241
"ninja": "253e94c1fa511704baeb61cf69995bbf09ba435e",
242242
"icu": "release-61-1",
243-
"tensorflow": "7818652c950b1b1922efe5f4345886058d0ffba5",
244-
"tensorflow-swift-bindings": "c852b63b6ac3c4b53199aab96c021501978b843d",
245-
"tensorflow-swift-apis": "8264ac065fa3299cbbefe3eb4ab4d65f0b6faf4f"
243+
"tensorflow": "5e8df789cc30098d791475c14a623ec68b50b4ed",
244+
"tensorflow-swift-bindings": "0957744551614e433dbabc725cba29ff5ddb91d3",
245+
"tensorflow-swift-apis": "18f937191bdc9ddbe5df8f99f0dc64e1a4c0ffab"
246246
}
247247
}
248248
}

0 commit comments

Comments
 (0)