You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am taking part in the gizathon and developed a model that I have deployed according to the docs. An endpoint and an agent were created in the process. However, I am getting a requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://endpoint-pochanga-680-4-1012eea6-7i3yxzspbq-ew.a.run.app/cairo_run when invoking the predict method of the model.
The full stack trace is:
[giza][2024-06-02 19:44:41.487] Getting logs for endpoint 250 ✅
2024-06-02T13:07:22.630118Z INFO orion_runner: ✅ Sierra program downloaded successfully!
2024-06-02T13:07:22.630187Z INFO orion_runner: 🚀 Server running on 0.0.0.0:8080
Default STARTUP TCP probe succeeded after 1 attempt for container "orion-runner-1" on port 8080.
The request failed because either the HTTP response was malformed or connection to the instance had an error. Additional troubleshooting documentation can be found at: https://cloud.google.com/run/docs/troubleshooting#malformed-response-or-connection-error
thread 'tokio-runtime-worker' panicked at crates/cairo_runner/src/utils.rs:16:78:
called `Result::unwrap()` on an `Err` value: FromStrError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-06-02T13:08:58.008900Z INFO orion_runner: ✅ Sierra program downloaded successfully!
2024-06-02T13:08:58.008967Z INFO orion_runner: 🚀 Server running on 0.0.0.0:8080
Default STARTUP TCP probe succeeded after 1 attempt for container "orion-runner-1" on port 8080.
2024-06-02T14:40:30.521721Z INFO orion_runner: ✅ Sierra program downloaded successfully!
2024-06-02T14:40:30.521788Z INFO orion_runner: 🚀 Server running on 0.0.0.0:8080
Default STARTUP TCP probe succeeded after 1 attempt for container "orion-runner-1" on port 8080.
2024-06-02T14:40:30.557102Z ERROR orion_runner: ⛔️ Deserialize the request body failed: Error("expected `,` or `}`", line: 2, column: 82)
The request failed because either the HTTP response was malformed or connection to the instance had an error. Additional troubleshooting documentation can be found at: https://cloud.google.com/run/docs/troubleshooting#malformed-response-or-connection-error
thread 'tokio-runtime-worker' panicked at crates/cairo_runner/src/utils.rs:16:78:
called `Result::unwrap()` on an `Err` value: FromStrError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-06-02T14:41:34.218334Z INFO orion_runner: ✅ Sierra program downloaded successfully!
2024-06-02T14:41:34.218404Z INFO orion_runner: 🚀 Server running on 0.0.0.0:8080
Default STARTUP TCP probe succeeded after 1 attempt for container "orion-runner-1" on port 8080.
2024-06-02T14:44:11.514504Z INFO orion_runner: 🔧 Running Sierra program with request ID: d94f9ea93f004e1d8a6b9e7b5d7052a8
The error: Function expects arguments of size 2 and received 4 instead.
2024-06-02T14:44:11.734252Z ERROR orion_runner::handlers: ⛔️ Failed to run Sierra program: Function expects arguments of size 2 and received 4 instead.
2024-06-02T14:44:11.734271Z ERROR orion_runner: ⛔️ Error processing request: CairoRunnerFailed
Update to this - the problem was serialisation of the parameters for the endpoint.
this error is showing in the runner "The error: Range-check validation failed, number 340282366920938463472013463322137827329 is out of valid range [0, 340282366920938463463374607431768211456]"
from discord conversation:
i think you reach this range check error because in the XGboost, all floats are multiplied by 10000. However, we should use Fixed points instead to ensure all number fit in the range .
I will add fixed points to the XGboost implementation.
In the meantime, you can normalize the inputs with minimax or standardnorm
Hi Giza
I am taking part in the gizathon and developed a model that I have deployed according to the docs. An endpoint and an agent were created in the process. However, I am getting a
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://endpoint-pochanga-680-4-1012eea6-7i3yxzspbq-ew.a.run.app/cairo_run
when invoking thepredict
method of the model.The full stack trace is:
Operating System: MacOS Sonoma 14.1
Python version: 3.11
Giza CLI/Agents-sdk version:
Giza command used:
giza endpoints logs --endpoint-id 250
after execution of the call topredict
methodPython traceback: above
request_id:
d94f9ea93f004e1d8a6b9e7b5d7052a8
The text was updated successfully, but these errors were encountered: