"vscode:/vscode.git/clone" did not exist on "dbc18e78165e72291703f6aaf991267fbbc19d2d"
Commit 87127155 authored by zhuwenwen's avatar zhuwenwen
Browse files

[fix]修复多卡eager模式精度问题

parent 2d465ec7
......@@ -1089,8 +1089,9 @@ def current_stream() -> torch.cuda.Stream:
# On ROCm using the default 0 stream in combination with RCCL
# is hurting performance. Therefore creating a dedicated stream
# per process
_current_stream = torch.cuda.Stream() if current_platform.is_rocm(
) else torch.cuda.current_stream()
# _current_stream = torch.cuda.Stream() if current_platform.is_rocm(
# ) else torch.cuda.current_stream()
_current_stream = torch.cuda.current_stream()
return _current_stream
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment