indexify 0.3.30__tar.gz → 0.3.31__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.
- {indexify-0.3.30 → indexify-0.3.31}/PKG-INFO +1 -1
- {indexify-0.3.30 → indexify-0.3.31}/pyproject.toml +1 -1
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/cli/cli.py +5 -4
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/executor.py +2 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/state_reporter.py +3 -0
- {indexify-0.3.30 → indexify-0.3.31}/README.md +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/README.md +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/api_objects.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/blob_store/blob_store.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/blob_store/local_fs_blob_store.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/blob_store/metrics/blob_store.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/blob_store/s3_blob_store.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/downloader.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/executor_flavor.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/function_executor.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/function_executor_state.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/function_executor_states_container.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/function_executor_status.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/health_checker.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/invocation_state_client.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/metrics/function_executor.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/metrics/function_executor_state.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/metrics/function_executor_state_container.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/metrics/health_checker.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/metrics/invocation_state_client.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/metrics/single_task_runner.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/server/client_configuration.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/server/function_executor_server.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/server/function_executor_server_factory.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/server/subprocess_function_executor_server.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/server/subprocess_function_executor_server_factory.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/single_task_runner.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/task_input.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/task_output.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/channel_manager.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/function_executor_controller.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/metrics/channel_manager.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/metrics/state_reconciler.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/metrics/state_reporter.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/metrics/task_controller.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/state_reconciler.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/task_controller.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/host_resources/host_resources.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/host_resources/nvidia_gpu.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/host_resources/nvidia_gpu_allocator.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/metrics/downloader.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/metrics/executor.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/metrics/task_fetcher.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/metrics/task_reporter.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/metrics/task_runner.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/function_allowlist.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/handler.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/health_check_handler.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/health_checker/generic_health_checker.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/health_checker/health_checker.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/metrics.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/prometheus_metrics_handler.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/server.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/startup_probe_handler.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/runtime_probes.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/task_fetcher.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/task_reporter.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/task_runner.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/proto/executor_api.proto +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/proto/executor_api_pb2.py +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/proto/executor_api_pb2.pyi +0 -0
- {indexify-0.3.30 → indexify-0.3.31}/src/indexify/proto/executor_api_pb2_grpc.py +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "indexify"
|
3
3
|
# Incremented if any of the components provided in this packages are updated.
|
4
|
-
version = "0.3.
|
4
|
+
version = "0.3.31"
|
5
5
|
description = "Open Source Indexify components and helper tools"
|
6
6
|
authors = ["Tensorlake Inc. <support@tensorlake.ai>"]
|
7
7
|
license = "Apache 2.0"
|
@@ -85,8 +85,8 @@ def executor(
|
|
85
85
|
ctx: typer.Context,
|
86
86
|
server_addr: str = "localhost:8900",
|
87
87
|
grpc_server_addr: str = "localhost:8901",
|
88
|
-
|
89
|
-
bool, typer.Option("--
|
88
|
+
dev: Annotated[
|
89
|
+
bool, typer.Option("--dev", "-d", help="Run the executor in development mode")
|
90
90
|
] = False,
|
91
91
|
function_uris: Annotated[
|
92
92
|
Optional[List[str]],
|
@@ -139,7 +139,7 @@ def executor(
|
|
139
139
|
),
|
140
140
|
] = False,
|
141
141
|
):
|
142
|
-
if
|
142
|
+
if dev:
|
143
143
|
compact_tracebacks: bool = os.getenv("INDEXIFY_COMPACT_TRACEBACKS", "1") == "1"
|
144
144
|
configure_development_mode_logging(compact_tracebacks=compact_tracebacks)
|
145
145
|
else:
|
@@ -164,7 +164,7 @@ def executor(
|
|
164
164
|
labels=kv_labels,
|
165
165
|
executor_cache=executor_cache,
|
166
166
|
functions=function_uris,
|
167
|
-
|
167
|
+
dev_mode=dev,
|
168
168
|
monitoring_server_host=monitoring_server_host,
|
169
169
|
monitoring_server_port=monitoring_server_port,
|
170
170
|
enable_grpc_state_reconciler=enable_grpc_state_reconciler,
|
@@ -205,6 +205,7 @@ def executor(
|
|
205
205
|
|
206
206
|
Executor(
|
207
207
|
id=executor_id,
|
208
|
+
development_mode=dev,
|
208
209
|
flavor=ExecutorFlavor.OSS,
|
209
210
|
version=executor_version,
|
210
211
|
labels=kv_labels,
|
@@ -57,6 +57,7 @@ class Executor:
|
|
57
57
|
def __init__(
|
58
58
|
self,
|
59
59
|
id: str,
|
60
|
+
development_mode: bool,
|
60
61
|
flavor: ExecutorFlavor,
|
61
62
|
version: str,
|
62
63
|
labels: Dict[str, str],
|
@@ -112,6 +113,7 @@ class Executor:
|
|
112
113
|
)
|
113
114
|
self._state_reporter = ExecutorStateReporter(
|
114
115
|
executor_id=id,
|
116
|
+
development_mode=development_mode,
|
115
117
|
flavor=flavor,
|
116
118
|
version=version,
|
117
119
|
labels=labels,
|
@@ -52,6 +52,7 @@ class ExecutorStateReporter:
|
|
52
52
|
def __init__(
|
53
53
|
self,
|
54
54
|
executor_id: str,
|
55
|
+
development_mode: bool,
|
55
56
|
flavor: ExecutorFlavor,
|
56
57
|
version: str,
|
57
58
|
labels: Dict[str, str],
|
@@ -63,6 +64,7 @@ class ExecutorStateReporter:
|
|
63
64
|
reporting_interval_sec: int = _REPORTING_INTERVAL_SEC,
|
64
65
|
):
|
65
66
|
self._executor_id: str = executor_id
|
67
|
+
self._development_mode: bool = development_mode
|
66
68
|
self._flavor: ExecutorFlavor = flavor
|
67
69
|
self._version: str = version
|
68
70
|
self._labels: Dict[str, str] = labels.copy()
|
@@ -151,6 +153,7 @@ class ExecutorStateReporter:
|
|
151
153
|
metric_state_report_rpcs.inc()
|
152
154
|
state = ExecutorState(
|
153
155
|
executor_id=self._executor_id,
|
156
|
+
development_mode=self._development_mode,
|
154
157
|
hostname=self._hostname,
|
155
158
|
flavor=_to_grpc_executor_flavor(self._flavor, self._logger),
|
156
159
|
version=self._version,
|
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
|
{indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/function_executor.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/health_checker.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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/function_executor/single_task_runner.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/grpc/function_executor_controller.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
|
{indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/host_resources/nvidia_gpu_allocator.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
|
{indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/health_check_handler.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/prometheus_metrics_handler.py
RENAMED
File without changes
|
File without changes
|
{indexify-0.3.30 → indexify-0.3.31}/src/indexify/executor/monitoring/startup_probe_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
|