A method for loading accelerator image, wherein the method is applied to an accelerator image loading apparatus, and comprises: obtaining an acceleration requirement, wherein the acceleration requirement comprises an acceleration function of a to-be-created virtual machine and acceleration performance of the to-be-created virtual machine; determining an image that meets the acceleration function and the acceleration performance; determining a target host in which an available accelerator that can load the image is located; and sending an image loading command to the target host, wherein the image loading command comprises a descriptor of the image and an identifier of the available accelerator, and the image loading command is used to enable the target host to load the image for the available accelerator based on the image loading command; wherein the determining an image that meets the acceleration function and the acceleration performance comprises: searching an accelerator image repository based on the acceleration function and the acceleration performance to determine the image that meets the acceleration requirement, and obtaining a descriptor of the image, wherein the descriptor of the image is at least one of an identifier of the image and a location of the image; and the accelerator image repository is configured to store an image and image information, wherein image information of each image comprises an descriptor of the image, an acceleration function that can be provided by the image, and acceleration performance that can be provided by the image. obtaining an acceleration requirement, wherein the acceleration requirement comprises an acceleration function of a to-be-created virtual machine and acceleration performance of the to-be-created virtual machine; determining an image that meets the acceleration function and the acceleration performance; determining a target host in which an available accelerator that can load the image is located; and sending an image loading command to the target host, wherein the image loading command comprises a descriptor of the image and an identifier of the available accelerator, and the image loading command is used to enable the target host to load the image for the available accelerator based on the image loading command; wherein the determining an image that meets the acceleration function and the acceleration performance comprises: searching an accelerator image repository based on the acceleration function and the acceleration performance to determine the image that meets the acceleration requirement, and obtaining a descriptor of the image, wherein the descriptor of the image is at least one of an identifier of the image and a location of the image; and the accelerator image repository is configured to store an image and image information, wherein image information of each image comprises an descriptor of the image, an acceleration function that can be provided by the image, and acceleration performance that can be provided by the image. searching an accelerator image repository based on the acceleration function and the acceleration performance to determine the image that meets the acceleration requirement, and obtaining a descriptor of the image, wherein the descriptor of the image is at least one of an identifier of the image and a location of the image; and the accelerator image repository is configured to store an image and image information, wherein image information of each image comprises an descriptor of the image, an acceleration function that can be provided by the image, and acceleration performance that can be provided by the image.