Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
745ea007
"vscode:/vscode.git/clone" did not exist on "d873b09ae5f11cee689d9bedf42c8c08e4247c82"
Unverified
Commit
745ea007
authored
Mar 12, 2024
by
Arsalan
Committed by
GitHub
Mar 12, 2024
Browse files
Fix Incorrect CURL Request Example in README (#287)
parent
ad1dd746
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
examples/usage/triton/README.md
examples/usage/triton/README.md
+5
-11
No files found.
examples/usage/triton/README.md
View file @
745ea007
...
@@ -27,15 +27,9 @@ tritonserver --model-repository=/mnt/models
...
@@ -27,15 +27,9 @@ tritonserver --model-repository=/mnt/models
Send request to the server:
Send request to the server:
```
```
curl -X POST http://localhost:8000/v2/models/character_generation/generate \
curl -X POST http://localhost:8000/v2/models/character_generation/generate \
-H "Content-Type: application/json" \
-H "Content-Type: application/json" \
-d '{
-d '{
"inputs": [
"INPUT_TEXT": ["harry"]
{
}'
"name": "INPUT_TEXT",
"datatype": "STRING",
"shape": [1],
"data": ["Name1"]
}
]
}'
```
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment