Skip to content

Commit

Permalink
switch default port from 8080 to 4242
Browse files Browse the repository at this point in the history
(less likelyhood of conflicts)
  • Loading branch information
mmoskal committed Feb 1, 2024
1 parent 86e2393 commit e76ebed
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/cuda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
}
},
"forwardPorts": [
8080
4242
]
}
2 changes: 1 addition & 1 deletion .devcontainer/vllm/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
}
},
"forwardPorts": [
8080
4242
]
}
1 change: 0 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
},
"args": [
"--verbose",
"--port=8080",
"--aicirt=${workspaceFolder}/target/release/aicirt",
"--model=https://huggingface.co/TheBloke/Orca-2-13B-GGUF/blob/main/orca-2-13b.Q8_0.gguf",
"--tokenizer=orca"
Expand Down
2 changes: 1 addition & 1 deletion aici.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

if [ "X$AICI_API_BASE" = "X" ] ; then
export AICI_API_BASE="http://127.0.0.1:8080/v1/"
export AICI_API_BASE="http://127.0.0.1:4242/v1/"
fi

PYTHONPATH=`dirname $0` \
Expand Down
22 changes: 11 additions & 11 deletions promptlib/notebooks/aici_server_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@
}
],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand Down Expand Up @@ -776,7 +776,7 @@
}
],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand Down Expand Up @@ -814,7 +814,7 @@
}
],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand All @@ -838,7 +838,7 @@
"metadata": {},
"outputs": [],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand Down Expand Up @@ -877,7 +877,7 @@
}
],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand Down Expand Up @@ -925,7 +925,7 @@
}
],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand Down Expand Up @@ -956,13 +956,13 @@
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb Cell 16\u001b[0m line \u001b[0;36m1\n\u001b[0;32m----> <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=0'>1</a>\u001b[0m ep \u001b[39m=\u001b[39m AICI(base_url\u001b[39m=\u001b[39m\u001b[39m\"\u001b[39m\u001b[39mhttp://127.0.0.1:8080/v1/\u001b[39m\u001b[39m\"\u001b[39m, wasm_runner_path\u001b[39m=\u001b[39m\u001b[39m\"\u001b[39m\u001b[39m/workspaces/aici/declvm/target/opt.wasm\u001b[39m\u001b[39m\"\u001b[39m)\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=2'>3</a>\u001b[0m endpoint \u001b[39m=\u001b[39m PromptNode()\u001b[39m.\u001b[39mset_endpoint(ep)\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=4'>5</a>\u001b[0m pn \u001b[39m=\u001b[39m endpoint\u001b[39m.\u001b[39mappend(\u001b[39m\"\u001b[39m\u001b[39m[INST] Please repeat the following list in order:\u001b[39m\u001b[39m\"\u001b[39m) \\\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=5'>6</a>\u001b[0m \u001b[39m.\u001b[39mappend(\u001b[39m\"\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39mApple\u001b[39m\u001b[39m\"\u001b[39m) \\\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=6'>7</a>\u001b[0m \u001b[39m.\u001b[39mappend(\u001b[39m\"\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39mCherries\u001b[39m\u001b[39m\"\u001b[39m, attrs\u001b[39m=\u001b[39m[\u001b[39m\"\u001b[39m\u001b[39mselected\u001b[39m\u001b[39m\"\u001b[39m]) \\\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=10'>11</a>\u001b[0m \u001b[39m.\u001b[39mappend(\u001b[39m\"\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39m\\n\u001b[39;00m\u001b[39mOk now please repeat the list and say DONE when DONE:[/INST]\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39m\"\u001b[39m) \\\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=11'>12</a>\u001b[0m \u001b[39m.\u001b[39mgen(max_tokens\u001b[39m=\u001b[39m\u001b[39m30\u001b[39m, stop_at\u001b[39m=\u001b[39m\u001b[39m\"\u001b[39m\u001b[39mDONE\u001b[39m\u001b[39m\"\u001b[39m, ignore\u001b[39m=\u001b[39m[\u001b[39m\"\u001b[39m\u001b[39mselected\u001b[39m\u001b[39m\"\u001b[39m])\n",
"\u001b[1;32m/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb Cell 16\u001b[0m line \u001b[0;36m1\n\u001b[0;32m----> <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=0'>1</a>\u001b[0m ep \u001b[39m=\u001b[39m AICI(base_url\u001b[39m=\u001b[39m\u001b[39m\"\u001b[39m\u001b[39mhttp://127.0.0.1:4242/v1/\u001b[39m\u001b[39m\"\u001b[39m, wasm_runner_path\u001b[39m=\u001b[39m\u001b[39m\"\u001b[39m\u001b[39m/workspaces/aici/declvm/target/opt.wasm\u001b[39m\u001b[39m\"\u001b[39m)\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=2'>3</a>\u001b[0m endpoint \u001b[39m=\u001b[39m PromptNode()\u001b[39m.\u001b[39mset_endpoint(ep)\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=4'>5</a>\u001b[0m pn \u001b[39m=\u001b[39m endpoint\u001b[39m.\u001b[39mappend(\u001b[39m\"\u001b[39m\u001b[39m[INST] Please repeat the following list in order:\u001b[39m\u001b[39m\"\u001b[39m) \\\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=5'>6</a>\u001b[0m \u001b[39m.\u001b[39mappend(\u001b[39m\"\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39mApple\u001b[39m\u001b[39m\"\u001b[39m) \\\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=6'>7</a>\u001b[0m \u001b[39m.\u001b[39mappend(\u001b[39m\"\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39mCherries\u001b[39m\u001b[39m\"\u001b[39m, attrs\u001b[39m=\u001b[39m[\u001b[39m\"\u001b[39m\u001b[39mselected\u001b[39m\u001b[39m\"\u001b[39m]) \\\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=10'>11</a>\u001b[0m \u001b[39m.\u001b[39mappend(\u001b[39m\"\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39m\\n\u001b[39;00m\u001b[39mOk now please repeat the list and say DONE when DONE:[/INST]\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39m\"\u001b[39m) \\\n\u001b[1;32m <a href='vscode-notebook-cell://dev-container%2B7b22686f737450617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f61696369222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f686f6d652f656d72656b2f666173742d70726f6a6563742f616963692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d@ssh-remote%2Btunnel/workspaces/aici/promptlib/notebooks/aici_server_example.ipynb#X21sdnNjb2RlLXJlbW90ZQ%3D%3D?line=11'>12</a>\u001b[0m \u001b[39m.\u001b[39mgen(max_tokens\u001b[39m=\u001b[39m\u001b[39m30\u001b[39m, stop_at\u001b[39m=\u001b[39m\u001b[39m\"\u001b[39m\u001b[39mDONE\u001b[39m\u001b[39m\"\u001b[39m, ignore\u001b[39m=\u001b[39m[\u001b[39m\"\u001b[39m\u001b[39mselected\u001b[39m\u001b[39m\"\u001b[39m])\n",
"\u001b[0;31mNameError\u001b[0m: name 'AICI' is not defined"
]
}
],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand Down Expand Up @@ -2125,7 +2125,7 @@
}
],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
Expand Down Expand Up @@ -2153,7 +2153,7 @@
"metadata": {},
"outputs": [],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
Expand Down Expand Up @@ -2237,7 +2237,7 @@
}
],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrlrlrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion promptlib/notebooks/ignore-check.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion promptlib/notebooks/test_token_boundaries.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"metadata": {},
"outputs": [],
"source": [
"ep = AICI(base_url=\"http://127.0.0.1:8080/v1/\", wasm_runner_path=\"/workspaces/aici/declctrl/target/opt.wasm\")\n",
"ep = AICI(base_url=\"http://127.0.0.1:4242/v1/\", wasm_runner_path=\"/workspaces/aici/declctrl/target/opt.wasm\")\n",
"\n",
"endpoint = PromptNode().set_endpoint(ep)\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion pyaici/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

BASE_URL_ENV = "AICI_API_BASE"

base_url = os.environ.get(BASE_URL_ENV, "http://127.0.0.1:8080/v1/")
base_url = os.environ.get(BASE_URL_ENV, "http://127.0.0.1:4242/v1/")
log_level = 1
ast_module = ""

Expand Down
2 changes: 1 addition & 1 deletion rllm-cuda/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ pub struct RllmCliArgs {
pub dtype: String,

/// Port to serve on (localhost:port)
#[arg(long, default_value_t = 8080, help_heading = "Server")]
#[arg(long, default_value_t = 4242, help_heading = "Server")]
pub port: u16,

/// Set verbose mode (print all requests)
Expand Down
2 changes: 1 addition & 1 deletion scripts/vllm-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ python3 harness/vllm_server.py \
--model $MODEL \
--aici-rtarg="--wasm-max-pre-step-time=10" \
--tokenizer hf-internal-testing/llama-tokenizer \
--port 8080 --host 127.0.0.1
--port 4242 --host 127.0.0.1

# --aici-rtarg="--wasm-max-step-time=50" \
# --aici-rtarg="--wasm-max-pre-step-time=2" \
Expand Down

0 comments on commit e76ebed

Please sign in to comment.