Skip to content

Commit 1f9c4ce

Browse files
committed
Update
1 parent 11cc26c commit 1f9c4ce

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

.jenkins/metadata.json

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"recipes_source/torch_logs.py": {
3-
"duration": 0
4-
},
52
"intermediate_source/ax_multiobjective_nas_tutorial.py": {
63
"extra_files": ["intermediate_source/mnist_train_nas.py"],
74
"duration": 2000

intermediate_source/memory_format_tutorial.py

-16
Original file line numberDiff line numberDiff line change
@@ -376,22 +376,6 @@ def attribute(m):
376376
for (k, v) in attrs.items():
377377
setattr(m, k, v)
378378

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-
395379
######################################################################
396380
# Work to do
397381
# ----------

0 commit comments

Comments
 (0)