flowmesh-cli-stack 0.1.10rc2__tar.gz → 0.1.12__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 (21) hide show
  1. {flowmesh_cli_stack-0.1.10rc2/src/flowmesh_cli_stack.egg-info → flowmesh_cli_stack-0.1.12}/PKG-INFO +3 -3
  2. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/pyproject.toml +3 -3
  3. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/assets/.env.example +8 -0
  4. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/env_schema.py +31 -0
  5. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12/src/flowmesh_cli_stack.egg-info}/PKG-INFO +3 -3
  6. flowmesh_cli_stack-0.1.12/src/flowmesh_cli_stack.egg-info/requires.txt +5 -0
  7. flowmesh_cli_stack-0.1.10rc2/src/flowmesh_cli_stack.egg-info/requires.txt +0 -5
  8. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/LICENSE +0 -0
  9. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/README.md +0 -0
  10. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/setup.cfg +0 -0
  11. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/__init__.py +0 -0
  12. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/assets/compose.yml +0 -0
  13. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/assets/docker-bake.hcl +0 -0
  14. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/bundle.py +0 -0
  15. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/image.py +0 -0
  16. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/stack.py +0 -0
  17. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/utils.py +0 -0
  18. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack/worker.py +0 -0
  19. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack.egg-info/SOURCES.txt +0 -0
  20. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack.egg-info/dependency_links.txt +0 -0
  21. {flowmesh_cli_stack-0.1.10rc2 → flowmesh_cli_stack-0.1.12}/src/flowmesh_cli_stack.egg-info/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flowmesh-cli-stack
3
- Version: 0.1.10rc2
3
+ Version: 0.1.12
4
4
  Summary: FlowMesh CLI stack commands
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.12
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
- Requires-Dist: flowmesh-cli==0.1.10rc2
10
- Requires-Dist: flowmesh-sdk-stack==0.1.10rc2
9
+ Requires-Dist: flowmesh-cli==0.1.12
10
+ Requires-Dist: flowmesh-sdk-stack==0.1.12
11
11
  Requires-Dist: docker>=7.1.0
12
12
  Requires-Dist: packaging>=24
13
13
  Requires-Dist: pyyaml>=6.0.2
@@ -4,15 +4,15 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "flowmesh-cli-stack"
7
- version = "0.1.10rc2"
7
+ version = "0.1.12"
8
8
  description = "FlowMesh CLI stack commands"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
11
11
  license = "Apache-2.0"
12
12
  license-files = ["LICENSE"]
