提交 866ab4bd authored 作者: Brandon T. Willard's avatar Brandon T. Willard 提交者: Brandon T. Willard

Remove indirect VMLinker reference in aesara.compile.mode

上级 0b97f658
......@@ -7,7 +7,6 @@ import logging
import warnings
from typing import Optional, Tuple, Union
import aesara
from aesara.compile.function.types import Supervisor
from aesara.configdefaults import config
from aesara.graph.destroyhandler import DestroyHandler
......@@ -441,9 +440,7 @@ class Mode:
# FunctionMaker, the Mode will be taken from this dictionary using the
# string as the key
# Use VM_linker to allow lazy evaluation by default.
FAST_COMPILE = Mode(
aesara.link.vm.VMLinker(use_cloop=False, c_thunks=False), "fast_compile"
)
FAST_COMPILE = Mode(VMLinker(use_cloop=False, c_thunks=False), "fast_compile")
if config.cxx:
FAST_RUN = Mode("cvm", "fast_run")
else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论