mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
gs:// model_id is already set to /tmp/gcs_model/
This commit is contained in:
parent
666b75ea87
commit
03fb94b853
@ -192,8 +192,6 @@ def serve(
|
|||||||
local_url = unix_socket_template.format(uds_path, 0)
|
local_url = unix_socket_template.format(uds_path, 0)
|
||||||
server_urls = [local_url]
|
server_urls = [local_url]
|
||||||
|
|
||||||
if model_id.startswith("gs://"):
|
|
||||||
model_id = "/tmp/gcs_model"
|
|
||||||
try:
|
try:
|
||||||
model = get_model(
|
model = get_model(
|
||||||
model_id,
|
model_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user