File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "recipes_source/torch_logs.py" : {
3
- "duration" : 0
4
- },
5
2
"intermediate_source/ax_multiobjective_nas_tutorial.py" : {
6
3
"extra_files" : [" intermediate_source/mnist_train_nas.py" ],
7
4
"duration" : 2000
Original file line number Diff line number Diff line change @@ -376,22 +376,6 @@ def attribute(m):
376
376
for (k , v ) in attrs .items ():
377
377
setattr (m , k , v )
378
378
379
- import gc
380
- import sys
381
-
382
- torch ._dynamo .reset ()
383
- if torch .cuda .is_available ():
384
- torch .cuda .empty_cache ()
385
-
386
- gc .collect ()
387
-
388
- # Clear any references to the wrapper functions
389
- del old_attrs
390
- del contains_cl
391
- del print_inputs
392
- del check_wrapper
393
- del attribute
394
-
395
379
######################################################################
396
380
# Work to do
397
381
# ----------
You can’t perform that action at this time.
0 commit comments