[nnc] Provide helpful error messages about turning off the fuser (#64516)
authorBert Maher <bertrand@fb.com>
Wed, 8 Sep 2021 15:07:19 +0000 (08:07 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 8 Sep 2021 15:10:22 +0000 (08:10 -0700)
commit7f0feafa552b37385c1813e1dd2b427c39f3200e
tree89f19d8d9c0a8a6c6fd9a7a4f4802df79cd4600e
parent768014b3e69090347dbecf81e292ae97028067fe
[nnc] Provide helpful error messages about turning off the fuser (#64516)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64516

If fuser compilation fails due to a bug (which should be highly
unlikely at this point) we want to direct the user how to unblock themselves by
disabling fusion, in addition to requesting that they report a bug.
ghstack-source-id: 137398537

Test Plan: existing tests

Reviewed By: ZolotukhinM

Differential Revision: D30758051

fbshipit-source-id: 98be89f1b1d4fb3bc816f5b2634c618b9297930e
torch/csrc/jit/tensorexpr/analysis.h
torch/csrc/jit/tensorexpr/bounds_inference.cpp
torch/csrc/jit/tensorexpr/bounds_overlap.cpp
torch/csrc/jit/tensorexpr/cuda_codegen.cpp
torch/csrc/jit/tensorexpr/exceptions.h
torch/csrc/jit/tensorexpr/external_functions.cpp
torch/csrc/jit/tensorexpr/kernel.cpp