With the development of computer and cloud computing related technologies, cloud products play a more important role in the economic and cultural activities of enterprises, organizations and individuals. In recent years, numerous cloud service providers have emerged globally to offer cloud products to consumers. Cloud infrastructure is the physical computers that cloud service providers rely on in order to provide cloud products, and cloud infrastructure provides resources such as CPU, GPU, memory, hard disk, and network for cloud products. It can be said that cloud infrastructure is a particularly important aspect of cloud computing. When cloud service providers manage the supply chain of cloud infrastructure, they often have too much or too little inventory, which results in a waste of resources or a failure to meet user demand. Therefore, how to accurately predict the inventory demand of cloud infrastructure supply chain has become a problem that cloud service providers need to solve. In this paper, we propose a GA-LightGBM model for predicting the inventory demand of cloud infrastructure supply chain by comparing multiple models. In this paper, GA-LightGBM is experimentally verified and analyzed with the control model, and it is found that the average RMSE of GA-LightGBM is 358.8792, which is significantly higher than that of each model in the control group; in the process of multiple training and validation, the range of the RMSE and the standard deviation of the RMSE of GA-LightGBM are significantly smaller than that of each model in the control group. It can be seen that the GA-LightGBM model has higher prediction accuracy and stability than the models in the control group. It is recommended that cloud service providers adopt this model to optimize the management of cloud infrastructure supply chain inventory demand forecasting, so as to improve enterprise benefits. The GA-LightGBM model proposed in this paper will also complement research in related areas.