Skip to content

Commit

Permalink
Fix importing issue for inductor_debug_cpu (#2943)
Browse files Browse the repository at this point in the history
* Fix importing issue for inductor_debug_cpu

---------
Co-authored-by: Svetlana Karslioglu <[email protected]>
  • Loading branch information
Valentine233 authored Jul 22, 2024
1 parent 2ec46a4 commit 0a5b58b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .jenkins/validate_tutorials_built.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"intermediate_source/flask_rest_api_tutorial",
"intermediate_source/text_to_speech_with_torchaudio",
"intermediate_source/tensorboard_profiler_tutorial", # reenable after 2.0 release.
"intermediate_source/inductor_debug_cpu", # reenable after 2942
"beginner_source/onnx/onnx_registry_tutorial", # reenable after 2941 is fixed.
"intermediate_source/torch_export_tutorial" # reenable after 2940 is fixed.
]
Expand Down
3 changes: 2 additions & 1 deletion intermediate_source/inductor_debug_cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def forward1(self, arg0_1, arg1_1):
# C++ kernel in ``output_code``:
#

from torch._inductor.codecache import AsyncCompile
import torch
from torch._inductor.async_compile import AsyncCompile
async_compile = AsyncCompile()

cpp_fused_cat_maximum_neg_0 = async_compile.cpp('''
Expand Down

0 comments on commit 0a5b58b

Please sign in to comment.