Returns a fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden message. Looks like mme_env.tar.gz is not there.
Following the note regarding the MME model is being included in the lab3/2_financial_news_summarization/triton-serve-py) /t5-summarization/ folder, I continued the process until the instruction:
---------------------------------------------------------------------------
ModelError Traceback (most recent call last)
/tmp/ipykernel_26725/2992517296.py in <module>
3 ContentType='application/octet-stream',
4 Body=request_body,
----> 5 TargetModel=python_model_file_name
6 )
~/anaconda3/envs/amazonei_pytorch_latest_p37/lib/python3.7/site-packages/botocore/client.py in _api_call(self, *args, **kwargs)
528 )
529 # The "self" in this scope is referring to the BaseClient.
--> 530 return self._make_api_call(operation_name, kwargs)
531
532 _api_call.__name__ = str(py_operation_name)
~/anaconda3/envs/amazonei_pytorch_latest_p37/lib/python3.7/site-packages/botocore/client.py in _make_api_call(self, operation_name, api_params)
962 error_code = parsed_response.get("Error", {}).get("Code")
963 error_class = self.exceptions.from_code(error_code)
--> 964 raise error_class(parsed_response, operation_name)
965 else:
966 return parsed_response
ModelError: An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (400) from primary with message "{"error":"load failed for model 'e5f78d779f1daxxxxxxxxxx': version 1 is at UNAVAILABLE state: Internal: Failed to get the canonical path for /opt/ml/models/e5f78ded28a6779f1da087c1b08c2316/model/t5-summarization/mme_env.tar.gz.;\n"}". See https://us-east-1.console.aws.amazon.com/cloudwatch/home?region=us-east-1#logEventViewer:group=/aws/sagemaker/Endpoints/financial-usecase-mme-ep-2023-06-02-03-34-43 in account XXXXXXXXXX for more information.
I double checked and the file: /opt/ml/models/e5f78ded28a6779f1da087c1b08c2316/model/t5-summarization/mme_env.tar.gz doesn't exist. Where should it be? How can I package the folder contents to reproduce the file?
Hi,
All the steps on "Notebook 1 - Financial News Sentiment Analysis" ran well.
Notebook 2 shows some problems:
Returns a
fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden
message. Looks likemme_env.tar.gz
is not there.Following the note regarding the MME model is being included in the
lab3/2_financial_news_summarization/triton-serve-py) /t5-summarization/
folder, I continued the process until the instruction:When I get the following error:
I double checked and the file:
/opt/ml/models/e5f78ded28a6779f1da087c1b08c2316/model/t5-summarization/mme_env.tar.gz
doesn't exist. Where should it be? How can I package the folder contents to reproduce the file?Best,