opengradient 0.3.11__tar.gz → 0.3.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.
- {opengradient-0.3.11/src/opengradient.egg-info → opengradient-0.3.12}/PKG-INFO +2 -1
- {opengradient-0.3.11 → opengradient-0.3.12}/pyproject.toml +3 -2
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/__init__.py +2 -2
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/types.py +3 -2
- {opengradient-0.3.11 → opengradient-0.3.12/src/opengradient.egg-info}/PKG-INFO +2 -1
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient.egg-info/requires.txt +1 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/LICENSE +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/README.md +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/setup.cfg +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/abi/inference.abi +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/account.py +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/cli.py +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/client.py +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/defaults.py +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/exceptions.py +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/llm/__init__.py +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/llm/chat.py +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient/utils.py +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient.egg-info/SOURCES.txt +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient.egg-info/dependency_links.txt +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient.egg-info/entry_points.txt +0 -0
- {opengradient-0.3.11 → opengradient-0.3.12}/src/opengradient.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: opengradient
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
4
4
|
Summary: Python SDK for OpenGradient decentralized model management & inference services
|
|
5
5
|
Author-email: OpenGradient <oliver@opengradient.ai>
|
|
6
6
|
License: MIT License
|
|
@@ -84,6 +84,7 @@ Requires-Dist: idna==3.10
|
|
|
84
84
|
Requires-Dist: jaraco.classes==3.4.0
|
|
85
85
|
Requires-Dist: jwcrypto==1.5.6
|
|
86
86
|
Requires-Dist: keyring==24.3.1
|
|
87
|
+
Requires-Dist: langchain==0.3.7
|
|
87
88
|
Requires-Dist: more-itertools==10.5.0
|
|
88
89
|
Requires-Dist: msgpack==1.1.0
|
|
89
90
|
Requires-Dist: multidict==6.1.0
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "opengradient"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.12"
|
|
8
8
|
description = "Python SDK for OpenGradient decentralized model management & inference services"
|
|
9
9
|
authors = [{name = "OpenGradient", email = "oliver@opengradient.ai"}]
|
|
10
10
|
license = {file = "LICENSE"}
|
|
@@ -68,6 +68,7 @@ dependencies = [
|
|
|
68
68
|
"jaraco.classes==3.4.0",
|
|
69
69
|
"jwcrypto==1.5.6",
|
|
70
70
|
"keyring==24.3.1",
|
|
71
|
+
"langchain==0.3.7",
|
|
71
72
|
"more-itertools==10.5.0",
|
|
72
73
|
"msgpack==1.1.0",
|
|
73
74
|
"multidict==6.1.0",
|
|
@@ -143,4 +144,4 @@ select = ["E", "F", "I", "N"]
|
|
|
143
144
|
ignore = []
|
|
144
145
|
|
|
145
146
|
[tool.ruff.mccabe]
|
|
146
|
-
max-complexity = 10
|
|
147
|
+
max-complexity = 10
|
|
@@ -5,7 +5,7 @@ from .defaults import DEFAULT_INFERENCE_CONTRACT_ADDRESS, DEFAULT_RPC_URL
|
|
|
5
5
|
from .types import InferenceMode, LLM
|
|
6
6
|
from . import llm
|
|
7
7
|
|
|
8
|
-
__version__ = "0.3.
|
|
8
|
+
__version__ = "0.3.12"
|
|
9
9
|
|
|
10
10
|
_client = None
|
|
11
11
|
|
|
@@ -73,4 +73,4 @@ def login(email: str, password: str):
|
|
|
73
73
|
def list_files(model_name: str, version: str) -> List[Dict]:
|
|
74
74
|
if _client is None:
|
|
75
75
|
raise RuntimeError("OpenGradient client not initialized. Call og.init() first.")
|
|
76
|
-
return _client.list_files(model_name, version)
|
|
76
|
+
return _client.list_files(model_name, version)
|
|
@@ -75,7 +75,8 @@ class Abi:
|
|
|
75
75
|
return result
|
|
76
76
|
|
|
77
77
|
class LLM(str, Enum):
|
|
78
|
-
|
|
78
|
+
META_LLAMA_3_8B_INSTRUCT = "meta-llama/Meta-Llama-3-8B-Instruct"
|
|
79
79
|
LLAMA_3_2_3B_INSTRUCT = "meta-llama/Llama-3.2-3B-Instruct"
|
|
80
80
|
MISTRAL_7B_INSTRUCT_V3 = "mistralai/Mistral-7B-Instruct-v0.3"
|
|
81
|
-
HERMES_3_LLAMA_3_1_70B = "NousResearch/Hermes-3-Llama-3.1-70B"
|
|
81
|
+
HERMES_3_LLAMA_3_1_70B = "NousResearch/Hermes-3-Llama-3.1-70B"
|
|
82
|
+
META_LLAMA_3_1_70B_INSTRUCT = "meta-llama/Llama-3.1-70B-Instruct"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: opengradient
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
4
4
|
Summary: Python SDK for OpenGradient decentralized model management & inference services
|
|
5
5
|
Author-email: OpenGradient <oliver@opengradient.ai>
|
|
6
6
|
License: MIT License
|
|
@@ -84,6 +84,7 @@ Requires-Dist: idna==3.10
|
|
|
84
84
|
Requires-Dist: jaraco.classes==3.4.0
|
|
85
85
|
Requires-Dist: jwcrypto==1.5.6
|
|
86
86
|
Requires-Dist: keyring==24.3.1
|
|
87
|
+
Requires-Dist: langchain==0.3.7
|
|
87
88
|
Requires-Dist: more-itertools==10.5.0
|
|
88
89
|
Requires-Dist: msgpack==1.1.0
|
|
89
90
|
Requires-Dist: multidict==6.1.0
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|