Get or set config whether raise error exactly when invoking op. The default level is 2, which means both device and user side errors are async.
import megengine as mge mge.config.async_level = 2
Whether or not run possible algorithms on real device to find the best one. The default option is false, which means use heuristic to choose the fastest algorithm.
import megengine as mge mge.config.benchmark_kernel = True
Whether or not the fastest algorithm choosed is reproducible. The default option is false, which means the algorithm is not reproducible.
import megengine as mge mge.config.deterministic_kernel = True