konduktor-nightly 0.1.0.dev20250907104320__py3-none-any.whl → 0.1.0.dev20250908220403__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.

Potentially problematic release.


This version of konduktor-nightly might be problematic. Click here for more details.

konduktor/__init__.py CHANGED
@@ -11,7 +11,7 @@ from konduktor.task import Task
11
11
  __all__ = ['launch', 'Resources', 'Task', 'Serving']
12
12
 
13
13
  # Replaced with the current commit when building the wheels.
14
- _KONDUKTOR_COMMIT_SHA = 'f94a3896973c83e3b9d9cacf15049d248660ce66'
14
+ _KONDUKTOR_COMMIT_SHA = '806f73acd8cee3f2a3a84310a314149aa595d2ff'
15
15
  os.makedirs(os.path.expanduser('~/.konduktor'), exist_ok=True)
16
16
 
17
17
 
@@ -45,5 +45,5 @@ def _get_git_commit():
45
45
 
46
46
 
47
47
  __commit__ = _get_git_commit()
48
- __version__ = '1.0.0.dev0.1.0.dev20250907104320'
48
+ __version__ = '1.0.0.dev0.1.0.dev20250908220403'
49
49
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
@@ -378,7 +378,7 @@ def tail_vicky_logs(
378
378
  vicky_url = f'http://localhost:{port}/select/logsql/tail'
379
379
  else:
380
380
  vicky_url = f'http://localhost:{port}/select/logsql/query'
381
- timeout = 5
381
+ timeout = config.get_nested(('logs', 'timeout'), 60)
382
382
  logger.debug(f'Vicky URL: {vicky_url}')
383
383
 
384
384
  try:
@@ -409,7 +409,11 @@ def tail_vicky_logs(
409
409
  except KeyboardInterrupt:
410
410
  logger.info('\nStopping log stream...')
411
411
  except requests.exceptions.Timeout:
412
- logger.error(f'Request to VictoriaLogs timed out after {timeout} seconds')
412
+ logger.error(
413
+ f'Request to VictoriaLogs timed out after {timeout} seconds. '
414
+ 'Try increasing the timeout in the config file under `logs.timeout`. If '
415
+ 'you are still seeing issues, please contact support.'
416
+ )
413
417
  except requests.exceptions.ConnectionError as e:
414
418
  logger.error(f'Failed to connect to VictoriaLogs at {vicky_url}: {e}')
415
419
  except requests.exceptions.RequestException as e:
@@ -542,6 +542,10 @@ def get_config_schema():
542
542
  'type': 'string',
543
543
  'case_insensitive_enum': ['loki', 'victoria'],
544
544
  },
545
+ 'timeout': {
546
+ 'type': 'integer',
547
+ 'minimum': 1,
548
+ },
545
549
  },
546
550
  }
547
551
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: konduktor-nightly
3
- Version: 0.1.0.dev20250907104320
3
+ Version: 0.1.0.dev20250908220403
4
4
  Summary: GPU Cluster Health Management
5
5
  Author: Andrew Aikawa
6
6
  Author-email: asai@berkeley.edu
@@ -1,4 +1,4 @@
1
- konduktor/__init__.py,sha256=7PXtejIJWlbQFhGz3Tw_Cq0kK6innjiStr5Y89dwaJE,1574
1
+ konduktor/__init__.py,sha256=ZOGmqrxT8iLadgOAHc3BN1gKwUIfv4BNYiwlHM9J6Ms,1574
2
2
  konduktor/adaptors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  konduktor/adaptors/aws.py,sha256=s47Ra-GaqCQibzVfmD0pmwEWHif1EGO5opMbwkLxTCU,8244
4
4
  konduktor/adaptors/common.py,sha256=ZIqzjx77PIHUwpjfAQ1uX8B2aX78YMuGj4Bppd-MdyM,4183
