Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpcn: rename tasks to compute units #1594

Merged
merged 1 commit into from
Jan 27, 2025
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
4 changes: 2 additions & 2 deletions frontend/src/components/pages/rp-connect/Pipelines.Create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ class RpConnectPipelinesCreate extends PageComponent<{}> {
/>
</FormField>
<FormField
label="Tasks"
description="One task is equivalent to 0.1 CPU and 400 MB of memory. This is enough to experiment with low-volume pipelines. For pipelines that include the AI Ollama components, one task is equivalent to 1 GPU. This can have cost implications."
label="Compute Units"
description="One compute unit is equivalent to 0.1 CPU and 400 MB of memory. This is enough to experiment with low-volume pipelines. For pipelines that include the AI Ollama components, one AI compute unit is equivalent to 1 GPU. This can have cost implications."
w={500}
>
<NumberInput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ export const PipelineResources = observer((p: { resources?: Pipeline_Resources }
const tasks = cpuToTasks(r.cpuShares);
return (
<Flex gap="4">
{tasks || '-'} Tasks ({r.cpuShares} CPU / {r.memoryShares} Memory)
{tasks || '-'} Compute Units ({r.cpuShares} CPU / {r.memoryShares} Memory)
</Flex>
);
});
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class RpConnectPipelinesEdit extends PageComponent<{ pipelineId: string }> {
width={500}
/>
</FormField>
<FormField label="Tasks">
<FormField label="Compute Units">
<NumberInput
value={this.tasks}
onChange={(e) => (this.tasks = Number(e ?? MIN_TASKS))}
Expand Down
Loading