inferless-cli
Advanced tools
| # __init__.py | ||
| __version__ = "2.0.15" | ||
| __version__ = "2.0.16" |
@@ -81,3 +81,4 @@ import os | ||
| ): | ||
| region = validate_machine(gpu, region, fractional, beta) | ||
| region, new_beta = validate_machine(gpu, region, fractional, beta) | ||
| beta = new_beta | ||
| rich.print("\nWelcome to the Inferless Model Deployment! \n") | ||
@@ -1035,3 +1036,3 @@ | ||
| ) | ||
| return default_region | ||
| return default_region, beta | ||
@@ -1052,2 +1053,2 @@ # Check if region is valid | ||
| return region | ||
| return region, beta |
@@ -340,3 +340,3 @@ from typing import List | ||
| regions = get_regions_values() | ||
| if(gpu): | ||
| if gpu: | ||
| gpu = gpu.upper() | ||
@@ -350,4 +350,4 @@ if gpu not in ["A10", "A100", "T4"]: | ||
| region = mapped_region | ||
| if(gpu or fractional): | ||
| region = validate_machine( | ||
| if gpu or fractional: | ||
| region, _ = validate_machine( | ||
| gpu or details["models"]["configuration"]["gpu"], | ||
@@ -420,3 +420,5 @@ mapped_region, | ||
| if (gpu or details["models"]["configuration"]["machine_type"]) and region: | ||
| configuration["machine_type"] = gpu or details["models"]["configuration"]["machine_type"] | ||
| configuration["machine_type"] = ( | ||
| gpu or details["models"]["configuration"]["machine_type"] | ||
| ) | ||
@@ -423,0 +425,0 @@ if inference_timeout: |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: inferless-cli | ||
| Version: 2.0.15 | ||
| Version: 2.0.16 | ||
| Summary: Inferless - Deploy Machine Learning Models in Minutes. | ||
@@ -5,0 +5,0 @@ Author: Naveen |
+1
-1
| [tool.poetry] | ||
| name = "inferless-cli" | ||
| version = "2.0.15" | ||
| version = "2.0.16" | ||
| description = "Inferless - Deploy Machine Learning Models in Minutes." | ||
@@ -5,0 +5,0 @@ authors = ["Naveen <naveen@inferless.com>"] |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
386435
0.02%8834
0.03%