aimodelshare 0.1.12__py3-none-any.whl → 0.1.14__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.

Potentially problematic release.


This version of aimodelshare might be problematic. Click here for more details.

aimodelshare/api.py CHANGED
@@ -57,7 +57,7 @@ class create_prediction_api_class():
57
57
  self.pyspark_support = pyspark_support
58
58
  self.region = os.environ.get("AWS_REGION")
59
59
  self.bucket_name = os.environ.get("BUCKET_NAME")
60
- self.python_runtime = 'python3.8'
60
+ self.python_runtime = 'python3.10'
61
61
  #####
62
62
 
63
63
  self.model_type = self.model_type.lower()
@@ -89,7 +89,7 @@ class create_prediction_api_class():
89
89
  }
90
90
 
91
91
  self.eval_layer_map = {
92
- "us-east-1": "arn:aws:lambda:us-east-1:517169013426:layer:eval_layer_test:6",
92
+ "us-east-1": "arn:aws:lambda:us-east-1:517169013426:layer:eval_layer_test:10",
93
93
  "us-east-2": "arn:aws:lambda:us-east-2:517169013426:layer:eval_layer_test:5",
94
94
  "us-west-1": "arn:aws:lambda:us-west-1:517169013426:layer:eval_layer_test:1",
95
95
  "us-west-2": "arn:aws:lambda:us-west-2:517169013426:layer:eval_layer_test:1",
@@ -8,7 +8,7 @@ import zipfile
8
8
  import importlib.resources as pkg_resources
9
9
  from string import Template
10
10
 
11
- def lambda_using_base_image(account_id, region, session, project_name, model_dir, requirements_file_path, apiid, memory_size='3000', timeout='90', python_version='3.8'):
11
+ def lambda_using_base_image(account_id, region, session, project_name, model_dir, requirements_file_path, apiid, memory_size='3000', timeout='90', python_version='3.10'):
12
12
 
13
13
  codebuild_bucket_name=os.environ.get("BUCKET_NAME") # s3 bucket name to create #TODO: use same bucket and subfolder we used previously to store this data
14
14
  #Why? AWS limits users to 100 total buckets! Our old code only creates one per user per acct.
@@ -27,7 +27,7 @@ def create_bucket(s3_client, bucket_name, region):
27
27
  )
28
28
  return response
29
29
 
30
- def deploy_container(account_id, region, session, project_name, model_dir, requirements_file_path, apiid, memory_size='1024', timeout='120', python_version='3.8', pyspark_support=False):
30
+ def deploy_container(account_id, region, session, project_name, model_dir, requirements_file_path, apiid, memory_size='1024', timeout='120', python_version='3.10', pyspark_support=False):
31
31
 
32
32
  codebuild_bucket_name=os.environ.get("BUCKET_NAME") # s3 bucket name to create #TODO: use same bucket and subfolder we used previously to store this data
33
33
  # Why? AWS limits users to 100 total buckets! Our old code only creates one per user per acct.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aimodelshare
3
- Version: 0.1.12
3
+ Version: 0.1.14
4
4
  Summary: Deploy locally saved machine learning models to a live rest API and web-dashboard. Share it with the world via modelshare.org
5
5
  Home-page: https://www.modelshare.org
6
6
  Author: Michael Parrott
@@ -1,12 +1,12 @@
1
1
  aimodelshare/README.md,sha256=_OMdUIeIYZnpFlKdafM1KNWaANO2nWdx0QpLE_ZC-Qs,2014
2
2
  aimodelshare/__init__.py,sha256=CS0iFxgAic21gBcQE6NSZ-D_ElHw80_A3OWrEYo9Dks,539
3
3
  aimodelshare/aimsonnx.py,sha256=bHjp2iEBSGKzfScDX4wn9I7lR2wPSMpdgi8qmroz4nY,69282
