kgmodule-utils 0.2.3__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kgmodule-utils
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Shared types and snapshot infrastructure for the KGModule SDK
5
5
  License: Elastic-2.0
6
6
  License-File: LICENSE
@@ -10,7 +10,7 @@ build-backend = "poetry.core.masonry.api"
10
10
 
11
11
  [project]
12
12
  name = "kgmodule-utils"
13
- version = "0.2.3"
13
+ version = "0.2.4"
14
14
  description = "Shared types and snapshot infrastructure for the KGModule SDK"
15
15
  readme = "README.md"
16
16
  license = { text = "Elastic-2.0" }
@@ -9,4 +9,4 @@ Sub-packages:
9
9
  wrap_embedder(), load_sentence_transformer().
10
10
  """
11
11
 
12
- __version__ = "0.2.3"
12
+ __version__ = "0.2.4"
@@ -99,6 +99,7 @@ def load_sentence_transformer(model_name: str = DEFAULT_MODEL) -> Any:
99
99
  from transformers import logging as hf_logging # pylint: disable=import-outside-toplevel
100
100
 
101
101
  hf_logging.set_verbosity_error()
102
+ hf_logging.disable_progress_bar() # TQDM_DISABLE alone misses transformers' _tqdm_active gate
102
103
  except ImportError:
103
104
  pass
104
105
 
@@ -143,6 +144,7 @@ class SentenceTransformerEmbedder(Embedder):
143
144
  from transformers import logging as hf_logging # pylint: disable=import-outside-toplevel
144
145
 
145
146
  hf_logging.set_verbosity_error()
147
+ hf_logging.disable_progress_bar()
146
148
  except ImportError:
147
149
  pass
148
150
 
File without changes
File without changes