Skip to content

Commit

Permalink
Fix input tensors and regenerate warmup files
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Mar 15, 2024
1 parent 60ee8aa commit 6ef95ee
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified sqli_model/1/assets.extra/tf_serving_warmup_requests
Binary file not shown.
Binary file modified sqli_model/2/assets.extra/tf_serving_warmup_requests
Binary file not shown.
2 changes: 1 addition & 1 deletion training/warm_up.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
predict_request = predict_pb2.PredictRequest()
predict_request.model_spec.name = "sqli_model"
predict_request.model_spec.signature_name = "serving_default"
predict_request.inputs["tokens"].CopyFrom(
predict_request.inputs["embedding_input"].CopyFrom(
tensor_util.make_tensor_proto(query_vec, float32)
)

Expand Down

0 comments on commit 6ef95ee

Please sign in to comment.