[rpc] Fix unit test after c10::nullopt removal (#143690)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/143690
Approved by: https://github.com/yifuwang, https://github.com/c-p-i-o, https://github.com/XilunWu
This commit is contained in:
Will Feng
2024-12-20 23:36:07 +00:00
committed by PyTorch MergeBot
parent 912d6a2867
commit bf7009d839

View File

@ -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");