I deployed HuggingFace zephyr-7b-beta model to SageMaker by using the default deploy.py script. When trying to invoke the model endpoint, I received the error "ValueError: Error raised by inference endpoint: An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (422) from primary with message "{"error":"Input validation error: inputs must have less than … Continue reading Increase max input length for HuggingFace model in SageMaker deployment
Category: Others
Why you need CodeGuru?
AWS CodeGuru is a developer tool that provides intelligent recommendations to improve code quality and identify an application’s most expensive lines of code.
Git broken after Upgrade to Mojave (10.14.5)
Second issue that I have found after upgrade my mac to Mojave is that Git stops working. When run git in terminal, it throws the error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun This means the command line tools of Xcode is not working properly. It needs either reset or update. … Continue reading Git broken after Upgrade to Mojave (10.14.5)
Cannot Connect to App Store after Upgrade to Mojave (10.14.5)
Finally I have decided to upgrade my current High Sierra to Mojave to get newer version of Xcode and also to support the multiple monitors with Targus USB-C dock station. I have heard people had various issues after upgrade to Mojave, so I am a bit unsure it is worth doing it. It took me … Continue reading Cannot Connect to App Store after Upgrade to Mojave (10.14.5)
A wrong way of using Vault
We recently had a Vault issue. It is Vault with HA, the data store is Consul. One day the Consul cluster went offline, and we noticed there are a few OOM errors in the logs. The servers have been running fine and no stress on the memory utilisation for quite a while. There must be a … Continue reading A wrong way of using Vault