aioli-sdk 1.3.0.dev11__tar.gz → 1.3.0.dev13__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.
Files changed (101) hide show
  1. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/PKG-INFO +1 -1
  2. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/__version__.py +1 -1
  3. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/deployment.py +2 -0
  4. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/model.py +2 -0
  5. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/registry.py +14 -2
  6. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/test/test_cli.py +1 -1
  7. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/user.py +14 -3
  8. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli_sdk.egg-info/PKG-INFO +1 -1
  9. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/__init__.py +1 -1
  10. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/authentication_api.py +1 -1
  11. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/deployments_api.py +1 -1
  12. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/information_api.py +1 -1
  13. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/packaged_models_api.py +1 -1
  14. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/registries_api.py +19 -19
  15. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/roles_api.py +1 -1
  16. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/templates_api.py +1 -1
  17. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/tokens_api.py +1 -1
  18. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/users_api.py +1 -1
  19. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api_client.py +1 -1
  20. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/configuration.py +2 -2
  21. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/exceptions.py +1 -1
  22. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/__init__.py +1 -1
  23. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/auto_scaling_template.py +1 -1
  24. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/auto_scaling_template_request.py +1 -1
  25. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/autoscaling.py +1 -1
  26. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/configuration_resources.py +1 -1
  27. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/controller_config.py +1 -1
  28. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/controller_status.py +1 -1
  29. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/deployment.py +4 -2
  30. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/deployment_model_version.py +1 -1
  31. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/deployment_priority.py +1 -1
  32. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/deployment_request.py +1 -1
  33. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/deployment_state.py +1 -1
  34. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/deployment_token.py +4 -2
  35. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/deployment_token_patch_request.py +1 -1
  36. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/deployment_token_request.py +1 -1
  37. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/error_response.py +1 -1
  38. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/event_info.py +1 -1
  39. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/ezua_info.py +1 -1
  40. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/failure_info.py +1 -1
  41. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/login_request.py +1 -1
  42. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/login_response.py +1 -1
  43. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/model_auth_token.py +1 -1
  44. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/model_response.py +1 -1
  45. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/observability.py +1 -1
  46. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/packaged_model.py +4 -2
  47. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/packaged_model_request.py +1 -1
  48. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/resource_profile.py +1 -1
  49. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/resources_template.py +1 -1
  50. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/resources_template_request.py +1 -1
  51. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/role.py +1 -1
  52. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/role_assignment.py +1 -1
  53. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/role_assignments.py +1 -1
  54. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/security.py +1 -1
  55. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/success_response.py +1 -1
  56. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/telemetry_info.py +1 -1
  57. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/trained_model_registry.py +4 -2
  58. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/trained_model_registry_request.py +1 -1
  59. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/user.py +4 -2
  60. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/user_patch_request.py +1 -1
  61. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/models/user_request.py +1 -1
  62. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/rest.py +1 -1
  63. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/setup.py +1 -1
  64. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/README.md +0 -0
  65. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/__init__.py +0 -0
  66. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/__init__.py +0 -0
  67. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/__main__.py +0 -0
  68. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/_util.py +0 -0
  69. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/cli.py +0 -0
  70. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/errors.py +0 -0
  71. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/render.py +0 -0
  72. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/role.py +0 -0
  73. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/sso.py +0 -0
  74. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/template.py +0 -0
  75. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/test/conftest.py +0 -0
  76. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/token.py +0 -0
  77. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/cli/version.py +0 -0
  78. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/__init__.py +0 -0
  79. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/api/__init__.py +0 -0
  80. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/api/_util.py +0 -0
  81. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/api/authentication.py +0 -0
  82. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/api/certs.py +0 -0
  83. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/api/errors.py +0 -0
  84. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/api/request.py +0 -0
  85. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/check.py +0 -0
  86. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/constants.py +0 -0
  87. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/declarative_argparse.py +0 -0
  88. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/requests.py +0 -0
  89. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/common/util.py +0 -0
  90. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli/util.py +0 -0
  91. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli_sdk.egg-info/SOURCES.txt +0 -0
  92. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli_sdk.egg-info/dependency_links.txt +0 -0
  93. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli_sdk.egg-info/entry_points.txt +0 -0
  94. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli_sdk.egg-info/not-zip-safe +0 -0
  95. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli_sdk.egg-info/requires.txt +0 -0
  96. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aioli_sdk.egg-info/top_level.txt +0 -0
  97. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api/__init__.py +0 -0
  98. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/api_response.py +0 -0
  99. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/aiolirest/py.typed +0 -0
  100. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/pyproject.toml +0 -0
  101. {aioli_sdk-1.3.0.dev11 → aioli_sdk-1.3.0.dev13}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioli-sdk