13
13
  dependencies = [
14
- "flowmesh-cli==0.1.10rc2",
15
- "flowmesh-sdk-stack==0.1.10rc2",
14
+ "flowmesh-cli==0.1.12",
15
+ "flowmesh-sdk-stack==0.1.12",
16
16
  "docker>=7.1.0",
17
17
  "packaging>=24",
18
18
  "pyyaml>=6.0.2",
@@ -106,6 +106,7 @@ SSH_STOP_TIMEOUT_SEC=
106
106
  SSH_MAX_CPU=
107
107
  SSH_MAX_MEMORY=
108
108
  SSH_MAX_PIDS=
109
+ SSH_MAX_DISK=
109
110
  # Whether to apply requested GPU limits to SSH tasks.
110
111
  # If false, SSH tasks are allocated all available GPUs
111
112
  # regardless of their resource requests.
@@ -140,6 +141,8 @@ ENABLE_CONTEXT_REUSE=true
140
141
  WORKER_CACHE_TTL_SEC=3600
141
142
  ENABLE_STAGE_WEIGHT_STICKINESS=false
142
143
  TASK_NO_WORKER_GRACE_SEC=60
144
+ TASK_STAGE_RESULT_GRACE_SEC=120
145
+ TASK_RESULT_DELIVERY=true
143
146
  ENABLE_WORKER_WATCHDOG=true
144
147
  WORKER_DEATH_CHECK_INTERVAL=30
145
148
  WORKER_DEATH_GRACE_SEC=60
@@ -190,6 +193,11 @@ WORKER_FOREIGN_GPU_CONSECUTIVE=2
190
193
  # Delay occupancy checks after a worker task completes.
191
194
  WORKER_FOREIGN_GPU_GRACE_SEC=90
192
195
  WORKER_UPLOAD_RESULTS=false
196
+ WORKER_RESULT_TRANSFER_TIMEOUT_SEC=1800
197
+ # Additional upload attempts after retryable failures; 0 disables retries.
198
+ WORKER_UPLOAD_RETRIES=5
199
+ # First wait between upload retries; doubles per retry.
200
+ WORKER_UPLOAD_BACKOFF_SEC=2
193
201
  WORKER_EXECUTOR_IDLE_CLEANUP_SEC=60
194
202
  MODEL_CLEANUP_AFTER_UPLOAD=0
195
203
  SERVE_DEFAULT_TTL_SEC=3600
@@ -353,6 +353,7 @@ STACK_ENV_SCHEMA = EnvSchema(
353
353
  ),
354
354
  EnvVar("SSH_MAX_MEMORY"),
355
355
  EnvVar("SSH_MAX_PIDS", var_type=EnvVarType.INT, min_value=1),
356
+ EnvVar("SSH_MAX_DISK"),
356
357
  EnvVar(
357
358
  "ENABLE_SSH_GPU_LIMIT",
358
359
  "true",
@@ -467,6 +468,13 @@ STACK_ENV_SCHEMA = EnvSchema(
467
468
  var_type=EnvVarType.INT,
468
469
  min_value=0,
469
470
  ),
471
+ EnvVar(
472
+ "TASK_STAGE_RESULT_GRACE_SEC",
473
+ "120",
474
+ var_type=EnvVarType.INT,
475
+ min_value=0,
476
+ ),
477
+ EnvVar("TASK_RESULT_DELIVERY", "true", var_type=EnvVarType.BOOL),
470
478
  EnvVar("ENABLE_WORKER_WATCHDOG", "true", var_type=EnvVarType.BOOL),
471
479
  EnvVar(
472
480
  "WORKER_DEATH_CHECK_INTERVAL",
@@ -627,6 +635,29 @@ STACK_ENV_SCHEMA = EnvSchema(
627
635
  min_value=0,
628
636
  ),
629
637
  EnvVar("WORKER_UPLOAD_RESULTS", "false", var_type=EnvVarType.BOOL),
638
+ EnvVar(
639
+ "WORKER_RESULT_TRANSFER_TIMEOUT_SEC",
640
+ "1800",
641
+ var_type=EnvVarType.FLOAT,
642
+ min_value=1,
643
+ ),
644
+ EnvVar(
645
+ "WORKER_UPLOAD_RETRIES",
646
+ "5",
647
+ description=(
648
+ "Additional upload attempts after retryable failures; "
649
+ "0 disables retries."
650
+ ),
651
+ var_type=EnvVarType.INT,
652
+ min_value=0,
653
+ ),
654
+ EnvVar(
655
+ "WORKER_UPLOAD_BACKOFF_SEC",
656
+ "2",
657
+ description="First wait between upload retries; doubles per retry.",
658
+ var_type=EnvVarType.FLOAT,
659
+ min_value=0,
660
+ ),
630
661
  EnvVar(
631
662
  "WORKER_EXECUTOR_IDLE_CLEANUP_SEC",
632
663
  "60",
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flowmesh-cli-stack
3
- Version: 0.1.10rc2
3
+ Version: 0.1.12
4
4
  Summary: FlowMesh CLI stack commands
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.12
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
- Requires-Dist: flowmesh-cli==0.1.10rc2
10
- Requires-Dist: flowmesh-sdk-stack==0.1.10rc2
9
+ Requires-Dist: flowmesh-cli==0.1.12
10
+ Requires-Dist: flowmesh-sdk-stack==0.1.12
11
11
  Requires-Dist: docker>=7.1.0
12
12
  Requires-Dist: packaging>=24
13
13
  Requires-Dist: pyyaml>=6.0.2
@@ -0,0 +1,5 @@
1
+ flowmesh-cli==0.1.12
2
+ flowmesh-sdk-stack==0.1.12
3
+ docker>=7.1.0
4
+ packaging>=24
5
+ pyyaml>=6.0.2
@@ -1,5 +0,0 @@
1
- flowmesh-cli==0.1.10rc2
2
- flowmesh-sdk-stack==0.1.10rc2
3
- docker>=7.1.0
4
- packaging>=24
5
- pyyaml>=6.0.2