The invention discloses an AI
large model optimization method and
system,
terminal equipment and a storage medium, and the method comprises the steps: carrying out the prediction of the real-time load data of each sub-model through a resource prediction model, predicting the resource demands of each sub-model in a period of time in the future, and determining a
resource distribution strategy, real-time user behavior data is predicted through a behavior prediction model, a sub-model request prediction result is generated, a pre-loading strategy is determined for the sub-model request prediction result through a
cache consistency protocol and a cache strategy, and finally
resource allocation is dynamically and reasonably adjusted by using a
resource allocation strategy, so that the loss of computing resources is reduced, and the computing efficiency is improved. According to the method, the AI
large model is established, the sub-models of the AI
large model are pre-loaded according to the pre-loading strategy, the model loading time is shortened, the response speed and
throughput of the sub-models in the AI large model are improved, and the problem that at present, due to the fact that many sub-models are slow in response speed and low in
throughput rate, the user experience is poor is solved.