isagellm-core 0.2.1.0__cp311-none-any.whl → 0.2.2.1__cp311-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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: isagellm-core
3
- Version: 0.2.1.0
3
+ Version: 0.2.2.1
4
4
  Summary: sageLLM core runtime (config/observability/registries), plugin-ready
5
5
  Author: IntelliStream Team
6
6
  License: Proprietary - IntelliStream
@@ -26,6 +26,11 @@ Requires-Dist: pre-commit>=3.0.0; extra == "dev"
26
26
 
27
27
  # sagellm-core
28
28
 
29
+ ## Protocol Compliance (Mandatory)
30
+
31
+ - MUST follow Protocol v0.1: https://github.com/intellistream/sagellm-docs/blob/main/docs/specs/protocol_v0.1.md
32
+ - Any globally shared definitions (fields, error codes, metrics, IDs, schemas) MUST be added to Protocol first.
33
+
29
34
  [![CI](https://github.com/intellistream/sagellm-core/actions/workflows/ci.yml/badge.svg)](https://github.com/intellistream/sagellm-core/actions/workflows/ci.yml)
30
35
  [![PyPI](https://img.shields.io/pypi/v/isagellm-core.svg)](https://pypi.org/project/isagellm-core/)
31
36
  [![Python](https://img.shields.io/pypi/pyversions/isagellm-core.svg)](https://pypi.org/project/isagellm-core/)
@@ -1,5 +1,5 @@
1
- sagellm_core/__init__.py,sha256=idV5mkOvtUDrEs57ka2HrKe9CZBJ7mw-3C9nyy3w4og,3029
2
- sagellm_core/__init__.pyc,sha256=px30KQ5LM_H_h5HmAdN0wxv-hGAh6KQIEG8SZU17VL4,2972
1
+ sagellm_core/__init__.py,sha256=5C2PV2c-W0oRfkJUCi_n6uRPF7q7yw33JIVYMaxnPTc,3029
2
+ sagellm_core/__init__.pyc,sha256=nK7wOPBhSUDpwOL4aWpHMQA0pNtFaJMdXwdH4u7ifg4,2974
3
3
  sagellm_core/__main__.pyc,sha256=4wEXHFB0JVZaI6wLACU59_b-LfEbujTQZyzONaalAYA,384
4
4
  sagellm_core/base_engine.pyc,sha256=XANZ2YIQGyhI6GqBvoZdmYkMblO3N2eMWHhU4waJZIg,9823
5
5
  sagellm_core/config.pyc,sha256=8gGOOBcHRSSv883bDIJNXzB069ntBc0yYEf-PFAeWdU,9617
@@ -13,7 +13,7 @@ sagellm_core/plugins.pyc,sha256=rhdewQ_zJxnmRFBjUozBlhQtIwFg0C1rFD8zMT7ZeKI,2618
13
13
  sagellm_core/py.typed,sha256=ixa8YukDZ3kLo0WsFJRGohLMyHzbMur1ALmmASML2cs,64
14
14
  sagellm_core/runner.pyc,sha256=kUPITl68dX1rOY5Fg5o6KRBMjMhMAQFNizEuRF44PgM,14248
15
15
  sagellm_core/workload.pyc,sha256=LDuZAdimFAd3pHn8E9WG7LjwU_1IKABZ-gaMCMjOTus,4118
16
- sagellm_core/__pycache__/__init__.cpython-311.pyc,sha256=Gy4DiPzL45yOxumS2iBaChKzWN5Vt7CYvfFme0Im3nU,3002
16
+ sagellm_core/__pycache__/__init__.cpython-311.pyc,sha256=hoDs5mYs-fvKyyVrytM9Qjp6yg3SJS2y6Ixk26zXi1w,3004
17
17
  sagellm_core/__pycache__/base_engine.cpython-311.pyc,sha256=L5Al-v9E7_wvO_wCzwy-uogVGhcREnrEhWOPY8CMEdQ,9853
18
18
  sagellm_core/__pycache__/config.cpython-311.pyc,sha256=4c_gjzVmxIRApzmUq8LCboOG3wPqmmwWVFxZS3JOHOg,9647
19
19
  sagellm_core/__pycache__/demo.cpython-311.pyc,sha256=yOMGCRRQigl8sclMTcg-iHThQoxrRTPWSUdgDYJ3hgU,6407
@@ -32,16 +32,16 @@ sagellm_core/engines/embedding.pyc,sha256=0cT3ODDmp-1aJlb6VthnzeKd09stAnITdTHuSa
32
32
  sagellm_core/engines/hf_cuda.pyc,sha256=N6Pk-Vhj_5zOCdWiXLTasO3BU-7mNO5F0-HK4TaRn1g,50838
33
33
  sagellm_core/engines/mock.pyc,sha256=aOvuEPng6SUqQIB1Mpxcbb-8vzbrrwZSwal1atgSn3w,14611
34
34
  sagellm_core/engines/pytorch.pyc,sha256=I3oBL28pzeMCT6GNfaG52CY0yt1KR4tsOaVY-amkN7I,18413
35
- sagellm_core/engines/pytorch_engine.pyc,sha256=XFRcrBNL3ccxHPWuqv2uBg56HNDW0xg7_fK5jOdaHio,9872
35
+ sagellm_core/engines/pytorch_engine.pyc,sha256=1a7KF6nIBwcdbSo9ouZ459lijN5aTP8cmaaHnZY2zYo,11650
36
36
  sagellm_core/engines/__pycache__/__init__.cpython-311.pyc,sha256=IlXu4lev2PfOkLGSO6dbKDf_RIcxUvmL5cV0EIE3P0I,1418
37
37
  sagellm_core/engines/__pycache__/cpu.cpython-311.pyc,sha256=gGjhwViirf7jzzFgcKqKo4ciiDJwWxNoBOC04vWL4dQ,20220
38
38
  sagellm_core/engines/__pycache__/embedding.cpython-311.pyc,sha256=-kRmbxPN1IsSmNUi9FA3vp-zpOBiqLXf67gWVOU1wZg,11506
39
39
  sagellm_core/engines/__pycache__/hf_cuda.cpython-311.pyc,sha256=RjPewreHvv_9N_iSt8wAxlhTJ_kM-FsoaDWplYAf-cc,50868
40
40
  sagellm_core/engines/__pycache__/mock.cpython-311.pyc,sha256=O5j1RVjz8mAgoA0Aogt_3bVmChAtuJSrjMgDFB8YTAI,14641
41
41
  sagellm_core/engines/__pycache__/pytorch.cpython-311.pyc,sha256=grmN4cmJmGdeO89jBPllYZGlB8gbRDYA2Zzy7pPWCjQ,18443
42
- sagellm_core/engines/__pycache__/pytorch_engine.cpython-311.pyc,sha256=T6r2t5X9UNh8uT36gdow1cF5qB5_aeK9NruvdIkreWE,9902
43
- isagellm_core-0.2.1.0.dist-info/METADATA,sha256=FT7qXDZbnlsUvA2rDwBd-4EQbDj8oULbNh4wBaU-PRU,10597
44
- isagellm_core-0.2.1.0.dist-info/WHEEL,sha256=ZJeWpR6hcCRGwxVKXlDk-HsGwijNyTq4fszaDj4Ycyo,93
45
- isagellm_core-0.2.1.0.dist-info/entry_points.txt,sha256=FoTEGna8tmx20UEjrNJGXOOgUnfIbNbdCyhxlDiSfHA,303
46
- isagellm_core-0.2.1.0.dist-info/top_level.txt,sha256=wcgdWrvkaoYYh_dWSFI5Toi8PZsHutVqfhTB2tb0K6g,13
47
- isagellm_core-0.2.1.0.dist-info/RECORD,,
42
+ sagellm_core/engines/__pycache__/pytorch_engine.cpython-311.pyc,sha256=UUzGwsrfgX5Byax7yf7dv-tj0oeTMGEhR6dcV1wDjKQ,11677
43
+ isagellm_core-0.2.2.1.dist-info/METADATA,sha256=afexxSMZfLVfw8TS63-4sJ4ZZfgIyMS3hhOkxANB8F4,10859
44
+ isagellm_core-0.2.2.1.dist-info/WHEEL,sha256=ZJeWpR6hcCRGwxVKXlDk-HsGwijNyTq4fszaDj4Ycyo,93
45
+ isagellm_core-0.2.2.1.dist-info/entry_points.txt,sha256=FoTEGna8tmx20UEjrNJGXOOgUnfIbNbdCyhxlDiSfHA,303
46
+ isagellm_core-0.2.2.1.dist-info/top_level.txt,sha256=wcgdWrvkaoYYh_dWSFI5Toi8PZsHutVqfhTB2tb0K6g,13
47
+ isagellm_core-0.2.2.1.dist-info/RECORD,,
sagellm_core/__init__.py CHANGED
@@ -33,6 +33,10 @@ from sagellm_core.engines import (
33
33
  MockEngineConfig,
34
34
  create_mock_engine,
35
35
  )
36
+ from sagellm_core.factory import create_backend, create_engine
37
+ from sagellm_core.health import HealthStatus
38
+ from sagellm_core.plugins import PluginResolutionError, list_entry_points, resolve_kind
39
+ from sagellm_core.runner import DemoRunner, RunnerContext
36
40
 
37
41
  # PyTorch engine (optional, loaded lazily)
38
42
  PyTorchEngine = None
@@ -49,10 +53,6 @@ try:
49
53
  )
50
54
  except ImportError:
51
55
  pass # torch or transformers not available
52
- from sagellm_core.factory import create_backend, create_engine
53
- from sagellm_core.health import HealthStatus
54
- from sagellm_core.plugins import PluginResolutionError, list_entry_points, resolve_kind
55
- from sagellm_core.runner import DemoRunner, RunnerContext
56
56
 
57
57
  # Auto-register built-in engines
58
58
  EngineFactory.register(MockEngine)
@@ -79,7 +79,7 @@ try:
79
79
  except Exception:
80
80
  pass # torch or transformers not available
81
81
 
82
- __version__ = "0.2.1.0"
82
+ __version__ = "0.2.2.1"
83
83
 
84
84
  __all__ = [
85
85
  # Version
sagellm_core/__init__.pyc CHANGED
Binary file
Binary file