Skip to content

Commit 219f297

Browse files
author
Nasfame
committed
chore: update compute versions
Signed-off-by: Nasfame <laciferin@gmail.com>
1 parent 9c8b25d commit 219f297

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

utils/compute.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,18 @@ export async function compute(train_script: string, cid: string): Promise<string
2222
let dto = {
2323
Engine: 'Docker',
2424
Docker: {
25-
Image: 'ghcr.io/decenter-ai/compute:v1.5.5',
25+
Image: 'ghcr.io/decenter-ai/compute:v1.6.1',
2626
Parameters: [
2727
train_script, //headbrain.ipynb
2828
`/inputs/${cid}`,
2929
],
30+
EnvironmentVariables: [
31+
"OUTPUT_DIR=/outputs",
32+
"OUTPUT_ARCHIVE=decenter-model",
33+
// by default output archive is decenter-ai-model-input_archive.zip
34+
// but using this environment becomes decenter-model.zip, u can access with /outputs/decenter-model.zip,
35+
],
36+
3037
},
3138
inputs: [
3239
{

0 commit comments

Comments
 (0)