genesis-flow 1.0.5__py3-none-any.whl → 1.0.7__py3-none-any.whl
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.
- {genesis_flow-1.0.5.dist-info → genesis_flow-1.0.7.dist-info}/METADATA +1 -1
- {genesis_flow-1.0.5.dist-info → genesis_flow-1.0.7.dist-info}/RECORD +8 -8
- {genesis_flow-1.0.5.dist-info → genesis_flow-1.0.7.dist-info}/entry_points.txt +0 -1
- mlflow/azure/stores.py +9 -10
- mlflow/utils/secure_loading.py +10 -0
- {genesis_flow-1.0.5.dist-info → genesis_flow-1.0.7.dist-info}/WHEEL +0 -0
- {genesis_flow-1.0.5.dist-info → genesis_flow-1.0.7.dist-info}/licenses/LICENSE.txt +0 -0
- {genesis_flow-1.0.5.dist-info → genesis_flow-1.0.7.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: genesis-flow
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.7
|
4
4
|
Summary: Genesis-Flow: MLflow v3.1.4 compatible fork for Genesis platform
|
5
5
|
Maintainer-email: Databricks <mlflow-oss-maintainers@googlegroups.com>
|
6
6
|
License: Copyright 2018 Databricks, Inc. All rights reserved.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
genesis_flow-1.0.
|
1
|
+
genesis_flow-1.0.7.dist-info/licenses/LICENSE.txt,sha256=Y5U1Xebzka__NZlqMPtBsYm0mRpMtUmTrONatpoL-ig,11382
|
2
2
|
mlflow/__init__.py,sha256=-_r__N5Afed81pLVtr2wKbHQIA0aj9u9n_7kWGxLWi4,11194
|
3
3
|
mlflow/__main__.py,sha256=_PcdoxKehR_a2MI6GqBfzYzRCXZhVyDCSdbxDWVlWd4,39
|
4
4
|
mlflow/cli.py,sha256=f1ObrWZ03HgRiRoVEE1Gffe-dGcSY7CxJyEFgb5VUMM,26137
|
@@ -26,7 +26,7 @@ mlflow/azure/client.py,sha256=dUaMFj04OLrlyvYSRTHXF4CaLHCGUdSzhjM5u8ucv8g,11509
|
|
26
26
|
mlflow/azure/config.py,sha256=0DwiEYN3TefmdaGO9KogNNflX_-0wOeHwKt2hMxKEdU,4491
|
27
27
|
mlflow/azure/connection_factory.py,sha256=1hcwPmc5xpP_MS1t3CIlzYfJ_mzEn2GBxnz5TJ1sHOY,12391
|
28
28
|
mlflow/azure/exceptions.py,sha256=3jQo_kimK4g94LmSCtzfRQqEOl6bDBtwAQ6utXbgw8k,494
|
29
|
-
mlflow/azure/stores.py,sha256=
|
29
|
+
mlflow/azure/stores.py,sha256=EwcAnb7RolKU-cI11Ak1Rdsv6a-TOQJbAOOaaoIcKuE,12876
|
30
30
|
mlflow/azure/utils.py,sha256=uU4OWU9ffz3KhLf0IgGqabZTTiAskLrNGVH5bIcwKUU,5563
|
31
31
|
mlflow/bedrock/__init__.py,sha256=LNOczTpqmgbdek-anWMNisPGDcnn-VbWQm5VVxQ7FdA,1846
|
32
32
|
mlflow/bedrock/_autolog.py,sha256=7c2mj9pK1aj-IKCySl74g6gGxze2Bldo8bHSIZAQj5M,7800
|
@@ -613,7 +613,7 @@ mlflow/utils/requirements_utils.py,sha256=79BL9iFqg9H4VRYiqk-gTLlrfLyUY7KVG4BDV8
|
|
613
613
|
mlflow/utils/rest_utils.py,sha256=R5MZk0Ck358VeW-DKqpfSyDHbWjg_slQTpRfr4ZLDLM,26664
|
614
614
|
mlflow/utils/search_logged_model_utils.py,sha256=JWczQxogo4u9Gr3gfoSVf7tVny1e-rxfAchh3Vqy6RU,4289
|
615
615
|
mlflow/utils/search_utils.py,sha256=PgXtwlViHvmahY63otykh5iJVW0PR9DIwetrvCCBw2U,86142
|
616
|
-
mlflow/utils/secure_loading.py,sha256=
|
616
|
+
mlflow/utils/secure_loading.py,sha256=1d-Hf0QkU6WkGjLKvAKcXv7sLa6xl2utig1lT-Hhyp4,10262
|
617
617
|
mlflow/utils/security_validation.py,sha256=cLBrLNOoVJuAffO677v0m_v4i-01v7aLk-sJk87mpkQ,12830
|
618
618
|
mlflow/utils/server_cli_utils.py,sha256=gbT5CVkOLorSw-y8bnNSBEP9mClcVTagtTN5SK5Azhw,2381
|
619
619
|
mlflow/utils/spark_utils.py,sha256=zUbQIRAtwyU3rDJK8m7v42KO2TSGn28Coe_UYBEhIWA,395
|
@@ -641,8 +641,8 @@ mlflow/utils/autologging_utils/metrics_queue.py,sha256=bwpMX7Go6xFxrpYROi6rDBdVt
|
|
641
641
|
mlflow/utils/autologging_utils/safety.py,sha256=IwbTbusyE87Hc4qkhhvMikoaZqX9kpr972FWS2B8goc,51465
|
642
642
|
mlflow/utils/autologging_utils/versioning.py,sha256=2hSN4KXFWEJCcopDdLG6BiPeqSoqjETeNMuUBsCCwlI,3762
|
643
643
|
mlflow/utils/import_hooks/__init__.py,sha256=werje98Woelkbwrhtlb8wmRdt3RtiL--LqGru7Xh3YU,13589
|
644
|
-
genesis_flow-1.0.
|
645
|
-
genesis_flow-1.0.
|
646
|
-
genesis_flow-1.0.
|
647
|
-
genesis_flow-1.0.
|
648
|
-
genesis_flow-1.0.
|
644
|
+
genesis_flow-1.0.7.dist-info/METADATA,sha256=Z4t8Zn9OIxkH7d-hTozfYP0c8_-VB-WQ0KWo8XxyDHw,33401
|
645
|
+
genesis_flow-1.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
646
|
+
genesis_flow-1.0.7.dist-info/entry_points.txt,sha256=YZZiTHSYQpv8vou6gdqWI17piK9Pm0P3BmZ-xepUtnw,449
|
647
|
+
genesis_flow-1.0.7.dist-info/top_level.txt,sha256=wm8UqYyUHI21EvrTDHb3eYICy0dOVDLBhAL-jp5zbuI,7
|
648
|
+
genesis_flow-1.0.7.dist-info/RECORD,,
|
mlflow/azure/stores.py
CHANGED
@@ -172,22 +172,21 @@ def create_store(store_uri: str, artifact_uri: Optional[str] = None):
|
|
172
172
|
"auth_method=managed_identity" in store_uri
|
173
173
|
)
|
174
174
|
|
175
|
-
#
|
175
|
+
# Check if we need to enable auth based on explicit request in URI
|
176
|
+
if explicit_azure_request and not config.auth_enabled:
|
177
|
+
# URI explicitly requests Azure auth, so enable it
|
178
|
+
config.auth_enabled = True
|
179
|
+
if not config.auth_method or config.auth_method == AuthMethod.SQL_AUTH:
|
180
|
+
config.auth_method = AuthMethod.MANAGED_IDENTITY
|
181
|
+
logger.debug("Enabled Azure auth due to explicit request in URI")
|
182
|
+
|
183
|
+
# Log the decision for debugging
|
176
184
|
if not config.auth_enabled and not explicit_azure_request:
|
177
|
-
# Log for debugging
|
178
185
|
logger.debug(
|
179
186
|
"Azure auth not enabled: config.auth_enabled=%s, explicit_request=%s",
|
180
187
|
config.auth_enabled,
|
181
188
|
explicit_azure_request
|
182
189
|
)
|
183
|
-
return None
|
184
|
-
|
185
|
-
# If we reach here, Azure auth is either enabled or explicitly requested
|
186
|
-
# Make sure config reflects this
|
187
|
-
if explicit_azure_request and not config.auth_enabled:
|
188
|
-
config.auth_enabled = True
|
189
|
-
if not config.auth_method or config.auth_method == AuthMethod.SQL_AUTH:
|
190
|
-
config.auth_method = AuthMethod.MANAGED_IDENTITY
|
191
190
|
|
192
191
|
if config.should_use_azure_auth:
|
193
192
|
logger.info("Creating Azure-enabled tracking store via plugin: auth_method=%s", config.auth_method.value)
|
mlflow/utils/secure_loading.py
CHANGED
@@ -17,6 +17,10 @@ logger = logging.getLogger(__name__)
|
|
17
17
|
|
18
18
|
# Allowlist of safe classes that can be unpickled
|
19
19
|
SAFE_PICKLE_CLASSES = {
|
20
|
+
|
21
|
+
# STD types
|
22
|
+
'time.time',
|
23
|
+
|
20
24
|
# NumPy types
|
21
25
|
'numpy.ndarray',
|
22
26
|
'numpy.dtype',
|
@@ -62,6 +66,7 @@ SAFE_PICKLE_CLASSES = {
|
|
62
66
|
'cloudpickle.cloudpickle._function_setstate',
|
63
67
|
'cloudpickle.cloudpickle._make_empty_cell',
|
64
68
|
'cloudpickle.cloudpickle._make_cell',
|
69
|
+
'cloudpickle.cloudpickle.subimport',
|
65
70
|
|
66
71
|
# Sentence Transformers
|
67
72
|
'sentence_transformers.SentenceTransformer.SentenceTransformer',
|
@@ -103,6 +108,11 @@ SAFE_PICKLE_CLASSES = {
|
|
103
108
|
'tokenizers.Tokenizer',
|
104
109
|
'tokenizers.models.Model',
|
105
110
|
'tokenizers.AddedToken',
|
111
|
+
|
112
|
+
# PyTorch
|
113
|
+
'model.load_checkpoint',
|
114
|
+
'torch.device',
|
115
|
+
'model.SepClassifier',
|
106
116
|
}
|
107
117
|
|
108
118
|
|
File without changes
|
File without changes
|
File without changes
|