Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit e3a5711

Browse files
Change links to point to main (#1134)
1 parent b7148bc commit e3a5711

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/disabled-workflows/swift-format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: swift-format
22

33
on:
44
pull_request:
5-
branches: [ master ]
5+
branches: [ main ]
66

77
jobs:
88
swift-format:

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ make sure your changes are consistent with the guidelines.
5757
#### License
5858

5959
Include a license at the top of new files.
60-
* [License example](https://github.com/tensorflow/swift-apis/blob/master/Sources/TensorFlow/Layer.swift)
60+
* [License example](https://github.com/tensorflow/swift-apis/blob/main/Sources/TensorFlow/Layer.swift)
6161

6262
#### Swift coding style
6363

Documentation/X10/API_GUIDE.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ after the optimizer step explicitly synchronizes the CPU and the X10 device.
174174
The internal data representation of X10 tensors is opaque to the user. This
175175
allows XLA to control a tensor's memory layout for better performance.
176176

177-
[x10_lib]: https://github.com/tensorflow/swift-apis/tree/master/Sources/x10
178-
[copying]: https://github.com/tensorflow/swift-apis/tree/master/Sources/TensorFlow/Core/CopyableToDevice.swift
179-
[training]: https://github.com/tensorflow/swift-apis/tree/master/Sources/x10/swift_bindings/training_loop.swift
180-
[low-level]: https://github.com/tensorflow/swift-apis/blob/master/Sources/TensorFlow/Core/MixedPrecision.swift
177+
[x10_lib]: https://github.com/tensorflow/swift-apis/tree/main/Sources/x10
178+
[copying]: https://github.com/tensorflow/swift-apis/tree/main/Sources/TensorFlow/Core/CopyableToDevice.swift
179+
[training]: https://github.com/tensorflow/swift-apis/tree/main/Sources/x10/swift_bindings/training_loop.swift
180+
[low-level]: https://github.com/tensorflow/swift-apis/blob/main/Sources/TensorFlow/Core/MixedPrecision.swift

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ participating.
194194
[s4tf]: https://github.com/tensorflow/swift
195195
[integrated]: https://github.com/apple/swift/tree/tensorflow#customize-tensorflow-support
196196
[blank_colab]: https://colab.research.google.com/notebook#create=true&language=swift
197-
[usage]: https://github.com/tensorflow/swift/blob/master/Usage.md
197+
[usage]: https://github.com/tensorflow/swift/blob/main/Usage.md
198198
[gradient]: https://www.tensorflow.org/swift/api_docs/Functions#/s:10TensorFlow8gradient2at2in13TangentVectorQzx_AA0A0Vyq_GxXEtAA14DifferentiableRzAA0aB13FloatingPointR_r0_lF
199199
[swift-models]: https://github.com/tensorflow/swift-models
200-
[toolchain]: https://github.com/tensorflow/swift/blob/master/Installation.md
200+
[toolchain]: https://github.com/tensorflow/swift/blob/main/Installation.md
201201
[bazel]: https://docs.bazel.build/versions/master/install.html
202202
[bazelisk]: https://github.com/bazelbuild/bazelisk
203203
[configure.py]: https://github.com/tensorflow/tensorflow/blob/master/configure.py

Sources/x10/xla_client/mesh_service.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,12 @@ MeshClient* MeshClient::Get() {
265265
MeshClient::MeshClient(const std::string& address) : impl_(new Impl(address)) {
266266
int64 connect_wait_seconds =
267267
sys_util::GetEnvInt("XRT_MESH_CONNECT_WAIT", 300);
268-
TF_LOG(INFO) << "Waiting to connect to client mesh master ("
268+
TF_LOG(INFO) << "Waiting to connect to client mesh ("
269269
<< connect_wait_seconds << " seconds) " << address;
270270
XLA_CHECK(impl_->channel->WaitForConnected(
271271
std::chrono::system_clock::now() +
272272
std::chrono::seconds(connect_wait_seconds)))
273-
<< "Failed to connect to client mesh master: " << address;
273+
<< "Failed to connect to client mesh: " << address;
274274
}
275275

276276
MeshClient::~MeshClient() {}

Sources/x10/xla_client/xrt_computation_client.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@ void XrtComputationClient::InitializeDevices(
16021602
auto it = options_.workers_map.find(worker);
16031603
XLA_CHECK(it != options_.workers_map.end());
16041604

1605-
TF_VLOG(1) << "Configuring TPU for master worker " << worker.name << ":"
1605+
TF_VLOG(1) << "Configuring TPU for worker " << worker.name << ":"
16061606
<< worker.task_no << " at " << it->second;
16071607
tensorflow::tpu::TopologyProto worker_topology_proto =
16081608
InitializeAndFetchTopology(worker.name, worker.task_no, it->second,

0 commit comments

Comments
 (0)