mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Disable nvfuser fma / opt level overrides per #1244
This commit is contained in:
parent
c0211b0bf7
commit
2f2b22d8c7
@ -35,8 +35,8 @@ def set_jit_fuser(fuser):
|
|||||||
torch._C._jit_set_texpr_fuser_enabled(False)
|
torch._C._jit_set_texpr_fuser_enabled(False)
|
||||||
elif fuser == "nvfuser" or fuser == "nvf":
|
elif fuser == "nvfuser" or fuser == "nvf":
|
||||||
os.environ['PYTORCH_NVFUSER_DISABLE_FALLBACK'] = '1'
|
os.environ['PYTORCH_NVFUSER_DISABLE_FALLBACK'] = '1'
|
||||||
os.environ['PYTORCH_NVFUSER_DISABLE_FMA'] = '1'
|
#os.environ['PYTORCH_NVFUSER_DISABLE_FMA'] = '1'
|
||||||
os.environ['PYTORCH_NVFUSER_JIT_OPT_LEVEL'] = '0'
|
#os.environ['PYTORCH_NVFUSER_JIT_OPT_LEVEL'] = '0'
|
||||||
torch._C._jit_set_texpr_fuser_enabled(False)
|
torch._C._jit_set_texpr_fuser_enabled(False)
|
||||||
torch._C._jit_set_profiling_executor(True)
|
torch._C._jit_set_profiling_executor(True)
|
||||||
torch._C._jit_set_profiling_mode(True)
|
torch._C._jit_set_profiling_mode(True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user