Skip to content

Commit

Permalink
[rpc] Fix unit test after c10::nullopt removal (pytorch#143690)
Browse files Browse the repository at this point in the history
  • Loading branch information
yf225 authored and pytorchmergebot committed Dec 20, 2024
1 parent 912d6a2 commit bf7009d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cpp/rpc/test_e2e_tensorpipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class TestE2ETensorPipe : public TestE2EBase {

TensorPipeRpcBackendOptions opts(
/*numWorkerThreads=*/std::max(16U, std::thread::hardware_concurrency()),
/*transports=*/nullopt,
/*channels=*/nullopt,
/*transports=*/std::nullopt,
/*channels=*/std::nullopt,
/*rpc_timeout=*/rpcTimeout,
/*init_method=*/"unused");

Expand Down

0 comments on commit bf7009d

Please sign in to comment.