4
- aimodelshare/api.py,sha256=tt1ETsM7D96igbz9Qdi6OXNM41LbUDPqBc3BFytmb3c,34935
4
+ aimodelshare/api.py,sha256=CXyM5ipbC1eFjZHqgtjjNeRd6WJbcNR01i3X7v1tfFg,34937
5
5
  aimodelshare/aws.py,sha256=jn99R9-N77Qac-_eYm-LaCQUPd-RnE7oVULm9rh-3RY,15232
6
6
  aimodelshare/aws_client.py,sha256=Ce19iwf69BwpuyyJlVN8z1da3c5jf93svsTgx1OWhaA,6784
7
- aimodelshare/base_image.py,sha256=NTWk9QRcaV7pL5_sHuvZQO92GVvvzY3TqKCtGXgz2e8,4825
7
+ aimodelshare/base_image.py,sha256=GVH3CH-iMdwtkydMcexxAahbYTc3_yJq-Gk0QNHXcGg,4826
8
8
  aimodelshare/bucketpolicy.py,sha256=KLyl-BLBiFdTYzCK7tJV8NBJHBKWRlF3_msSTGwgaQQ,3055
9
- aimodelshare/containerisation.py,sha256=K_icaMzv5dw-mLq9VTTG5xdZuxE8sZr-nCu2QnsJwPs,8758
9
+ aimodelshare/containerisation.py,sha256=PkZIZD2p9pgloBG3b2Q9wA1yofoDEfWJoaxyUhB7gUs,8759
10
10
  aimodelshare/containerization.py,sha256=Sa9GWxmz1qoDZ3lUQjFa1ctQUSs666I7-Yf0YU3We1U,29609
11
11
  aimodelshare/custom_eval_metrics.py,sha256=NghFslmLDyvIkZ27yZhFIItLbzHnNb0bJ2ZO7cqkucw,3170
12
12
  aimodelshare/deploy_custom_lambda.py,sha256=HFxxIYI2JrZwPrjqKgFkj6KaCeRBOn6tf9e2fqBUl2U,11045
@@ -143,8 +143,8 @@ aimodelshare/sam/template.txt,sha256=JKSvEOZNaaLalHSx7r9psJg_6LLCb0XLAYi1-jYPu3M
143
143
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
144
144
  tests/test_aimsonnx.py,sha256=-GOF1_qXGQaMxHyqK0GPg7dD1meE-S7CZea4pLmBDTk,3906
145
145
  tests/test_playground.py,sha256=vdFWPRrZNQ2poiBOoN3l7HsXB5yc3p3rrrclNYJHnaw,24574
146
- aimodelshare-0.1.12.dist-info/LICENSE,sha256=JXBYLriXYgTloZs-9CJPZY76dqkuDT5df_HghMnljx8,1134
147
- aimodelshare-0.1.12.dist-info/METADATA,sha256=WJ3BIvuTqYR5ir0KS_71x6tye9HNm6ArUaV2CL7ZGwY,3304
148
- aimodelshare-0.1.12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
149
- aimodelshare-0.1.12.dist-info/top_level.txt,sha256=2KJgeHQ0BmZuilB75J203i7W4vri6CON2kdbwk9BNpU,19
150
- aimodelshare-0.1.12.dist-info/RECORD,,
146
+ aimodelshare-0.1.14.dist-info/LICENSE,sha256=JXBYLriXYgTloZs-9CJPZY76dqkuDT5df_HghMnljx8,1134
147
+ aimodelshare-0.1.14.dist-info/METADATA,sha256=xblojhC1SyPPsaFkrhtowPAAdsRRKYIdaHjc1Pk_tdw,3304
148
+ aimodelshare-0.1.14.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
149
+ aimodelshare-0.1.14.dist-info/top_level.txt,sha256=2KJgeHQ0BmZuilB75J203i7W4vri6CON2kdbwk9BNpU,19
150
+ aimodelshare-0.1.14.dist-info/RECORD,,