How to fix "Python Fatal Error: Invalid Instruction" when deploying llm using AML endpoint.

Dmytro Dronov 0 Reputation points
2023-07-12T16:38:37.97+00:00

I'm deploying a large language model (llm) using the llama-cpp-python library using Azure Machine Learning endpoints.

During provisioning deployment I get this error:

2023-07-12 16:13:33,906 I [1042] azmlinfsrv - Starting up app insights client
2023-07-12 16:13:35,513 I [1042] azmlinfsrv.user_script - Found user script at /var/azureml-app/230712175720-2263799543/score.py
2023-07-12 16:13:35,513 I [1042] azmlinfsrv.user_script - run() is not decorated. Server will invoke it with the input in JSON string.
2023-07-12 16:13:35,513 I [1042] azmlinfsrv.user_script - Invoking user's init function
WARNING:entry_module:LOG_LEVEL = 
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,333 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.