We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e9452a + 8476fe9 commit c901b9bCopy full SHA for c901b9b
inference/core/interfaces/http/http_api.py
@@ -2901,7 +2901,7 @@ def legacy_infer_from_request(
2901
model_id = f"{dataset_id}/{version_id}"
2902
if confidence >= 1:
2903
confidence /= 100
2904
- elif confidence < CONFIDENCE_LOWER_BOUND_OOM_PREVENTION:
+ if confidence < CONFIDENCE_LOWER_BOUND_OOM_PREVENTION:
2905
# allowing lower confidence results in RAM usage explosion
2906
confidence = CONFIDENCE_LOWER_BOUND_OOM_PREVENTION
2907
0 commit comments