You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FIXME experiments/*.py fail at lowering unless TORCHSIM_TIMING_MODE is in the environment #416
torch._inductor.exc.InductorError: LoweringException: RuntimeError: TORCHSIM_TIMING_MODE changed after pytorchsim was installed: Inductor's epilogue-fusion benchmark follows the mode the process started in
Each script (gemm, conv, attention, BERT, resnet18/50, layernorm, softmax) calls os.environ.setdefault("TORCHSIM_TIMING_MODE", ...) after import torch. By then the device package has already installed pytorchsim under the mode the process started in. Exporting TORCHSIM_TIMING_MODE=1 before running avoids the error.
Reproduced in docker local/torchsim_base:ptb-9618c0e.
Activity