Skip to content

Commit

Permalink
rename scalepointai to modelserve (#11)
Browse files Browse the repository at this point in the history
* modelserve in example jsons (for the docs)

* modelserve in code of openapi example

* version bump, newer openapi spec

* version bump to 0.3.5
  • Loading branch information
mateuszsrebrny authored Oct 8, 2024
1 parent 0223b3b commit e74dd5d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion examples/beta-tests/create-node.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"golem_workers.payloads.ClusterNodePayload": {
"runtime": "vm-nvidia",
"image_tag": "scalepointai/automatic1111:4",
"image_tag": "modelserve/automatic1111:4",
"subnet_tag": "golem-workers-beta",
"outbound_urls": [
"https://gpu-provider.dev.golem.network"
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-example/create-node.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"payloads": [
{
"golem_workers.payloads.ClusterNodePayload": {
"image_tag": "scalepointai/echo-test:2"
"image_tag": "modelserve/echo-test:2"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/sd-example/create-node.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"golem_workers.payloads.ClusterNodePayload": {
"runtime": "vm-nvidia",
"image_tag": "scalepointai/automatic1111:4",
"image_tag": "modelserve/automatic1111:4",
"outbound_urls": [
"https://gpu-provider.dev.golem.network"
]
Expand Down
8 changes: 4 additions & 4 deletions golem_workers/entrypoints/web/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ async def create_node(
Body(
openapi_examples={
"echo_test": {
"summary": "scalepointai/echo-test:2",
"summary": "modelserve/echo-test:2",
"description": "This example shows how to run echo test. It will use a VPN and proxy traffic from local machine to running vm at http://localhost:8080.",
"value": {
"cluster_id": "example",
Expand All @@ -319,7 +319,7 @@ async def create_node(
"payloads": [
{
"golem_workers.payloads.ClusterNodePayload": {
"image_tag": "scalepointai/echo-test:2",
"image_tag": "modelserve/echo-test:2",
},
},
],
Expand Down Expand Up @@ -350,7 +350,7 @@ async def create_node(
},
},
"automatic": {
"summary": "scalepointai/automatic1111:4",
"summary": "modelserve/automatic1111:4",
"description": "This example shows how to run automatic with example model image. Automatic will take few minutes to download example model from Huggingface to provider. It will use a VPN and proxy traffic from local machine to running vm at http://localhost:8080.",
"value": {
"cluster_id": "example",
Expand All @@ -366,7 +366,7 @@ async def create_node(
{
"golem_workers.payloads.ClusterNodePayload": {
"runtime": "vm-nvidia",
"image_tag": "scalepointai/automatic1111:4",
"image_tag": "modelserve/automatic1111:4",
"outbound_urls": [
"https://gpu-provider.dev.golem.network",
],
Expand Down
10 changes: 5 additions & 5 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "Golem Workers Specification",
"version": "0.3.4"
"version": "0.3.5"
},
"paths": {
"/": {
Expand Down Expand Up @@ -456,7 +456,7 @@
},
"examples": {
"echo_test": {
"summary": "scalepointai/echo-test:2",
"summary": "modelserve/echo-test:2",
"description": "This example shows how to run echo test. It will use a VPN and proxy traffic from local machine to running vm at http://localhost:8080.",
"value": {
"cluster_id": "example",
Expand All @@ -469,7 +469,7 @@
"payloads": [
{
"golem_workers.payloads.ClusterNodePayload": {
"image_tag": "scalepointai/echo-test:2"
"image_tag": "modelserve/echo-test:2"
}
}
]
Expand Down Expand Up @@ -502,7 +502,7 @@
}
},
"automatic": {
"summary": "scalepointai/automatic1111:4",
"summary": "modelserve/automatic1111:4",
"description": "This example shows how to run automatic with example model image. Automatic will take few minutes to download example model from Huggingface to provider. It will use a VPN and proxy traffic from local machine to running vm at http://localhost:8080.",
"value": {
"cluster_id": "example",
Expand All @@ -516,7 +516,7 @@
{
"golem_workers.payloads.ClusterNodePayload": {
"runtime": "vm-nvidia",
"image_tag": "scalepointai/automatic1111:4",
"image_tag": "modelserve/automatic1111:4",
"outbound_urls": [
"https://gpu-provider.dev.golem.network"
]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "golem-workers"
version = "0.3.4"
version = "0.3.5"
description = "Golem Workers is an API providing direct and high-level access to CPU and GPU resources on the Golem Network."
authors = ["Golem Factory <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit e74dd5d

Please sign in to comment.