diff --git a/doc/html/hummingbird/index.html b/doc/html/hummingbird/index.html index 37934e527..e045bde8e 100644 --- a/doc/html/hummingbird/index.html +++ b/doc/html/hummingbird/index.html @@ -38,7 +38,7 @@

Package hummingbird

Entrypoint for Hummingbird modules. """ -__version__ = "0.0.2" +__version__ = "0.0.3" __author__ = "Microsoft" __producer__ = "hummingbird" __producer_version__ = __version__ diff --git a/doc/html/hummingbird/ml/ir_converters/linked_node.html b/doc/html/hummingbird/ml/ir_converters/linked_node.html index 788075cfa..2c7e50af5 100644 --- a/doc/html/hummingbird/ml/ir_converters/linked_node.html +++ b/doc/html/hummingbird/ml/ir_converters/linked_node.html @@ -114,12 +114,13 @@

Module hummingbird.ml.ir_converters.linked_nodeReturns

# Convert the model from PyTorch to ONNX. if constants.N_FEATURES not in extra_config: extra_config[constants.ONNX_INPUTS] = all_tensors - # Early version of pytorch have a bug with exporting gemm into ONNX. - trimmed_version = torch.__version__.split("+")[0] # For Win pytorch has a +cpu or +gpu postfix - torch_version = LooseVersion(trimmed_version) - gemm_min = LooseVersion("1.5.0") - if torch_version <= gemm_min: - extra_config[constants.TREE_IMPLEMENTATION] = "tree_trav" + # Pytorch has a bug with exporting gemm into ONNX. + # For the moment only tree_trav is enabled + # trimmed_version = torch.__version__.split("+")[0] # For Win pytorch has a +cpu or +gpu postfix + # torch_version = LooseVersion(trimmed_version) + # gemm_min = LooseVersion("1.5.1") + # if torch_version <= gemm_min: + extra_config[constants.TREE_IMPLEMENTATION] = "tree_trav" pytorch_model = converter(node_, extra_config=extra_config) # Generate the inputs for the tracing. diff --git a/hummingbird/__init__.py b/hummingbird/__init__.py index c709de4b6..66136b03a 100644 --- a/hummingbird/__init__.py +++ b/hummingbird/__init__.py @@ -8,7 +8,7 @@ Entrypoint for Hummingbird modules. """ -__version__ = "0.0.2" +__version__ = "0.0.3" __author__ = "Microsoft" __producer__ = "hummingbird" __producer_version__ = __version__ diff --git a/setup.cfg b/setup.cfg index 907fe2bd7..fbddcd312 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.0.2 +current_version = 0.0.3 [bdist_wheel] universal = 1 diff --git a/setup.py b/setup.py index 7523e590e..26c718a64 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,6 @@ assert packages # read version from the package file. -version_str = "0.0.2" with (open(os.path.join(this, "hummingbird/__init__.py"), "r")) as f: line = [_ for _ in [_.strip("\r\n ") for _ in f.readlines()] if _.startswith("__version__")] if len(line) > 0: