Skip to content

Commit e320a37

Browse files
authored
Fix changed env var (#1292)
Avoids a 'warning' about using the deprecated env
1 parent e7c0cae commit e320a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchtitan/distributed/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def _get_distributed_backend(job_config):
220220
backend = f"{device_type}:{backend},cpu:gloo"
221221
return backend
222222

223-
TRACE_BUFFER_SIZE = "TORCH_NCCL_TRACE_BUFFER_SIZE"
223+
TRACE_BUFFER_SIZE = "TORCH_FR_BUFFER_SIZE"
224224
TRACE_FILE = "TORCH_NCCL_DEBUG_INFO_TEMP_FILE"
225225
DUMP_ON_TIMEOUT = "TORCH_NCCL_DUMP_ON_TIMEOUT"
226226
ASYNC_ERROR_HANDLING = "TORCH_NCCL_ASYNC_ERROR_HANDLING"

0 commit comments

Comments
 (0)