Skip to content

Commit bf7009d

Browse files
yf225pytorchmergebot
authored andcommitted
[rpc] Fix unit test after c10::nullopt removal (pytorch#143690)
Pull Request resolved: pytorch#143690 Approved by: https://github.com/yifuwang, https://github.com/c-p-i-o, https://github.com/XilunWu
1 parent 912d6a2 commit bf7009d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cpp/rpc/test_e2e_tensorpipe.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class TestE2ETensorPipe : public TestE2EBase {
2323

2424
TensorPipeRpcBackendOptions opts(
2525
/*numWorkerThreads=*/std::max(16U, std::thread::hardware_concurrency()),
26-
/*transports=*/nullopt,
27-
/*channels=*/nullopt,
26+
/*transports=*/std::nullopt,
27+
/*channels=*/std::nullopt,
2828
/*rpc_timeout=*/rpcTimeout,
2929
/*init_method=*/"unused");
3030

0 commit comments

Comments
 (0)