[Bug]: bedrock_runtime_wrapper.py has two issues
typex1 opened this issue · comments
Frank Spiess commented
Expected behavior
"python bedrock_runtime_wrapper.py" should run without any issues
Actual behavior
line 356: function "invoke_llama2" does not exist
line 369: stability.stable-diffusion-xl has reached end of its life - replace with stability.stable-diffusion-xl-v1
Steps to reproduce
1. invoke "python bedrock_runtime_wrapper.py"
2. see error messages described above
Logs / stacktrace (if applicable)
AttributeError: 'BedrockRuntimeWrapper' object has no attribute 'invoke_llama2'
and
botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the InvokeModel operation: This model version has reached the end of its life. Please refer to the AWS documentation for more details.
Which SDK were you using?
Python
Which OS were you using?
Linux
SDK version
No response
OS version
Amazon Linux 2023