opengradient 0.3.29__py3-none-any.whl → 0.4.1__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/cli.py CHANGED
@@ -101,9 +101,6 @@ def initialize_config(ctx):
101
101
  )
102
102
  ctx.obj["password"] = password if password else None
103
103
 
104
- ctx.obj["rpc_url"] = DEFAULT_RPC_URL
105
- ctx.obj["contract_address"] = DEFAULT_INFERENCE_CONTRACT_ADDRESS
106
-
107
104
  save_og_config(ctx)
108
105
  click.echo("Config has been saved.")
109
106
  click.secho("You can run 'opengradient config show' to see configs.", fg="green")
@@ -128,11 +125,11 @@ def cli(ctx):
128
125
  if ctx.invoked_subcommand in no_client_commands:
129
126
  return
130
127
 
131
- if all(key in ctx.obj for key in ["private_key", "rpc_url", "contract_address"]):
128
+ if all(key in ctx.obj for key in ["private_key"]):
132
129
  try:
133
130
  ctx.obj["client"] = Client(
134
131
  private_key=ctx.obj["private_key"],
135
- rpc_url=ctx.obj["rpc_url"],
132
+ rpc_url=DEFAULT_RPC_URL,
136
133
  contract_address=DEFAULT_INFERENCE_CONTRACT_ADDRESS,
137
134
  email=ctx.obj.get("email"),
138
135
  password=ctx.obj.get("password"),
opengradient/defaults.py CHANGED
@@ -1,8 +1,8 @@
1
1
  # Default variables
2
- DEFAULT_RPC_URL = "http://18.218.115.248:8545"
3
- DEFAULT_OG_FAUCET_URL = "http://18.218.115.248:8080/?address="
4
- DEFAULT_HUB_SIGNUP_URL = "https://hub.opengradient.ai/signup"
5
- DEFAULT_INFERENCE_CONTRACT_ADDRESS = "0x3fDCb0394CF4919ff4361f4EbA0750cEc2e3bBc7"
6
- DEFAULT_BLOCKCHAIN_EXPLORER = "http://3.145.62.2/tx/"
7
- DEFAULT_IMAGE_GEN_HOST = "18.217.25.69"
8
- DEFAULT_IMAGE_GEN_PORT = 5125
2
+ DEFAULT_RPC_URL="http://18.188.176.119:8545"
3
+ DEFAULT_OG_FAUCET_URL="https://faucet.opengradient.ai/?address="
4
+ DEFAULT_HUB_SIGNUP_URL="https://hub.opengradient.ai/signup"
5
+ DEFAULT_INFERENCE_CONTRACT_ADDRESS="0x8383C9bD7462F12Eb996DD02F78234C0421A6FaE"
6
+ DEFAULT_BLOCKCHAIN_EXPLORER="https://explorer.opengradient.ai/tx/"
7
+ DEFAULT_IMAGE_GEN_HOST="18.217.25.69"
8
+ DEFAULT_IMAGE_GEN_PORT=5125
opengradient/types.py CHANGED
@@ -133,11 +133,12 @@ class LLM(str, Enum):
133
133
  MISTRAL_7B_INSTRUCT_V3 = "mistralai/Mistral-7B-Instruct-v0.3"
134
134
  QWEN_2_5_72B_INSTRUCT = "Qwen/Qwen2.5-72B-Instruct"
135
135
  META_LLAMA_3_1_70B_INSTRUCT = "meta-llama/Llama-3.1-70B-Instruct"
136
+ DOBBY_UNHINGED_3_1_8B = "SentientAGI/Dobby-Mini-Unhinged-Llama-3.1-8B"
137
+ DOBBY_LEASHED_3_1_8B = "SentientAGI/Dobby-Mini-Leashed-Llama-3.1-8B"
136
138
 
137
139
 
138
140
  class TEE_LLM(str, Enum):
139
141
  """Enum for LLM models available for TEE execution"""
140
- QWEN_2_5_72B_INSTRUCT = "Qwen/Qwen2.5-72B-Instruct"
141
142
  META_LLAMA_3_1_70B_INSTRUCT = "meta-llama/Llama-3.1-70B-Instruct"
142
143
 
143
144
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: opengradient
3
- Version: 0.3.29
3
+ Version: 0.4.1
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
@@ -1,10 +1,10 @@
1
1
  opengradient/__init__.py,sha256=j52gE9yLsig3og9_EKhV12K-VzFpZLORmM0msm2zJB0,12858
2
2
  opengradient/account.py,sha256=5wrYpws_1lozjOFjLCTHtxgoxK-LmObDAaVy9eDcJY4,1145
3
- opengradient/cli.py,sha256=YchzsQBMghtDFM4oYaqOdUM-N0ClY_HnBBMq9AH2rGY,25382
3
+ opengradient/cli.py,sha256=5PNwcVwmkJb8A8Apj_JjkG9vDDyNEq0j51omzzQWHIo,25237
4
4
  opengradient/client.py,sha256=juJKCudEqhtBOY_eZJozuWwuqtw5uOJNG3Asc-IUBEE,41763
5
- opengradient/defaults.py,sha256=VK3a4B4d6ZpGRqfpMe20PTUMXACjH2TdbCkiWLld8WU,398
5
+ opengradient/defaults.py,sha256=XQ9q-zC-QYaa1ONhGhniK1ZCO_ryiTjAWbYO3QCvXZ8,403
6
6
  opengradient/exceptions.py,sha256=88tfegboGtlehQcwhxsl6ZzhLJWZWlkf_bkHTiCtXpo,3391
7
- opengradient/types.py,sha256=-wBElVWswETdjM6Afmtnhqz4OYkSYfnN3e1UdDjYz0I,4032
7
+ opengradient/types.py,sha256=rh6GJuJBIO2uzQSFy0f9Vf9K1Ae6KC1sx56jROnCTSU,4124
8
8
  opengradient/utils.py,sha256=hf1dQvOHdCFthrAr_Wif_PNn6-C3zZaa3QCZX1HMWoA,6911
9
9
  opengradient/abi/ModelExecutorHistorical.abi,sha256=Z-2CQRG2BO5R-Ix1OLgQD9GCcHZw8w6-Zth3rzNX0TU,3278
10
10
  opengradient/abi/inference.abi,sha256=MR5u9npZ-Yx2EqRW17_M-UnGgFF3mMEMepOwaZ-Bkgc,7040
@@ -18,9 +18,9 @@ opengradient/proto/__init__.py,sha256=AhaSmrqV0TXGzCKaoPV8-XUvqs2fGAJBM2aOmDpkNb
18
18
  opengradient/proto/infer.proto,sha256=13eaEMcppxkBF8yChptsX9HooWFwJKze7oLZNl-LEb8,1217
19
19
  opengradient/proto/infer_pb2.py,sha256=sGWDDVumYhXoCJTG9rLyvKu4XyaEjPE_b038kbNlj7w,3484
20
20
  opengradient/proto/infer_pb2_grpc.py,sha256=q42_eZ7OZCMTXdWocYA4Ka3B0c3B74dOhfqdaIOO5AU,6700
21
- opengradient-0.3.29.dist-info/LICENSE,sha256=xEcvQ3AxZOtDkrqkys2Mm6Y9diEnaSeQRKvxi-JGnNA,1069
22
- opengradient-0.3.29.dist-info/METADATA,sha256=XA8vS2FKiGA5wulnnpk6SA62Joi7sBddXiWmiH4ACoo,5833
23
- opengradient-0.3.29.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
24
- opengradient-0.3.29.dist-info/entry_points.txt,sha256=yUKTaJx8RXnybkob0J62wVBiCp_1agVbgw9uzsmaeJc,54
25
- opengradient-0.3.29.dist-info/top_level.txt,sha256=oC1zimVLa2Yi1LQz8c7x-0IQm92milb5ax8gHBHwDqU,13
26
- opengradient-0.3.29.dist-info/RECORD,,
21
+ opengradient-0.4.1.dist-info/LICENSE,sha256=xEcvQ3AxZOtDkrqkys2Mm6Y9diEnaSeQRKvxi-JGnNA,1069
22
+ opengradient-0.4.1.dist-info/METADATA,sha256=Ba44HfqE-X337orgDn1zeiYnHZhvEjnTIW4C4qhF4UU,5832
23
+ opengradient-0.4.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
24
+ opengradient-0.4.1.dist-info/entry_points.txt,sha256=yUKTaJx8RXnybkob0J62wVBiCp_1agVbgw9uzsmaeJc,54
25
+ opengradient-0.4.1.dist-info/top_level.txt,sha256=oC1zimVLa2Yi1LQz8c7x-0IQm92milb5ax8gHBHwDqU,13
26
+ opengradient-0.4.1.dist-info/RECORD,,