3
- Version: 1.3.0.dev11
3
+ Version: 1.3.0.dev13
4
4
  Summary: Aioli (AI OnLine Inference), a platform for deploying AI models at scale.
5
5
  Home-page: https://github.com/determined-ai/aioli
6
6
  Author: HPE AI Solutions
@@ -1,2 +1,2 @@
1
1
  # © Copyright 2024 Hewlett Packard Enterprise Development LP
2
- __version__ = "1.3.0-dev11"
2
+ __version__ = "1.3.0-dev13"
@@ -48,6 +48,7 @@ def show_deployment(args: Namespace) -> None:
48
48
  d = deployment.to_dict()
49
49
  # Remove clusterName for now - INF-243
50
50
  d.pop("clusterName")
51
+ d.pop("project") # something for INF-1516
51
52
 
52
53
  # Get the model version for the deployment
53
54
  deployment_model_versions = packaged_models_api.models_versions_get(deployment.model)
@@ -83,6 +84,7 @@ def format_json(
83
84
  # Don't use the d.to_json() method as it adds backslash escapes for double quote
84
85
  m_dict = d.to_dict()
85
86
  m_dict.pop("modifiedAt")
87
+ m_dict.pop("project") # something for INF-1516
86
88
  # Use model name instead of id
87
89
  model = model_api.models_id_get(d.model)
88
90
  deployment_model_versions = model_api.models_versions_get(model.name)
@@ -59,6 +59,7 @@ def format_json(
59
59
  d = m.to_dict()
60
60
  d.pop("id")
61
61
  d.pop("modifiedAt")
62
+ d.pop("project") # something for INF-1516
62
63
  rname = lookup_registry_name_by_id(m.registry, registries_api)
63
64
  d["registry"] = rname
64
65
  models.append(d)
@@ -215,6 +216,7 @@ def show_model(args: Namespace) -> None:
215
216
 
216
217
  d = model.to_dict()
217
218
  d["registry"] = rname
219
+ d.pop("project") # something for INF-1516
218
220
 
219
221
  if args.json:
220
222
  render.print_json(d)
@@ -41,6 +41,7 @@ def format_json(response: List[TrainedModelRegistry]) -> List[Dict[str, str]]:
41
41
  d = r.to_dict()
42
42
  d.pop("id")
43
43
  d.pop("modifiedAt")
44
+ d.pop("project") # something for INF-1516
44
45
  regs.append(d)
45
46
 
46
47
  return regs
@@ -121,6 +122,7 @@ def show_registry(args: Namespace) -> None:
121
122
  registry = lookup_registry(args.name, api_instance)
122
123
 
123
124
  d = registry.to_dict()
125
+ d.pop("project") # something for INF-1516
124
126
  if args.json:
125
127
  render.print_json(d)
126
128
  else:
@@ -194,8 +196,10 @@ def format_model(r: aiolirest.TrainedModelRegistry, m: aiolirest.ModelResponse)
194
196
  # suppose that may change in time.
195
197
  # latest_version_id_str is in the calculated uri, so don't show that.
196
198
  # format shows a range of values, but for our users all are 'openllm'.
197
- uri = f"openllm://{m.name}/{m.latest_version_id_str}"
198
- return [uri, description]
199
+ return [m.url, description]
200
+ if r.type == "huggingface":
201
+ downloads = m.metadata.get("downloads") if m.metadata else None
202
+ return [m.latest_version_id_str, m.url, downloads, m.format]
199
203
  if r.type == "ngc":
200
204
  return [
201
205
  m.display_name,
@@ -265,6 +269,9 @@ def list_models(args: Namespace) -> None:
265
269
  response = api_instance.registries_id_models_get(registry.id, model_format)
266
270
  for m in response:
267
271
  models.append(m)
272
+ elif registry.type == "huggingface":
273
+ headers = ["Name", "URL", "Downloads", "Model Type"]
274
+ models = api_instance.registries_id_models_get(registry.id, args.search)
268
275
  else:
269
276
  models = api_instance.registries_id_models_get(registry.id)
270
277
  if registry.type == "pfs":
@@ -375,6 +382,11 @@ main_cmd = Cmd(
375
382
  "lists the available models in a registry (for certain registry types)",
376
383
  [
377
384
  Arg("name", help="The name of the model registry"),
385
+ Arg(
386
+ "--search",
387
+ help="The optional string value that will be contained in the returned "
388
+ + "model names (huggingface only)",
389
+ ),
378
390
  Group(
379
391
  Arg("--csv", action="store_true", help="print as CSV"),
380
392
  Arg("--json", action="store_true", help="print as JSON"),
@@ -160,7 +160,7 @@ class TestCli:
160
160
  expected = (
161
161
  "Failed to lists the available models in a registry (for certain registry types): "
162
162
  "a registry of type s3 is unable to provide a list of supported models. "
163
- "Supported registries: (openllm, ngc)"
163
+ "Supported registries: (openllm, ngc, huggingface, pfs)"
164
164
  )
165
165
  outcome = subprocess.run(
166
166
  ["aioli", "registry", "models", "bento-registry"], capture_output=True
@@ -1,7 +1,7 @@
1
1
  # © Copyright 2024 Hewlett Packard Enterprise Development LP
2
2
  import getpass
3
3
  from argparse import Namespace
4
- from typing import Any, List
4
+ from typing import Any, Dict, List
5
5
 
6
6
  import aiolirest
7
7
  from aioli import cli
@@ -26,15 +26,26 @@ def list_users(args: Namespace) -> None:
26
26
  return result
27
27
 
28
28
  if args.json:
29
- render.print_json([r.to_dict() for r in response])
29
+ render.print_json(format_json(response))
30
30
  elif args.yaml:
31
- print(render.format_object_as_yaml([r.to_dict() for r in response]))
31
+ print(render.format_object_as_yaml(format_json(response)))
32
32
  else:
33
33
  headers = ["Username", "Display Name", "Active", "Remote"]
34
34
  values = [format_user(u) for u in response]
35
35
  render.tabulate_or_csv(headers, values, args.csv)
36
36
 
37
37
 
38
+ def format_json(response: List[User]) -> List[Dict[str, str]]:
39
+ users = []
40
+ for r in response:
41
+ # Don't use the r.to_json() method as it adds backslash escapes for double quote
42
+ d = r.to_dict()
43
+ d.pop("defaultProject") # something for INF-1516
44
+ users.append(d)
45
+
46
+ return users
47
+
48
+
38
49
  @authentication.required
39
50
  def activate_user(parsed_args: Namespace) -> None:
40
51
  patch = UserPatchRequest(active=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioli-sdk
3
- Version: 1.3.0.dev11
3
+ Version: 1.3.0.dev13
4
4
  Summary: Aioli (AI OnLine Inference), a platform for deploying AI models at scale.
5
5
  Home-page: https://github.com/determined-ai/aioli
6
6
  Author: HPE AI Solutions
@@ -7,7 +7,7 @@
7
7
 
8
8
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
9
9
 
10
- The version of the OpenAPI document: 1.3.0-dev11
10
+ The version of the OpenAPI document: 1.3.0-dev13
11
11
  Contact: community@determined-ai
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -843,7 +843,7 @@ class RegistriesApi:
843
843
  def registries_id_models_get(
844
844
  self,
845
845
  id: Annotated[StrictStr, Field(description="Model Registry ID")],
846
- modelformat: Annotated[Optional[StrictStr], Field(description="Model Format Type")] = None,
846
+ format: Annotated[Optional[StrictStr], Field(description="Model Format Type")] = None,
847
847
  _request_timeout: Union[
848
848
  None,
849
849
  Annotated[StrictFloat, Field(gt=0)],
@@ -859,12 +859,12 @@ class RegistriesApi:
859
859
  ) -> List[ModelResponse]:
860
860
  """Get all available models from a registry
861
861
 
862
- Returns an array of all available models from a registry When listing from an openllm registry, specify the modelformat (case sensitive) query parameter to filter the responses to a manageable number. The supported format names for openllm are: [baichuan,chatglm,dolly_v2,falcon,flan_t5, gemma,gpt_neox,llama,mistral,mixtral,mpt,opt,phi,qwen,stablelm,starcoder,yi] The list is from https://github.com/bentoml/OpenLLM?tab=readme-ov-file#-supported-models
862
+ Returns an array of all available models from a registry When using a huggingface/openllm registry, there is an optional query parameter `modelFormat` to filter responses by the model type/arch returned in the huggingface configuration. The supported format names for openllm are: [baichuan,chatglm,dolly_v2,falcon,flan_t5, gemma,gpt_neox,llama,mistral,mixtral,mpt,opt,phi,qwen,stablelm,starcoder,yi] The list is from https://github.com/bentoml/OpenLLM?tab=readme-ov-file#-supported-models For vllm, any `modelFormat` value is allowed and the results are filtered by vLLM architecture name (e.g. AquilaForCausalLM, Starcoder2ForCausalLM, etc.). See [vLLM list of supported architecture names] (https://docs.vllm.ai/en/v0.6.2/models/supported_models.html)
863
863
 
864
864
  :param id: Model Registry ID (required)
865
865
  :type id: str
866
- :param modelformat: Model Format Type
867
- :type modelformat: str
866
+ :param format: Model Format Type
867
+ :type format: str
868
868
  :param _request_timeout: timeout setting for this request. If one
869
869
  number provided, it will be total request
870
870
  timeout. It can also be a pair (tuple) of
@@ -889,7 +889,7 @@ class RegistriesApi:
889
889
 
890
890
  _param = self._registries_id_models_get_serialize(
891
891
  id=id,
892
- modelformat=modelformat,
892
+ format=format,
893
893
  _request_auth=_request_auth,
894
894
  _content_type=_content_type,
895
895
  _headers=_headers,
@@ -917,7 +917,7 @@ class RegistriesApi:
917
917
  def registries_id_models_get_with_http_info(
918
918
  self,
919
919
  id: Annotated[StrictStr, Field(description="Model Registry ID")],
920
- modelformat: Annotated[Optional[StrictStr], Field(description="Model Format Type")] = None,
920
+ format: Annotated[Optional[StrictStr], Field(description="Model Format Type")] = None,
921
921
  _request_timeout: Union[
922
922
  None,
923
923
  Annotated[StrictFloat, Field(gt=0)],
@@ -933,12 +933,12 @@ class RegistriesApi:
933
933
  ) -> ApiResponse[List[ModelResponse]]:
934
934
  """Get all available models from a registry
935
935
 
936
- Returns an array of all available models from a registry When listing from an openllm registry, specify the modelformat (case sensitive) query parameter to filter the responses to a manageable number. The supported format names for openllm are: [baichuan,chatglm,dolly_v2,falcon,flan_t5, gemma,gpt_neox,llama,mistral,mixtral,mpt,opt,phi,qwen,stablelm,starcoder,yi] The list is from https://github.com/bentoml/OpenLLM?tab=readme-ov-file#-supported-models
936
+ Returns an array of all available models from a registry When using a huggingface/openllm registry, there is an optional query parameter `modelFormat` to filter responses by the model type/arch returned in the huggingface configuration. The supported format names for openllm are: [baichuan,chatglm,dolly_v2,falcon,flan_t5, gemma,gpt_neox,llama,mistral,mixtral,mpt,opt,phi,qwen,stablelm,starcoder,yi] The list is from https://github.com/bentoml/OpenLLM?tab=readme-ov-file#-supported-models For vllm, any `modelFormat` value is allowed and the results are filtered by vLLM architecture name (e.g. AquilaForCausalLM, Starcoder2ForCausalLM, etc.). See [vLLM list of supported architecture names] (https://docs.vllm.ai/en/v0.6.2/models/supported_models.html)
937
937
 
938
938
  :param id: Model Registry ID (required)
939
939
  :type id: str
940
- :param modelformat: Model Format Type
941
- :type modelformat: str
940
+ :param format: Model Format Type
941
+ :type format: str
942
942
  :param _request_timeout: timeout setting for this request. If one
943
943
  number provided, it will be total request
944
944
  timeout. It can also be a pair (tuple) of
@@ -963,7 +963,7 @@ class RegistriesApi:
963
963
 
964
964
  _param = self._registries_id_models_get_serialize(
965
965
  id=id,
966
- modelformat=modelformat,
966
+ format=format,
967
967
  _request_auth=_request_auth,
968
968
  _content_type=_content_type,
969
969
  _headers=_headers,
@@ -991,7 +991,7 @@ class RegistriesApi:
991
991
  def registries_id_models_get_without_preload_content(
992
992
  self,
993
993
  id: Annotated[StrictStr, Field(description="Model Registry ID")],
994
- modelformat: Annotated[Optional[StrictStr], Field(description="Model Format Type")] = None,
994
+ format: Annotated[Optional[StrictStr], Field(description="Model Format Type")] = None,
995
995
  _request_timeout: Union[
996
996
  None,
997
997
  Annotated[StrictFloat, Field(gt=0)],
@@ -1007,12 +1007,12 @@ class RegistriesApi:
1007
1007
  ) -> RESTResponseType:
1008
1008
  """Get all available models from a registry
1009
1009
 
1010
- Returns an array of all available models from a registry When listing from an openllm registry, specify the modelformat (case sensitive) query parameter to filter the responses to a manageable number. The supported format names for openllm are: [baichuan,chatglm,dolly_v2,falcon,flan_t5, gemma,gpt_neox,llama,mistral,mixtral,mpt,opt,phi,qwen,stablelm,starcoder,yi] The list is from https://github.com/bentoml/OpenLLM?tab=readme-ov-file#-supported-models
1010
+ Returns an array of all available models from a registry When using a huggingface/openllm registry, there is an optional query parameter `modelFormat` to filter responses by the model type/arch returned in the huggingface configuration. The supported format names for openllm are: [baichuan,chatglm,dolly_v2,falcon,flan_t5, gemma,gpt_neox,llama,mistral,mixtral,mpt,opt,phi,qwen,stablelm,starcoder,yi] The list is from https://github.com/bentoml/OpenLLM?tab=readme-ov-file#-supported-models For vllm, any `modelFormat` value is allowed and the results are filtered by vLLM architecture name (e.g. AquilaForCausalLM, Starcoder2ForCausalLM, etc.). See [vLLM list of supported architecture names] (https://docs.vllm.ai/en/v0.6.2/models/supported_models.html)
1011
1011
 
1012
1012
  :param id: Model Registry ID (required)
1013
1013
  :type id: str
1014
- :param modelformat: Model Format Type
1015
- :type modelformat: str
1014
+ :param format: Model Format Type
1015
+ :type format: str
1016
1016
  :param _request_timeout: timeout setting for this request. If one
1017
1017
  number provided, it will be total request
1018
1018
  timeout. It can also be a pair (tuple) of
@@ -1037,7 +1037,7 @@ class RegistriesApi:
1037
1037
 
1038
1038
  _param = self._registries_id_models_get_serialize(
1039
1039
  id=id,
1040
- modelformat=modelformat,
1040
+ format=format,
1041
1041
  _request_auth=_request_auth,
1042
1042
  _content_type=_content_type,
1043
1043
  _headers=_headers,
@@ -1060,7 +1060,7 @@ class RegistriesApi:
1060
1060
  def _registries_id_models_get_serialize(
1061
1061
  self,
1062
1062
  id,
1063
- modelformat,
1063
+ format,
1064
1064
  _request_auth,
1065
1065
  _content_type,
1066
1066
  _headers,
@@ -1084,9 +1084,9 @@ class RegistriesApi:
1084
1084
  if id is not None:
1085
1085
  _path_params['id'] = id
1086
1086
  # process the query parameters
1087
- if modelformat is not None:
1087
+ if format is not None:
1088
1088
 
1089
- _query_params.append(('modelformat', modelformat))
1089
+ _query_params.append(('modelFormat', format))
1090
1090
 
1091
1091
  # process the header parameters
1092
1092
  # process the form parameters
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -389,7 +389,7 @@ conf = aiolirest.Configuration(
389
389
  return "Python SDK Debug Report:\n"\
390
390
  "OS: {env}\n"\
391
391
  "Python Version: {pyversion}\n"\
392
- "Version of the API: 1.3.0-dev11\n"\
392
+ "Version of the API: 1.3.0-dev13\n"\
393
393
  "SDK Package Version: 1.0.0".\
394
394
  format(env=sys.platform, pyversion=sys.version)
395
395
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
8
8
 
9
- The version of the OpenAPI document: 1.3.0-dev11
9
+ The version of the OpenAPI document: 1.3.0-dev13
10
10
  Contact: community@determined-ai
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -49,11 +49,12 @@ class Deployment(BaseModel):
49
49
  namespace: Optional[StrictStr] = Field(default=None, description="The Kubernetes namespace to be used for the deployment.")
50
50
  node_selectors: Optional[Dict[str, StrictStr]] = Field(default=None, description="Node selectors to be added to the service", alias="nodeSelectors")
51
51
  priority_class_name: Optional[StrictStr] = Field(default=None, description="Priority Class Name to be used for prioritization of deployments.", alias="priorityClassName")
52
+ project: Optional[StrictStr] = Field(default=None, description="The ID of the containing project")
52
53
  secondary_state: Optional[DeploymentState] = Field(default=None, alias="secondaryState")
53
54
  security: Optional[Security] = None
54
55
  state: Optional[DeploymentState] = None
55
56
  status: Optional[StrictStr] = Field(default=None, description="Summary status of the deployed service. * `Deploying` - Service configuration is in progress. * `Failed` - The service configuration failed. * `Ready` - The service has been successfully configured and is serving. * `Updating` - A new service revision is being rolled-out. * `UpdateFailed` - The current service revision failed to rollout due to an error. The prior version is still serving requests. * `Deleting` - The deployed service is being removed. * `Paused` - The deployed service has been stopped by the user or an external action. * `Unknown` - Unable to determined the status. This is a read-only property. Must be one of the values: (Deploying,Ready,Updating,UpdateFailed,Failed,Deleting,Paused,Unknown).")
56
- __properties: ClassVar[List[str]] = ["arguments", "autoScaling", "canaryTrafficPercent", "clusterName", "environment", "goalStatus", "id", "lastEvent", "model", "modifiedAt", "name", "namespace", "nodeSelectors", "priorityClassName", "secondaryState", "security", "state", "status"]
57
+ __properties: ClassVar[List[str]] = ["arguments", "autoScaling", "canaryTrafficPercent", "clusterName", "environment", "goalStatus", "id", "lastEvent", "model", "modifiedAt", "name", "namespace", "nodeSelectors", "priorityClassName", "project", "secondaryState", "security", "state", "status"]
57
58
 
58
59
  model_config = {
59
60
  "populate_by_name": True,
@@ -132,6 +133,7 @@ class Deployment(BaseModel):
132
133
  "namespace": obj.get("namespace"),
133
134
  "nodeSelectors": obj.get("nodeSelectors"),
134
135
  "priorityClassName": obj.get("priorityClassName"),
136
+ "project": obj.get("project"),
135
137
  "secondaryState": DeploymentState.from_dict(obj.get("secondaryState")) if obj.get("secondaryState") is not None else None,
136
138
  "security": Security.from_dict(obj.get("security")) if obj.get("security") is not None else None,
137
139
  "state": DeploymentState.from_dict(obj.get("state")) if obj.get("state") is not None else None,
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -37,11 +37,12 @@ class DeploymentToken(BaseModel):
37
37
  expiration: Optional[StrictStr] = Field(default=None, description="The token expiration time. If timezone is not included, UTC is assumed.")
38
38
  id: Optional[StrictStr] = Field(default=None, description="The ID of the token. This is a read-only field and is automatically assigned on creation.")
39
39
  modified_at: Optional[StrictStr] = Field(default=None, description="Date-time of last modification of the deployment. This is a read-only field and is automatically updated.", alias="modifiedAt")
40
+ project: Optional[StrictStr] = Field(default=None, description="The ID of the containing project")
40
41
  revoked: Optional[StrictBool] = Field(default=False, description="Indicate whether the deployment token is revoked")
41
42
  token: Optional[StrictStr] = Field(default=None, description="The signed JWT token.")
42
43
  user_id: Optional[StrictInt] = Field(default=None, description="The user id", alias="userID")
43
44
  username: Optional[StrictStr] = Field(default=None, description="The user name")
44
- __properties: ClassVar[List[str]] = ["deployment", "deploymentID", "description", "expiration", "id", "modifiedAt", "revoked", "token", "userID", "username"]
45
+ __properties: ClassVar[List[str]] = ["deployment", "deploymentID", "description", "expiration", "id", "modifiedAt", "project", "revoked", "token", "userID", "username"]
45
46
 
46
47
  model_config = {
47
48
  "populate_by_name": True,
@@ -97,6 +98,7 @@ class DeploymentToken(BaseModel):
97
98
  "expiration": obj.get("expiration"),
98
99
  "id": obj.get("id"),
99
100
  "modifiedAt": obj.get("modifiedAt"),
101
+ "project": obj.get("project"),
100
102
  "revoked": obj.get("revoked") if obj.get("revoked") is not None else False,
101
103
  "token": obj.get("token"),
102
104
  "userID": obj.get("userID"),
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -41,11 +41,12 @@ class PackagedModel(BaseModel):
41
41
  format: Optional[StrictStr] = Field(default='custom', description="Model format for downloaded models (e.g. from s3, http, etc.). Must be one of the values: (bento-archive, openllm, nim, custom). * `custom` - The packaged model is provided in a container image. * `bento-archive` - The packaged model is a bento archive file (.bento). It will be downloaded, expanded, and then will be served using the `bentoml serve` command in a provided bentoml serving container. * `openllm` - The packaged model will be served using the `openllm serve` command in a provided openllm serving container. * `vllm` - The packaged model will be served using the vllm/openai-vllm container image. * `nim` - The packaged model will be served using the specified NVIDIA NIM microservices container image.", alias="modelFormat")
42
42
  modified_at: Optional[StrictStr] = Field(default=None, description="Date-time of last modification of the model. This is a read-only field and is automatically updated.", alias="modifiedAt")
43
43
  name: StrictStr = Field(description="The name of the model. Must begin with a letter, but may contain letters, numbers, and hyphen.")
44
+ project: Optional[StrictStr] = Field(default=None, description="The ID of the containing project")
44
45
  registry: Optional[StrictStr] = Field(default=None, description="The name or ID of the model registry.")
45
46
  resources: Optional[ConfigurationResources] = None
46
47
  url: Optional[StrictStr] = Field(default=None, description="Model data required by the deployment. Supported schemes are: * `openllm://` - An openllm compatible model dynamically downloaded from huggingface.co. This is only supported for the openllm model format. * `vllm://` - A vLLM compatible model dynamically downloaded from huggingface.co. This is only supported for the vllm model format. * `s3://` - A model directory dynamically downloaded from an associated s3 registry bucket. This is supported for the bento-archive, openllm, vllm, and custom model formats. * `pvc://` - A persistent volume claim (PVC) mounted by the deployment where models or data can be stored. This is supported for the NIM or custom model formats. The syntax is `pvc://<pvc-name>/<path>` with URI parameters `?containerPath=<container-path>` to specify where in the container the PVC should be mounted, and ` ?readOnly` to perform the mount in read-only mode. The `<pvc-name>` must already exist in the kubernetes namespace where the packaged model will be deployed. If the optional `<path>` is specified, the specified path within the PVC will be mounted. * `pfs://` - A model directory directly downloaded from PFS. This is supported for the bento-archive, openllm, vllm, and custom model formats. The syntax is `pfs://<project>/<repo>@<commit>[:<path>]` with the optional URI parameter `?containerPath=<container-path>` to specify where in the container the model directory should be mounted.")
47
48
  version: Optional[StrictInt] = Field(default=None, description="The version of the model. This is a read-only field and is automatically assigned on creation.")
48
- __properties: ClassVar[List[str]] = ["arguments", "cachingEnabled", "description", "environment", "id", "image", "modelFormat", "modifiedAt", "name", "registry", "resources", "url", "version"]
49
+ __properties: ClassVar[List[str]] = ["arguments", "cachingEnabled", "description", "environment", "id", "image", "modelFormat", "modifiedAt", "name", "project", "registry", "resources", "url", "version"]
49
50
 
50
51
  model_config = {
51
52
  "populate_by_name": True,
@@ -107,6 +108,7 @@ class PackagedModel(BaseModel):
107
108
  "modelFormat": obj.get("modelFormat") if obj.get("modelFormat") is not None else 'custom',
108
109
  "modifiedAt": obj.get("modifiedAt"),
109
110
  "name": obj.get("name"),
111
+ "project": obj.get("project"),
110
112
  "registry": obj.get("registry"),
111
113
  "resources": ConfigurationResources.from_dict(obj.get("resources")) if obj.get("resources") is not None else None,
112
114
  "url": obj.get("url"),
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -38,9 +38,10 @@ class TrainedModelRegistry(BaseModel):
38
38
  insecure_https: Optional[StrictBool] = Field(default=None, description="For https endpoints, the server certificate will be accepted without validation.", alias="insecureHttps")
39
39
  modified_at: Optional[StrictStr] = Field(default=None, description="Date-time of last modification of the registry. This is a read-only field and is automatically updated.", alias="modifiedAt")
40
40
  name: StrictStr = Field(description="The name of the registry. Must begin with a letter, but may contain letters, numbers, and hyphen.")
41
+ project: Optional[StrictStr] = Field(default=None, description="The ID of the containing project")
41
42
  secret_key: StrictStr = Field(description="The secret key is the password, secret key, or access token for the registry. The value is masked to \"**********\" on return. * `s3` - The secret key for the S3 bucket. * `openllm` - The access token for huggingface.co and is supplied to the launched container via the `HF_TOKEN` environment variable. * `ngc` - The NVIDIA NGC apikey. * `pfs` - The required authentication token (e.g. c91ab42a10a...).", alias="secretKey")
42
43
  type: StrictStr = Field(description="The type of this model registry. Must be one of the values: (s3, http, openllm, ngc, pfs). * `s3` - Configuration to enable direct model download from an s3 bucket. * `openllm` - Configuration to enable direct model download of OpenLLM models from huggingface.co. * `ngc` - Configuration to enable direct model download from the NVIDIA NGC: AI Development Catalog. * `pfs` - Configuration to enable direct model download from an HPE MLDM Pachyderm File System.")
43
- __properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "id", "insecureHttps", "modifiedAt", "name", "secretKey", "type"]
44
+ __properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "id", "insecureHttps", "modifiedAt", "name", "project", "secretKey", "type"]
44
45
 
45
46
  model_config = {
46
47
  "populate_by_name": True,
@@ -97,6 +98,7 @@ class TrainedModelRegistry(BaseModel):
97
98
  "insecureHttps": obj.get("insecureHttps"),
98
99
  "modifiedAt": obj.get("modifiedAt"),
99
100
  "name": obj.get("name"),
101
+ "project": obj.get("project"),
100
102
  "secretKey": obj.get("secretKey"),
101
103
  "type": obj.get("type")
102
104
  })
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -32,13 +32,14 @@ class User(BaseModel):
32
32
  Name and properties of a user.
33
33
  """ # noqa: E501
34
34
  active: Optional[StrictBool] = Field(default=None, description="Allows for disabling a user without deleting them. Only active users an login.")
35
+ default_project: Optional[StrictStr] = Field(default=None, description="The default project", alias="defaultProject")
35
36
  display_name: StrictStr = Field(description="Display name of the user in the UI.", alias="displayName")
36
37
  id: Optional[StrictStr] = Field(default=None, description="The ID of the user. This is a read-only field and is automatically assigned on creation.")
37
38
  last_auth_at: Optional[StrictStr] = Field(default=None, description="Date-time of last use of this account. This is a read-only field and is automatically updated.", alias="lastAuthAt")
38
39
  modified_at: Optional[StrictStr] = Field(default=None, description="Date-time of last modification of the user configuration. This is a read-only field and is automatically updated.", alias="modifiedAt")
39
40
  remote: Optional[StrictBool] = Field(default=None, description="User data comes from a external/remote provider. This is a read-only field and is automatically updated.")
40
41
  username: StrictStr = Field(description="The user name used for login.")
41
- __properties: ClassVar[List[str]] = ["active", "displayName", "id", "lastAuthAt", "modifiedAt", "remote", "username"]
42
+ __properties: ClassVar[List[str]] = ["active", "defaultProject", "displayName", "id", "lastAuthAt", "modifiedAt", "remote", "username"]
42
43
 
43
44
  model_config = {
44
45
  "populate_by_name": True,
@@ -89,6 +90,7 @@ class User(BaseModel):
89
90
 
90
91
  _obj = cls.model_validate({
91
92
  "active": obj.get("active"),
93
+ "defaultProject": obj.get("defaultProject"),
92
94
  "displayName": obj.get("displayName"),
93
95
  "id": obj.get("id"),
94
96
  "lastAuthAt": obj.get("lastAuthAt"),
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.3.0-dev11
8
+ The version of the OpenAPI document: 1.3.0-dev13
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -6,7 +6,7 @@ with open("README.md", "r") as readme:
6
6
 
7
7
  setuptools.setup(
8
8
  name="aioli-sdk",
9
- version="1.3.0-dev11",
9
+ version="1.3.0-dev13",
10
10
  author="HPE AI Solutions",
11
11
  # author_email="hello@determined.ai",
12
12
  url="https://github.com/determined-ai/aioli",