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