Skip to content

Commit 395eba3

Browse files
committed
Fix path
1 parent ade3b17 commit 395eba3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sagemaker_pytorch_serving_container/torchserve.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ def _adapt_to_ts_format(handler_service):
120120
DEFAULT_TS_MODEL_DIRECTORY,
121121
"--version",
122122
"1",
123+
"--extra-files",
124+
os.path.join(environment.model_dir)
123125
]
124126

125127
logger.info(model_archiver_cmd)

0 commit comments

Comments
 (0)