mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[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:
committed by
PyTorch MergeBot
parent
912d6a2867
commit
bf7009d839
@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user