mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
correct the correction (#6163)
This commit is contained in:
parent
a2f6d521c1
commit
c0b93a1c7a
@ -310,7 +310,7 @@ def start_memory_tracing(
|
||||
gpus_to_trace: Optional[List[int]] = None,
|
||||
) -> MemoryTrace:
|
||||
""" Setup line-by-line tracing to record rss mem (RAM) at each line of a module or sub-module.
|
||||
See `../../../examples/benchmarking/` for usage examples.
|
||||
See `./benchmark.py` for usage examples.
|
||||
Current memory consumption is returned using psutil and in particular is the RSS memory
|
||||
"Resident Set Size” (the non-swapped physical memory the process is using).
|
||||
See https://psutil.readthedocs.io/en/latest/#psutil.Process.memory_info
|
||||
|
Loading…
Reference in New Issue
Block a user