@@ -93,15 +93,15 @@ konduktor/utils/env_options.py,sha256=T41Slzf4Mzl-n45CGXXqdy2fCrYhPNZQ7RP5vmnN4x
93
93
  konduktor/utils/exceptions.py,sha256=5IFnN5bIUSBJv4KRRrCepk5jyY9EG5vWWQqbjCmP3NU,6682
94
94
  konduktor/utils/kubernetes_enums.py,sha256=SabUueF6Bpzbpa57gyH5VB65xla2N9l8CZmAeYTfGmM,176
95
95
  konduktor/utils/kubernetes_utils.py,sha256=7RThCOiyaALRqbwHZ40qMnBsbAgt669k0NHkxtfx7Bs,26205
96
- konduktor/utils/log_utils.py,sha256=k43eGpSwIdGhNotC8w7_Hq-bbyQQTrHwMOAMct_gr9M,16978
96
+ konduktor/utils/log_utils.py,sha256=R0ohvpdWzOwErn17CbKv2kwSQshmdfS8zxbQlPDw-ys,17212
97
97
  konduktor/utils/loki_utils.py,sha256=h2ZvZQr1nE_wXXsKsGMjhG2s2MXknNd4icydTR_ruKU,3539
98
98
  konduktor/utils/rich_utils.py,sha256=ycADW6Ij3wX3uT8ou7T8qxX519RxlkJivsLvUahQaJo,3583
99
- konduktor/utils/schemas.py,sha256=UPCb6gDcWUP7ygtEZSlHx6QZDQkrHgSxoCS97jMGmXA,18737
99
+ konduktor/utils/schemas.py,sha256=twDGauRd2pPg8CeIbNeoB_kgbtXPDBKy363gd5-UVa0,18842
100
100
  konduktor/utils/subprocess_utils.py,sha256=WoFkoFhGecPR8-rF8WJxbIe-YtV94LXz9UG64SDhCY4,9448
101
101
  konduktor/utils/ux_utils.py,sha256=7-Lt3QbDVvBQUli5_U9lOdXKeC-ip8rZBpO9gQ6vPJw,7955
102
102
  konduktor/utils/validator.py,sha256=gCB5v9Up9bCWD_92fS5ChfRRXj_m56Ky9uzd_77wXGI,16927
103
- konduktor_nightly-0.1.0.dev20250907104320.dist-info/LICENSE,sha256=MuuqTZbHvmqXR_aNKAXzggdV45ANd3wQ5YI7tnpZhm0,6586
104
- konduktor_nightly-0.1.0.dev20250907104320.dist-info/METADATA,sha256=hdrdkc-OM7eTIqBYHk-v_zzgNNLOL9Tu--QZSVZ_nW8,4247
105
- konduktor_nightly-0.1.0.dev20250907104320.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
106
- konduktor_nightly-0.1.0.dev20250907104320.dist-info/entry_points.txt,sha256=k3nG5wDFIJhNqsZWrHk4d0irIB2Ns9s47cjRWYsTCT8,48
107
- konduktor_nightly-0.1.0.dev20250907104320.dist-info/RECORD,,
103
+ konduktor_nightly-0.1.0.dev20250908220403.dist-info/LICENSE,sha256=MuuqTZbHvmqXR_aNKAXzggdV45ANd3wQ5YI7tnpZhm0,6586
104
+ konduktor_nightly-0.1.0.dev20250908220403.dist-info/METADATA,sha256=ivi9AyHeYSfb8aO9tQXJQL5mwNao3v04re-sYnl1fEU,4247
105
+ konduktor_nightly-0.1.0.dev20250908220403.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
106
+ konduktor_nightly-0.1.0.dev20250908220403.dist-info/entry_points.txt,sha256=k3nG5wDFIJhNqsZWrHk4d0irIB2Ns9s47cjRWYsTCT8,48
107
+ konduktor_nightly-0.1.0.dev20250908220403.dist-info/RECORD,,