opengradient 0.3.2__tar.gz → 0.3.3__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.
Files changed (21) hide show
  1. {opengradient-0.3.2/src/opengradient.egg-info → opengradient-0.3.3}/PKG-INFO +6 -1
  2. {opengradient-0.3.2 → opengradient-0.3.3}/README.md +5 -0
  3. {opengradient-0.3.2 → opengradient-0.3.3}/pyproject.toml +1 -1
  4. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/__init__.py +2 -2
  5. {opengradient-0.3.2 → opengradient-0.3.3/src/opengradient.egg-info}/PKG-INFO +6 -1
  6. {opengradient-0.3.2 → opengradient-0.3.3}/LICENSE +0 -0
  7. {opengradient-0.3.2 → opengradient-0.3.3}/setup.cfg +0 -0
  8. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/abi/inference.abi +0 -0
  9. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/abi/llm.abi +0 -0
  10. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/account.py +0 -0
  11. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/cli.py +0 -0
  12. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/client.py +0 -0
  13. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/defaults.py +0 -0
  14. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/exceptions.py +0 -0
  15. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/types.py +0 -0
  16. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient/utils.py +0 -0
  17. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient.egg-info/SOURCES.txt +0 -0
  18. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient.egg-info/dependency_links.txt +0 -0
  19. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient.egg-info/entry_points.txt +0 -0
  20. {opengradient-0.3.2 → opengradient-0.3.3}/src/opengradient.egg-info/requires.txt +0 -0
  21. {opengradient-0.3.2 → opengradient-0.3.3}/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.2
3
+ Version: 0.3.3
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
@@ -227,4 +227,9 @@ opengradient infer QmbUqS93oc4JTLMHwpVxsE39mhNxy6hpf6Py3r9oANr8aZ VANILLA '{"num
227
227
  opengradient infer QmbUqS93oc4JTLMHwpVxsE39mhNxy6hpf6Py3r9oANr8aZ VANILLA --input_file input.json
228
228
  ```
229
229
 
230
+ #### Run LLM Inference
231
+ ```bash
232
+ opengradient llm --model "meta-llama/Meta-Llama-3-8B-Instruct" --prompt "Translate to French: Hello, how are you?" --max-tokens 50 --temperature 0.7
233
+ ```
234
+
230
235
  For more information read the OpenGradient [documentation](https://docs.opengradient.ai/).
@@ -90,4 +90,9 @@ opengradient infer QmbUqS93oc4JTLMHwpVxsE39mhNxy6hpf6Py3r9oANr8aZ VANILLA '{"num
90
90
  opengradient infer QmbUqS93oc4JTLMHwpVxsE39mhNxy6hpf6Py3r9oANr8aZ VANILLA --input_file input.json
91
91
  ```
92
92
 
93
+ #### Run LLM Inference
94
+ ```bash
95
+ opengradient llm --model "meta-llama/Meta-Llama-3-8B-Instruct" --prompt "Translate to French: Hello, how are you?" --max-tokens 50 --temperature 0.7
96
+ ```
97
+
93
98
  For more information read the OpenGradient [documentation](https://docs.opengradient.ai/).
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "opengradient"
7
- version = "0.3.2"
7
+ version = "0.3.3"
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"}
@@ -1,8 +1,8 @@
1
1
  from .client import Client
2
2
  from .defaults import *
3
3
  from .types import InferenceMode
4
- from typing import List, Dict
5
- __version__ = "0.3.2"
4
+ from typing import List, Dict, Optional, Tuple
5
+ __version__ = "0.3.3"
6
6
 
7
7
  _client = None
8
8
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: opengradient
3
- Version: 0.3.2
3
+ Version: 0.3.3
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
@@ -227,4 +227,9 @@ opengradient infer QmbUqS93oc4JTLMHwpVxsE39mhNxy6hpf6Py3r9oANr8aZ VANILLA '{"num
227
227
  opengradient infer QmbUqS93oc4JTLMHwpVxsE39mhNxy6hpf6Py3r9oANr8aZ VANILLA --input_file input.json
228
228
  ```
229
229
 
230
+ #### Run LLM Inference
231
+ ```bash
232
+ opengradient llm --model "meta-llama/Meta-Llama-3-8B-Instruct" --prompt "Translate to French: Hello, how are you?" --max-tokens 50 --temperature 0.7
233
+ ```
234
+
230
235
  For more information read the OpenGradient [documentation](https://docs.opengradient.ai/).
File without changes
File without changes