indexify 0.4.18__py3-none-any.whl → 0.4.20__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.
indexify/cli/deploy.py CHANGED
@@ -1,11 +1,11 @@
1
1
  import click
2
2
  from tensorlake import Graph
3
3
  from tensorlake.functions_sdk.graph_serialization import graph_code_dir_path
4
+ from tensorlake.functions_sdk.remote_graph import RemoteGraph
4
5
  from tensorlake.functions_sdk.workflow_module import (
5
6
  WorkflowModuleInfo,
6
7
  load_workflow_module_info,
7
8
  )
8
- from tensorlake.remote_graph import RemoteGraph
9
9
 
10
10
 
11
11
  @click.command(
@@ -1,13 +1,14 @@
1
+ from dataclasses import dataclass
1
2
  from typing import Any, List, Optional
2
3
 
3
4
  import psutil
4
- from pydantic import BaseModel
5
5
 
6
6
  from .nvidia_gpu import NvidiaGPUInfo
7
7
  from .nvidia_gpu_allocator import NvidiaGPUAllocator
8
8
 
9
9
 
10
- class HostResources(BaseModel):
10
+ @dataclass
11
+ class HostResources:
11
12
  cpu_count: int
12
13
  memory_mb: int
13
14
  disk_mb: int
@@ -1,9 +1,8 @@
1
1
  import subprocess
2
+ from dataclasses import dataclass
2
3
  from enum import Enum
3
4
  from typing import Any, List
4
5
 
5
- from pydantic import BaseModel
6
-
7
6
 
8
7
  # Only NVIDIA GPUs currently supported in Tensorlake SDK are listed here.
9
8
  # GPU models coming with multiple memory sizes have a different enum value per memory size.
@@ -17,7 +16,8 @@ class NVIDIA_GPU_MODEL(str, Enum):
17
16
  A10 = "A10"
18
17
 
19
18
 
20
- class NvidiaGPUInfo(BaseModel):
19
+ @dataclass
20
+ class NvidiaGPUInfo:
21
21
  index: str
22
22
  uuid: str
23
23
  product_name: str # The official product name.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: indexify
3
- Version: 0.4.18
3
+ Version: 0.4.20
4
4
  Summary: Open Source Indexify components and helper tools
5
5
  Home-page: https://github.com/tensorlakeai/indexify
6
6
  License: Apache 2.0
@@ -15,9 +15,11 @@ Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: 3.13
16
16
  Requires-Dist: aiohttp (>=3.12.14,<4.0.0)
17
17
  Requires-Dist: boto3 (>=1.39.8,<2.0.0)
18
+ Requires-Dist: httpx[http2] (==0.27.2)
18
19
  Requires-Dist: prometheus-client (>=0.22.1,<0.23.0)
19
20
  Requires-Dist: psutil (>=7.0.0,<8.0.0)
20
- Requires-Dist: tensorlake (==0.2.27)
21
+ Requires-Dist: pydantic (>=2.11,<3.0)
22
+ Requires-Dist: tensorlake (==0.2.30)
21
23
  Project-URL: Repository, https://github.com/tensorlakeai/indexify
22
24
  Description-Content-Type: text/markdown
23
25
 
@@ -1,6 +1,6 @@
1
1
  indexify/cli/__init__.py,sha256=ELFLx_Z_oWm30jwOpYjbD6Ori3Nzz4ldkvmGVK7QMgw,426
2
2
  indexify/cli/build_image.py,sha256=tqo90TiXSaE88ywqprB5CJCH2PhOXKxhvZThvi6kA7Y,1752
3
- indexify/cli/deploy.py,sha256=YM5NB1B5WDalN4Hx-EC5NL30p3UBenrctMv6kPSbd94,1833
3
+ indexify/cli/deploy.py,sha256=0cs68KXH4Cw0KmYAoqYZ60oErQ5J9LI0KbohSG_Mj8g,1847
4
4
  indexify/cli/executor.py,sha256=UgKPQaObIJVFht0niLEsw8y4k8XBF3siWpTig2_nV8U,6584
5
5
  indexify/executor/README.md,sha256=ozC6_hMkhQQNVCMEpBxwiUALz6lwErPQxNxQfQDqnG4,2029
6
6
  indexify/executor/blob_store/blob_store.py,sha256=XViw_KRfFSNqwcFYwMZixZF-EYCjXK2AQHdt0xh4UVo,2368
@@ -42,8 +42,8 @@ indexify/executor/function_executor_controller/task_info.py,sha256=ZEdypd8QVmYbr
42
42
  indexify/executor/function_executor_controller/task_output.py,sha256=DJcjC4jMTcDfAtblJUuz9f6cOV4Ynnmdy_IlVaYo_sI,5876
43
43
  indexify/executor/function_executor_controller/terminate_function_executor.py,sha256=YLDlKoanfUBcy7A9ydCYdUsDwApjcTTn1o4tjNVN_QA,1281
44
44
  indexify/executor/function_executor_controller/upload_task_output.py,sha256=fEZm5eodx5rNLQYFhmdkMDD9qjX3_wKo64x4aUKTu34,10403
45
- indexify/executor/host_resources/host_resources.py,sha256=ZSfox24jaz1IIaQWUmciOoev0l35rk8LHbnb_koJWno,3810
46
- indexify/executor/host_resources/nvidia_gpu.py,sha256=BIxBcWenyhZe0fuPQT9I0g6zAWMDPcm_oZEfgOoYsFU,3306
45
+ indexify/executor/host_resources/host_resources.py,sha256=eUyP05EX7QdOtQ5vbX_KCpvnBS2B7fl06UWeF9Oigns,3813
46
+ indexify/executor/host_resources/nvidia_gpu.py,sha256=uTCkLXnozZSpax8VApt0QMMM9YcBUK9eggYpwmLz09I,3308
47
47
  indexify/executor/host_resources/nvidia_gpu_allocator.py,sha256=AOcXKglLyRD-GrZzyCoi_oDRJoaOhFKWBSlUOxHeAP8,2114
48
48
  indexify/executor/metrics/channel_manager.py,sha256=1dU9bzF3xqBy1nY9Sc66GfQQWnWZSNip4lEH1vjoWdI,648
49
49
  indexify/executor/metrics/executor.py,sha256=8dJXmyGqKlBSrPuyWXW7O2I21uxQ687l-2dYTvz4fmk,398
@@ -64,7 +64,7 @@ indexify/proto/executor_api.proto,sha256=nIgc1vDbKVpmqCrWOQzF3NFoHxnMcYiaFC3OyA2
64
64
  indexify/proto/executor_api_pb2.py,sha256=zdl00UOqgOB1KeRIAceh_43RpAOVLEs9RSbzxQ0hmKY,16163
65
65
  indexify/proto/executor_api_pb2.pyi,sha256=adD5mqqJhmTgRCa_4v1cR6GcOY-VOLOBV9k8T5iaqPc,22647
66
66
  indexify/proto/executor_api_pb2_grpc.py,sha256=cd-oqWdNGwQwIBA0qdPzd4gvVeLGZXoFis0nlqOlxiU,7520
67
- indexify-0.4.18.dist-info/METADATA,sha256=CDj1zRZp5NarWJm0mgajWtPozeQUN8jhqXAFro2aS_g,1116
68
- indexify-0.4.18.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
69
- indexify-0.4.18.dist-info/entry_points.txt,sha256=rMJqbE5KPZIXTPIfAtVIM4zpUElqYVgEYd6i7N23zzg,49
70
- indexify-0.4.18.dist-info/RECORD,,
67
+ indexify-0.4.20.dist-info/METADATA,sha256=oLGDGsDLrWck2LDl8l4pM51eJCzv6My9a0qteoXGZFE,1193
68
+ indexify-0.4.20.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
69
+ indexify-0.4.20.dist-info/entry_points.txt,sha256=rMJqbE5KPZIXTPIfAtVIM4zpUElqYVgEYd6i7N23zzg,49
70
+ indexify-0.4.20.dist-info/RECORD,,