How to use memory saver feature? #4983
-
|
I used $ curl --data '' http://10.0.0.17:8000/release_memory_occupation | jq .
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 82 100 82 0 0 30460 0 --:--:-- --:--:-- --:--:-- 41000
{
"detail": [
{
"type": "missing",
"loc": [
"body"
],
"msg": "Field required",
"input": null
}
]
}However, I get this error above. Should I put something in the POST body? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
should run |
Beta Was this translation helpful? Give feedback.
-
|
@kebe7jun Thank you! That worked. I face a separate issue now where the output of the model is complete gibberish after I doing a release and resume. |
Beta Was this translation helpful? Give feedback.
should run
curl -XPOST -H "Content-Type: application/json" -d '{}' http://10.0.0.17:8000/release_memory_occupation | jq .