diff --git a/binaries.json b/binaries.json index 86406c4fc4a82..7d3828fe49f0a 100644 --- a/binaries.json +++ b/binaries.json @@ -72,4 +72,4 @@ } ] } -} +} \ No newline at end of file diff --git a/ivy/_version.py b/ivy/_version.py index e241cdc6c96ab..5e8c630d75c3b 100644 --- a/ivy/_version.py +++ b/ivy/_version.py @@ -1 +1 @@ -__version__ = "0.0.8.0" +__version__ = "0.0.9.1" diff --git a/ivy/compiler/compiler.py b/ivy/compiler/compiler.py index 4bd5ae74aeb45..e6b55feda51b9 100644 --- a/ivy/compiler/compiler.py +++ b/ivy/compiler/compiler.py @@ -15,14 +15,13 @@ def trace_graph( static_argnums: Optional[Union[int, Iterable[int]]] = None, static_argnames: Optional[Union[str, Iterable[str]]] = None, compile_mode: Optional[str] = None, - graph_caching: bool = False, + graph_caching: bool = True, args: Optional[Sequence] = None, kwargs: Optional[Mapping] = None, params_v=None, v=None ): - """Takes `fn` and traces it into a more efficient composition of backend - operations. + """Takes `fn` and traces it into a more efficient composition of backend operations. Parameters ---------- @@ -92,8 +91,8 @@ def trace_graph( >>> start = time.time() >>> graph(x) >>> print(time.time() - start) - 0.0001785755157470703 - """ + 0.0001785755157470703""" + from ._compiler import trace_graph as _trace_graph return _trace_graph( @@ -127,7 +126,7 @@ def transpile( static_argnums: Optional[Union[int, Iterable[int]]] = None, static_argnames: Optional[Union[str, Iterable[str]]] = None, compile_mode: Optional[str] = None, - graph_caching: bool = False, + graph_caching: bool = True, graph_optimizations: bool = True, modes_to_trace: str = "all", stateful: Optional[List] = None, @@ -157,8 +156,8 @@ def transpile( Returns ------- - Either a transpiled Graph or a non-initialized LazyGraph. - """ + Either a transpiled Graph or a non-initialized LazyGraph.""" + from ._compiler import transpile as _transpile return _transpile( @@ -186,7 +185,7 @@ def transpile( def unify( *objs: Callable, source: Optional[str] = None, - graph_caching: bool = False, + graph_caching: bool = True, graph_optimizations: bool = True, args: Optional[Sequence] = None, kwargs: Optional[Mapping] = None,