Skip to content

Endpoint returns 500 when following examples #47

@Cesar199999

Description

@Cesar199999

While following the examples in the decision_tree.ipynb and linear_regression.ipynb tutorials, I got the following error when calling model.predict() on the GizaModel object:

14:48:23.097 | ERROR   | giza_actions.model - An error occurred in predict: 500 Server Error: Internal Server Error for url: https://endpoint-cesar-[endpoint id].a.run.app/cairo_run

14:48:23.099 | ERROR   | giza_actions.model - Deployment predict error: Running the Cairo  programm failed

All previous cells ran successfully (transpilation, login, deployment, getting the workspace, etc.). Furthermore, calling model.predict() when verifiable=False seems to work, since I'm able to see the successful deployment in the dashboard.

I've tried to send the input myself using the requests library:

import requests
payload = " ".join(
    [
        serializer(create_tensor_from_array(
            input,
            "FP16x16"
        ))
    ]
)
response = requests.post("https://endpoint-cesar-[endpoint id].a.run.app/cairo_run", json=payload)

However, the same error persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions