updated touchserve start command (#3342)
This commit is contained in:
Родитель
1a086dac41
Коммит
c2359b89ff
|
@ -1,3 +1,3 @@
|
|||
FROM pytorch/torchserve:latest-cpu
|
||||
|
||||
CMD ["torchserve","--start","--model-store","$AZUREML_MODEL_DIR/torchserve","--models","$TORCHSERVE_MODELS"]
|
||||
CMD ["torchserve","--start", "--disable-token-auth", "--model-store","$AZUREML_MODEL_DIR/torchserve","--models","$TORCHSERVE_MODELS"]
|
|
@ -2,4 +2,4 @@ FROM pytorch/torchserve:latest-cpu
|
|||
|
||||
RUN pip install transformers==4.6.0
|
||||
|
||||
CMD ["torchserve","--start","--model-store","$AZUREML_MODEL_DIR","--models","$TORCHSERVE_MODELS","--ncs"]
|
||||
CMD ["torchserve","--start", "--disable-token-auth", "--model-store","$AZUREML_MODEL_DIR","--models","$TORCHSERVE_MODELS","--ncs"]
|
Загрузка…
Ссылка в новой задаче