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
The requirements.txt generated by GenericModel.to_docker() uses the lastest version fastapi. In fastapi@0.112, fastapi/fastapi#11935 removed the CLI from fastapi. This causes docker serving of YDF models to fail on the latest fastapi (0.115) version.
To maintain the old behavior (and what I assume is intended), fastapi[all] should be the dependency instead.
@rstz with fastapi[standard], I couldn't get requests to the container running on my machine locally or in GCP to succeed. I did do a build and run the container with slightly different flags than the docs. I'm on macOS 15.0.
The requirements.txt generated by
GenericModel.to_docker()
uses the lastest version fastapi. In fastapi@0.112, fastapi/fastapi#11935 removed the CLI from fastapi. This causes docker serving of YDF models to fail on the latest fastapi (0.115) version.To maintain the old behavior (and what I assume is intended),
fastapi[all]
should be the dependency instead.The text was updated successfully, but these errors were encountered: