Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
c0b93a1c
"syntaxnet/dragnn/viz/example_with_lookahead.html" did not exist on "51fcc99bc6975025f0ca223692b7f38ba0259efb"
Unverified
Commit
c0b93a1c
authored
Jul 30, 2020
by
Stas Bekman
Committed by
GitHub
Jul 30, 2020
Browse files
correct the correction (#6163)
parent
a2f6d521
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/benchmark/benchmark_utils.py
src/transformers/benchmark/benchmark_utils.py
+1
-1
No files found.
src/transformers/benchmark/benchmark_utils.py
View file @
c0b93a1c
...
...
@@ -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
/benchmark
ing/
` 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment