Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ members = [
]

[workspace.package]
version = "0.2.27"
version = "0.2.28"
edition = "2024"
license = "MIT"
repository = "https://github.com/profullstack/c0mpute"
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ c0mpute worker start --gpu

# submit jobs
c0mpute transcode submit input.mov --preset hls --max-price 1.25
c0mpute infernet run prompts.jsonl --model qwen --max-price 5.00
c0mpute infernet chat --model qwen2.5:7b "hello"

# infernet: see what serves what, reserve a node
c0mpute pool qwen # live nodes per model
c0mpute infernet model list --node <id> # one node's advertised models
c0mpute infernet reservation pricing # managed endpoints, by GPU class

# monitor
c0mpute job status <job-id>
Expand Down
2 changes: 1 addition & 1 deletion apps/tui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@c0mpute/tui",
"version": "0.2.27",
"version": "0.2.28",
"private": true,
"type": "module",
"bin": {
Expand Down
1 change: 1 addition & 0 deletions apps/web/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";
import "./.next/types/root-params.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "c0mpute",
"version": "0.2.27",
"version": "0.2.28",
"private": true,
"type": "module",
"scripts": {
Expand Down
39 changes: 27 additions & 12 deletions apps/web/src/app/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,21 +160,36 @@ c0mpute transcode preset list`}
spot-check duplicate execution.
</P>
<Code>
{`# Simple batch with default model
c0mpute infernet run prompts.jsonl \\
--model qwen \\
--max-price 5.00
{`# Run a prompt on the network (stdin works too)
c0mpute infernet chat --model qwen2.5:7b "summarise this"
cat prompt.txt | c0mpute infernet chat --model qwen2.5:7b

# How many live nodes serve each model
c0mpute pool
c0mpute pool qwen

# Pin a specific model + runtime image hash for reproducible runs
c0mpute infernet run prompts.jsonl \\
--model llama-3.1-8b \\
--max-price 0.25
# The models one node advertises (node_id or row id)
c0mpute infernet model list --node <id>

# List models the network advertises
c0mpute infernet models list
# Models pulled on this machine
c0mpute infernet model list`}
</Code>
</Section>

# Benchmark a model against the network's workers
c0mpute infernet benchmark --model qwen`}
<Section h="reserve" title="[ reserve a node ]">
<P>
Infernet managed endpoints reserve one identified GPU operator
with an exact set of models, by the hour. You get your own API
keys, rate limits and usage reports, and pay only for hours that
pass the uptime checks. Every <code>infernet reservation</code>{" "}
command works through <code>c0mpute infernet</code>.
</P>
<Code>
{`c0mpute infernet reservation pricing # price list by GPU class
c0mpute infernet reservation create --name N --operator O --models m1,m2
c0mpute infernet reservation key-issue <id> --label customer-a
c0mpute infernet reservation report <id>
c0mpute infernet reservation --help`}
</Code>
</Section>

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/getting-started/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $ c0mpute worker start --gpu`}</CodeBlock>

<Section number="4" label="submit a job">
<CodeBlock>{`$ c0mpute transcode submit input.mov --preset hls --max-price 1.25
$ c0mpute infernet run prompts.jsonl --model qwen
$ c0mpute infernet chat --model qwen2.5:7b "hello"
$ c0mpute job status <job-id>`}</CodeBlock>
</Section>

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $ c0mpute worker start --gpu`}</CodeBlock>
<section className="space-y-3">
<p className="comment">// submit a job</p>
<CodeBlock>{`$ c0mpute transcode submit input.mov --preset hls
$ c0mpute infernet run prompts.jsonl --model qwen --max-price 0.10`}</CodeBlock>
$ c0mpute infernet chat --model qwen2.5:7b "hello"`}</CodeBlock>
</section>

<section className="space-y-3">
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/releases/latest.json/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const dynamic = "force-dynamic";
* this in sync with the workspace version in `Cargo.toml` on each release so a
* freshly built CLI reports "already latest" rather than a phantom upgrade.
*/
const FALLBACK_VERSION = "0.2.27";
const FALLBACK_VERSION = "0.2.28";
const FALLBACK_MIN_REQUIRED = "0.0.1";

type Channel = "stable" | "beta" | "nightly";
Expand Down
Loading
Loading