opengradient 0.4.4__py3-none-any.whl → 0.4.5__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.
- opengradient/client.py +1 -1
- opengradient/types.py +0 -1
- {opengradient-0.4.4.dist-info → opengradient-0.4.5.dist-info}/METADATA +1 -1
- {opengradient-0.4.4.dist-info → opengradient-0.4.5.dist-info}/RECORD +8 -8
- {opengradient-0.4.4.dist-info → opengradient-0.4.5.dist-info}/LICENSE +0 -0
- {opengradient-0.4.4.dist-info → opengradient-0.4.5.dist-info}/WHEEL +0 -0
- {opengradient-0.4.4.dist-info → opengradient-0.4.5.dist-info}/entry_points.txt +0 -0
- {opengradient-0.4.4.dist-info → opengradient-0.4.5.dist-info}/top_level.txt +0 -0
opengradient/client.py
CHANGED
|
@@ -374,7 +374,7 @@ class Client:
|
|
|
374
374
|
if inference_mode != LlmInferenceMode.VANILLA and inference_mode != LlmInferenceMode.TEE:
|
|
375
375
|
raise OpenGradientError("Invalid inference mode %s: Inference mode must be VANILLA or TEE" % inference_mode)
|
|
376
376
|
|
|
377
|
-
if inference_mode == LlmInferenceMode.TEE and model_cid not in TEE_LLM:
|
|
377
|
+
if inference_mode == LlmInferenceMode.TEE and model_cid not in [llm.value for llm in TEE_LLM]:
|
|
378
378
|
raise OpenGradientError("That model CID is not supported yet supported for TEE inference")
|
|
379
379
|
|
|
380
380
|
contract = self._blockchain.eth.contract(address=self._inference_hub_contract_address, abi=self._inference_abi)
|
opengradient/types.py
CHANGED
|
@@ -139,7 +139,6 @@ class LLM(str, Enum):
|
|
|
139
139
|
|
|
140
140
|
META_LLAMA_3_8B_INSTRUCT = "meta-llama/Meta-Llama-3-8B-Instruct"
|
|
141
141
|
LLAMA_3_2_3B_INSTRUCT = "meta-llama/Llama-3.2-3B-Instruct"
|
|
142
|
-
MISTRAL_7B_INSTRUCT_V3 = "mistralai/Mistral-7B-Instruct-v0.3"
|
|
143
142
|
QWEN_2_5_72B_INSTRUCT = "Qwen/Qwen2.5-72B-Instruct"
|
|
144
143
|
META_LLAMA_3_1_70B_INSTRUCT = "meta-llama/Llama-3.1-70B-Instruct"
|
|
145
144
|
DOBBY_UNHINGED_3_1_8B = "SentientAGI/Dobby-Mini-Unhinged-Llama-3.1-8B"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
opengradient/__init__.py,sha256=RMjHgZ_Ef_l2cjN5a-81XYYx0LtWGKNZCg90-1zl3k0,12893
|
|
2
2
|
opengradient/account.py,sha256=5wrYpws_1lozjOFjLCTHtxgoxK-LmObDAaVy9eDcJY4,1145
|
|
3
3
|
opengradient/cli.py,sha256=5PNwcVwmkJb8A8Apj_JjkG9vDDyNEq0j51omzzQWHIo,25237
|
|
4
|
-
opengradient/client.py,sha256=
|
|
4
|
+
opengradient/client.py,sha256=tPqeRT5e5zwB2xF-57z3ZcsdMYEGHvlhdBQTKL4QPP4,41811
|
|
5
5
|
opengradient/defaults.py,sha256=_WzWawpJ5j2V7sbTYGA3L_gqdftslLLqlRPQ2LBsCHY,417
|
|
6
6
|
opengradient/exceptions.py,sha256=88tfegboGtlehQcwhxsl6ZzhLJWZWlkf_bkHTiCtXpo,3391
|
|
7
|
-
opengradient/types.py,sha256=
|
|
7
|
+
opengradient/types.py,sha256=OeQsS95p3FdSF6O04xX2pEvnyemHonyNs_QxevDAdS8,4268
|
|
8
8
|
opengradient/utils.py,sha256=PIECAkk0lvj8TfBItugv01Hi_cJai09jGW34zhzsJ7E,8321
|
|
9
9
|
opengradient/abi/ModelExecutorHistorical.abi,sha256=AEceI9y-VyeaAvHna6AaCH8XOgF8nzSLGEHWCr89Ddw,2625
|
|
10
10
|
opengradient/abi/inference.abi,sha256=MR5u9npZ-Yx2EqRW17_M-UnGgFF3mMEMepOwaZ-Bkgc,7040
|
|
@@ -19,9 +19,9 @@ opengradient/proto/__init__.py,sha256=AhaSmrqV0TXGzCKaoPV8-XUvqs2fGAJBM2aOmDpkNb
|
|
|
19
19
|
opengradient/proto/infer.proto,sha256=13eaEMcppxkBF8yChptsX9HooWFwJKze7oLZNl-LEb8,1217
|
|
20
20
|
opengradient/proto/infer_pb2.py,sha256=sGWDDVumYhXoCJTG9rLyvKu4XyaEjPE_b038kbNlj7w,3484
|
|
21
21
|
opengradient/proto/infer_pb2_grpc.py,sha256=q42_eZ7OZCMTXdWocYA4Ka3B0c3B74dOhfqdaIOO5AU,6700
|
|
22
|
-
opengradient-0.4.
|
|
23
|
-
opengradient-0.4.
|
|
24
|
-
opengradient-0.4.
|
|
25
|
-
opengradient-0.4.
|
|
26
|
-
opengradient-0.4.
|
|
27
|
-
opengradient-0.4.
|
|
22
|
+
opengradient-0.4.5.dist-info/LICENSE,sha256=xEcvQ3AxZOtDkrqkys2Mm6Y9diEnaSeQRKvxi-JGnNA,1069
|
|
23
|
+
opengradient-0.4.5.dist-info/METADATA,sha256=yc7mqP1VaPx6IeBVJ4cSoGrepN_0cJz1XBhvF02UAmA,5832
|
|
24
|
+
opengradient-0.4.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
25
|
+
opengradient-0.4.5.dist-info/entry_points.txt,sha256=yUKTaJx8RXnybkob0J62wVBiCp_1agVbgw9uzsmaeJc,54
|
|
26
|
+
opengradient-0.4.5.dist-info/top_level.txt,sha256=oC1zimVLa2Yi1LQz8c7x-0IQm92milb5ax8gHBHwDqU,13
|
|
27
|
+
opengradient-0.4.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|