azureml-registry-tools 0.1.0a32__tar.gz → 0.1.0a33__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.
- {azureml_registry_tools-0.1.0a32/azureml_registry_tools.egg-info → azureml_registry_tools-0.1.0a33}/PKG-INFO +2 -2
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/model.schema.json +35 -3
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/mgmt/asset_management.py +15 -3
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33/azureml_registry_tools.egg-info}/PKG-INFO +2 -2
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml_registry_tools.egg-info/requires.txt +1 -1
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/setup.py +2 -2
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/LICENSE.txt +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/MANIFEST.in +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/_cli/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/_cli/registry_syndication_cli.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/_cli/repo2registry_cli.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/_rest_client/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/_rest_client/arm_client.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/_rest_client/base_rest_client.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/_rest_client/registry_management_client.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/_rest_client/registry_model_client.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/asset.yaml.template +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/description.md.template +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/evaluation.md.template +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/model-variant.schema.json +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/model.yaml.template +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/notes.md.template +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/validate_model_schema.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/data/validate_model_variant_schema.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/mgmt/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/mgmt/create_asset_template.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/mgmt/create_manifest.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/mgmt/create_model_spec.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/mgmt/model_management.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/mgmt/syndication_manifest.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/mgmt/util.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/tools/__init__.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/tools/config.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/tools/create_or_update_assets.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/tools/registry_utils.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/tools/repo2registry_config.py +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml_registry_tools.egg-info/SOURCES.txt +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml_registry_tools.egg-info/dependency_links.txt +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml_registry_tools.egg-info/entry_points.txt +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml_registry_tools.egg-info/top_level.txt +0 -0
- {azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: azureml-registry-tools
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a33
|
|
4
4
|
Summary: AzureML Registry tools and CLI
|
|
5
5
|
Author: Microsoft Corp
|
|
6
6
|
License: https://aka.ms/azureml-sdk-license
|
|
@@ -10,7 +10,7 @@ Requires-Dist: azure-identity<2.0
|
|
|
10
10
|
Requires-Dist: ruamel-yaml<0.19,>=0.17.21
|
|
11
11
|
Requires-Dist: diskcache~=5.6
|
|
12
12
|
Requires-Dist: azure-ai-ml<2.0,>=1.30.0
|
|
13
|
-
Requires-Dist: azureml-assets<2.0
|
|
13
|
+
Requires-Dist: azureml-assets<2.0,>=1.16.99
|
|
14
14
|
Dynamic: author
|
|
15
15
|
Dynamic: license
|
|
16
16
|
Dynamic: license-file
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"_aml_system_vanity_registry": {
|
|
168
168
|
"description": "AML vanity registry",
|
|
169
169
|
"type": "string",
|
|
170
|
-
"enum": ["azureml-phi"]
|
|
170
|
+
"enum": ["azureml-phi", "azureml-oai-oss-ft", "azureml-meta-ft"]
|
|
171
171
|
},
|
|
172
172
|
"author": {
|
|
173
173
|
"description": "Model provider/author name",
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
"outputModalities": {
|
|
375
375
|
"description": "Output modalities supported (e.g., text) as a comma-separated string",
|
|
376
376
|
"type": "string",
|
|
377
|
-
"pattern": "^(audio|csv|embeddings|image|json|pdf|text|video|3D-image)(?:\\s*,\\s*(audio|csv|embeddings|image|json|pdf|text|video|3D-image))*$"
|
|
377
|
+
"pattern": "^(audio|csv|embeddings|image|json|pdf|text|video|3D-image|robot-action-chunks)(?:\\s*,\\s*(audio|csv|embeddings|image|json|pdf|text|video|3D-image|robot-action-chunks))*$"
|
|
378
378
|
},
|
|
379
379
|
"playgroundRateLimitTier": {
|
|
380
380
|
"description": "Rate limit tier for playground",
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
"task": {
|
|
396
396
|
"description": "Tasks supported by the model as a comma-separated string",
|
|
397
397
|
"type": "string",
|
|
398
|
-
"pattern": "^(audio-analysis|audio-classification|audio-generation|automatic-speech-recognition|chat-completion|completions|content-filters|content-safety|conversational-ai|custom-extraction|data-generation|document-analysis|document-ingestion|document-translation|embeddings|face-detection|fill-mask|forecasting|image-analysis|image-classification|image-feature-extraction|image-text-to-text|image-to-image|image-to-text|intelligent-content-processing|intelligent-document-processing|text-pii-extraction|conversation-pii-extraction|document-pii-extraction|detect-language|optical-character-recognition|protein-sequence-generation|protein-structure-prediction|responses|responsible-ai|retrosynthesis-prediction|summarization|text-analysis|text-analytics|text-classification|text-generation|text-to-image|text-to-speech|time-series-forecasting|translation|speech-to-text|speech-translation|video-analysis|video-generation|video-text-to-text|visual-question-answering|zero-shot-classification|zero-shot-image-classification|materials-design|atomistic-modelling|image-to-3D|text-to-3D|3D-generation|task-completion-verification|action-affordance|next-plausible-action-prediction|Structure-Prediction|Genomics|biomolecular-complex-structure-prediction|structure-prediction|protein-folding|web-agent-tasks|gui-grounding|messages)(?:\\s*,\\s*(audio-analysis|audio-classification|audio-generation|automatic-speech-recognition|chat-completion|completions|content-filters|content-safety|conversational-ai|custom-extraction|data-generation|document-analysis|document-ingestion|document-translation|embeddings|face-detection|fill-mask|forecasting|image-analysis|image-classification|image-feature-extraction|image-text-to-text|image-to-image|image-to-text|intelligent-content-processing|intelligent-document-processing|optical-character-recognition|protein-sequence-generation|protein-structure-prediction|responses|responsible-ai|summarization|text-analysis|text-analytics|text-classification|text-generation|text-pii-extraction|conversation-pii-extraction|document-pii-extraction|detect-language|text-to-image|text-to-speech|time-series-forecasting|translation|speech-to-text|speech-translation|video-analysis|video-generation|video-text-to-text|visual-question-answering|zero-shot-classification|zero-shot-image-classification|materials-design|atomistic-modelling|image-to-3D|text-to-3D|3D-generation|task-completion-verification|action-affordance|next-plausible-action-prediction|Structure-Prediction|Genomics|biomolecular-complex-structure-prediction|structure-prediction|protein-folding|web-agent-tasks|gui-grounding|messages))*$"
|
|
398
|
+
"pattern": "^(audio-analysis|audio-classification|audio-generation|automatic-speech-recognition|chat-completion|completions|content-filters|content-safety|conversational-ai|custom-extraction|data-generation|document-analysis|document-ingestion|document-translation|embeddings|face-detection|fill-mask|forecasting|image-analysis|image-classification|image-feature-extraction|image-text-to-text|image-to-image|image-to-text|intelligent-content-processing|intelligent-document-processing|text-pii-extraction|conversation-pii-extraction|document-pii-extraction|detect-language|optical-character-recognition|protein-sequence-generation|protein-structure-prediction|responses|responsible-ai|retrosynthesis-prediction|summarization|text-analysis|text-analytics|text-classification|text-generation|text-to-image|text-to-speech|time-series-forecasting|translation|speech-to-text|speech-translation|video-analysis|video-generation|video-text-to-text|visual-question-answering|zero-shot-classification|zero-shot-image-classification|materials-design|atomistic-modelling|image-to-3D|text-to-3D|3D-generation|task-completion-verification|action-affordance|next-plausible-action-prediction|Structure-Prediction|Genomics|biomolecular-complex-structure-prediction|structure-prediction|protein-folding|web-agent-tasks|gui-grounding|messages|robot-control)(?:\\s*,\\s*(audio-analysis|audio-classification|audio-generation|automatic-speech-recognition|chat-completion|completions|content-filters|content-safety|conversational-ai|custom-extraction|data-generation|document-analysis|document-ingestion|document-translation|embeddings|face-detection|fill-mask|forecasting|image-analysis|image-classification|image-feature-extraction|image-text-to-text|image-to-image|image-to-text|intelligent-content-processing|intelligent-document-processing|optical-character-recognition|protein-sequence-generation|protein-structure-prediction|responses|responsible-ai|summarization|text-analysis|text-analytics|text-classification|text-generation|text-pii-extraction|conversation-pii-extraction|document-pii-extraction|detect-language|text-to-image|text-to-speech|time-series-forecasting|translation|speech-to-text|speech-translation|video-analysis|video-generation|video-text-to-text|visual-question-answering|zero-shot-classification|zero-shot-image-classification|materials-design|atomistic-modelling|image-to-3D|text-to-3D|3D-generation|task-completion-verification|action-affordance|next-plausible-action-prediction|Structure-Prediction|Genomics|biomolecular-complex-structure-prediction|structure-prediction|protein-folding|web-agent-tasks|gui-grounding|messages|robot-control))*$"
|
|
399
399
|
},
|
|
400
400
|
"textContextWindow": {
|
|
401
401
|
"description": "Context window size",
|
|
@@ -606,6 +606,38 @@
|
|
|
606
606
|
},
|
|
607
607
|
"description": "Model capabilities (e.g., agents, assistants)"
|
|
608
608
|
},
|
|
609
|
+
"toolsSupported": {
|
|
610
|
+
"type": "array",
|
|
611
|
+
"items": {
|
|
612
|
+
"type": "string",
|
|
613
|
+
"enum": [
|
|
614
|
+
"web_search",
|
|
615
|
+
"file_search",
|
|
616
|
+
"image_generation",
|
|
617
|
+
"code_interpreter",
|
|
618
|
+
"computer_use",
|
|
619
|
+
"mcp"
|
|
620
|
+
]
|
|
621
|
+
},
|
|
622
|
+
"description": "Specific tools that the model supports (e.g., web_search, file_search, code_interpreter, computer_use)"
|
|
623
|
+
},
|
|
624
|
+
"featuresSupported": {
|
|
625
|
+
"type": "array",
|
|
626
|
+
"items": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"enum": [
|
|
629
|
+
"streaming",
|
|
630
|
+
"function_calling",
|
|
631
|
+
"structured_outputs",
|
|
632
|
+
"fine_tuning",
|
|
633
|
+
"distillation",
|
|
634
|
+
"predicted_outputs",
|
|
635
|
+
"inpainting",
|
|
636
|
+
"image_input"
|
|
637
|
+
]
|
|
638
|
+
},
|
|
639
|
+
"description": "Model features and capabilities supported (e.g., streaming, function_calling, structured_outputs)"
|
|
640
|
+
},
|
|
609
641
|
"azureOffers": {
|
|
610
642
|
"type": "array",
|
|
611
643
|
"items": {
|
|
@@ -20,13 +20,16 @@ from azureml.registry.data.validate_model_variant_schema import validate_model_v
|
|
|
20
20
|
from azureml.registry._rest_client.registry_management_client import RegistryManagementClient
|
|
21
21
|
from azureml.registry.mgmt.util import resolve_from_file_for_asset
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# Cross-platform compatibility patch - must be applied before importing azureml.assets
|
|
24
|
+
import os
|
|
24
25
|
from subprocess import run
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
def patched_run_command(cmd: List[str]):
|
|
28
|
-
"""Run command with shell
|
|
29
|
-
|
|
29
|
+
"""Run command with OS-appropriate shell setting for cross-platform compatibility."""
|
|
30
|
+
# Use shell=True on Windows, shell=False on Unix-like systems
|
|
31
|
+
use_shell = os.name == 'nt' # 'nt' is Windows
|
|
32
|
+
result = run(cmd, capture_output=True, encoding=sys.stdout.encoding, errors="ignore", shell=use_shell)
|
|
30
33
|
return result
|
|
31
34
|
|
|
32
35
|
|
|
@@ -40,6 +43,9 @@ from azureml.assets.config import AssetConfig, AssetType # noqa: E402
|
|
|
40
43
|
from azureml.assets.publish_utils import create_asset # noqa: E402
|
|
41
44
|
from azureml.assets.validate_assets import validate_assets # noqa: E402
|
|
42
45
|
|
|
46
|
+
# Set azcopy job plan location to avoid permission issues
|
|
47
|
+
os.environ.setdefault("AZCOPY_JOB_PLAN_LOCATION", tempfile.gettempdir())
|
|
48
|
+
|
|
43
49
|
|
|
44
50
|
def validate_model(asset_path: Path, allow_additional_properties: bool = False) -> bool:
|
|
45
51
|
"""Validate model.
|
|
@@ -239,6 +245,12 @@ def create_or_update_asset(readonly_asset: AssetConfig, registry_name: str, subs
|
|
|
239
245
|
credential=DefaultAzureCredential(), # CodeQL [SM05139] DefaultAzureCredential should only be used for local development and testing purposes.
|
|
240
246
|
)
|
|
241
247
|
|
|
248
|
+
if not shutil.which("azcopy"):
|
|
249
|
+
raise RuntimeError(
|
|
250
|
+
"azcopy is not available in PATH. "
|
|
251
|
+
"Please install azcopy: https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10"
|
|
252
|
+
)
|
|
253
|
+
|
|
242
254
|
with tempfile.TemporaryDirectory() as mutable_asset_dir:
|
|
243
255
|
mutable_asset, system_metadata_payload = build_mutable_asset(base_asset=readonly_asset, mutable_asset_dir=mutable_asset_dir, override_storage=override_storage)
|
|
244
256
|
try:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: azureml-registry-tools
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a33
|
|
4
4
|
Summary: AzureML Registry tools and CLI
|
|
5
5
|
Author: Microsoft Corp
|
|
6
6
|
License: https://aka.ms/azureml-sdk-license
|
|
@@ -10,7 +10,7 @@ Requires-Dist: azure-identity<2.0
|
|
|
10
10
|
Requires-Dist: ruamel-yaml<0.19,>=0.17.21
|
|
11
11
|
Requires-Dist: diskcache~=5.6
|
|
12
12
|
Requires-Dist: azure-ai-ml<2.0,>=1.30.0
|
|
13
|
-
Requires-Dist: azureml-assets<2.0
|
|
13
|
+
Requires-Dist: azureml-assets<2.0,>=1.16.99
|
|
14
14
|
Dynamic: author
|
|
15
15
|
Dynamic: license
|
|
16
16
|
Dynamic: license-file
|
|
@@ -11,14 +11,14 @@ DEPENDENCIES = [
|
|
|
11
11
|
"ruamel-yaml>=0.17.21,<0.19",
|
|
12
12
|
"diskcache~=5.6",
|
|
13
13
|
"azure-ai-ml>=1.30.0,<2.0",
|
|
14
|
-
"azureml-assets
|
|
14
|
+
"azureml-assets>=1.16.99,<2.0"
|
|
15
15
|
]
|
|
16
16
|
|
|
17
17
|
exclude_list = ["*.tests"]
|
|
18
18
|
|
|
19
19
|
setup(
|
|
20
20
|
name='azureml-registry-tools',
|
|
21
|
-
version="0.1.
|
|
21
|
+
version="0.1.0a33",
|
|
22
22
|
description='AzureML Registry tools and CLI',
|
|
23
23
|
author='Microsoft Corp',
|
|
24
24
|
license="https://aka.ms/azureml-sdk-license",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/mgmt/util.py
RENAMED
|
File without changes
|
|
File without changes
|
{azureml_registry_tools-0.1.0a32 → azureml_registry_tools-0.1.0a33}/azureml/registry/tools/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|