-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add env for roboflow serverless service #1059
Conversation
inference/core/env.py
Outdated
@@ -515,3 +515,5 @@ | |||
) | |||
if IGNORE_MODEL_DEPENDENCIES_WARNINGS: | |||
warnings.simplefilter("ignore", ModelDependencyMissing) | |||
|
|||
IS_ROBOFLOW_SERVERLESS = str2bool(os.getenv("IS_ROBOFLOW_SERVERLESS", "False")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd vote for changing this variable name to something more specific, i.e. GCP_SERVERLESS
.
Or we could reuse LAMBDA
instead of introducing new env variable - it would make sense to reuse LAMBDA
since we are going to replicate AWS (with Redis and offloader)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's go GCP_SERVERLESS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
Description
/model/*
which are required by mode v1/infer/*
because our authoriser does not support api_key in json body, will enable these endpoints later when we updated the authorizerList any dependencies that are required for this change.
Type of change
Please delete options that are not relevant.
How has this change been tested, please provide a testcase or example of how you tested the change?
Tested in staging
Any specific deployment considerations
For example, documentation changes, usability, usage/costs, secrets, etc.
Docs