matrice-compute 0.1.17__tar.gz → 0.1.19__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 (23) hide show
  1. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/PKG-INFO +1 -1
  2. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/matrice_compute.egg-info/PKG-INFO +1 -1
  3. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/action_instance.py +2 -2
  4. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/LICENSE.txt +0 -0
  5. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/README.md +0 -0
  6. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/matrice_compute.egg-info/SOURCES.txt +0 -0
  7. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/matrice_compute.egg-info/dependency_links.txt +0 -0
  8. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/matrice_compute.egg-info/not-zip-safe +0 -0
  9. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/matrice_compute.egg-info/top_level.txt +0 -0
  10. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/pyproject.toml +0 -0
  11. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/setup.cfg +0 -0
  12. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/setup.py +0 -0
  13. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/__init__.py +0 -0
  14. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/actions_manager.py +0 -0
  15. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/actions_scaledown_manager.py +0 -0
  16. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/instance_manager.py +0 -0
  17. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/instance_utils.py +0 -0
  18. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/prechecks.py +0 -0
  19. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/py.typed +0 -0
  20. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/resources_tracker.py +0 -0
  21. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/scaling.py +0 -0
  22. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/shutdown_manager.py +0 -0
  23. {matrice_compute-0.1.17 → matrice_compute-0.1.19}/src/matrice_compute/task_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice_compute
3
- Version: 0.1.17
3
+ Version: 0.1.19
4
4
  Summary: Common server utilities for Matrice.ai services
5
5
  Author-email: "Matrice.ai" <dipendra@matrice.ai>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice_compute
3
- Version: 0.1.17
3
+ Version: 0.1.19
4
4
  Summary: Common server utilities for Matrice.ai services
5
5
  Author-email: "Matrice.ai" <dipendra@matrice.ai>
6
6
  License-Expression: MIT
@@ -75,10 +75,9 @@ class ActionInstance:
75
75
  "facial_recognition_setup": facial_recognition_setup_execute,
76
76
  "fe_fs_streaming": fe_fs_streaming_execute,
77
77
  "inference_ws_server": inference_ws_server_execute,
78
- "lpr_setup": lpr_setup_execute,
79
78
  "fe_analytics_service": fe_analytics_service_execute,
80
79
  "lpr_setup": lpr_setup_execute,
81
- "tracker_server": inference_tracker_setup_execute
80
+ "inference_tracker_server": inference_tracker_setup_execute
82
81
  }
83
82
  if self.action_type not in self.actions_map:
84
83
  raise ValueError(f"Unknown action type: {self.action_type}")
@@ -1387,6 +1386,7 @@ def model_deploy_execute(self: ActionInstance):
1387
1386
  action_id=action_id,
1388
1387
  )
1389
1388
  use_gpu = self.get_gpu_config(action_details)
1389
+ use_gpu = "--runtime=nvidia "
1390
1390
  extra_env_vars = {"INTERNAL_PORT": internal_port}
1391
1391
  cmd = f'{self.get_base_docker_cmd(work_fs, use_gpu, mount_docker_sock=True, action_id=action_id, extra_env_vars=extra_env_vars, extra_pkgs=["matrice_inference", "matrice_analytics"])} python3 deploy.py {self.action_record_id} {external_port}"'
1392
1392
  logging.info("cmd is: %s", cmd)