matrice-compute 0.1.36__tar.gz → 0.1.37__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.
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/PKG-INFO +1 -1
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/matrice_compute.egg-info/PKG-INFO +1 -1
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/action_instance.py +4 -2
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/LICENSE.txt +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/README.md +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/matrice_compute.egg-info/SOURCES.txt +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/matrice_compute.egg-info/dependency_links.txt +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/matrice_compute.egg-info/not-zip-safe +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/matrice_compute.egg-info/top_level.txt +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/pyproject.toml +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/setup.cfg +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/setup.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/__init__.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/actions_manager.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/actions_scaledown_manager.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/compute_operations_handler.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/instance_manager.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/instance_utils.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/prechecks.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/py.typed +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/resources_tracker.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/scaling.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/shutdown_manager.py +0 -0
- {matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/task_utils.py +0 -0
|
@@ -426,10 +426,12 @@ class ActionInstance:
|
|
|
426
426
|
|
|
427
427
|
# if the service provider is local, then put --restart unless-stopped
|
|
428
428
|
if os.environ.get("SERVICE_PROVIDER") in ("local", "LOCAL"):
|
|
429
|
-
|
|
429
|
+
use_restart_policy = "--restart unless-stopped"
|
|
430
|
+
else:
|
|
431
|
+
use_restart_policy = ""
|
|
430
432
|
|
|
431
433
|
cmd_parts = [
|
|
432
|
-
f"docker run {use_gpu} ",
|
|
434
|
+
f"docker run {use_gpu} {use_restart_policy} ",
|
|
433
435
|
network_config,
|
|
434
436
|
*[f"-e {key}={shlex.quote(str(value))}" for key, value in env_vars.items()],
|
|
435
437
|
*volumes,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{matrice_compute-0.1.36 → matrice_compute-0.1.37}/matrice_compute.egg-info/dependency_links.txt
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
|
{matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/actions_scaledown_manager.py
RENAMED
|
File without changes
|
{matrice_compute-0.1.36 → matrice_compute-0.1.37}/src/matrice_compute/compute_operations_handler.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
|