Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Are the CPUs of the second-generation servers in cloud run is all Intel(R) Xeon(R)?

Are the CPUs of the second-generation servers in cloud run is all Intel(R) Xeon(R)?

I wrote an application that compresses images into avif, using avx512f, built with cloud build

I found that the cpu of cloud build is AMD EPYC 7B12, which doesn't affect anything.

But the cpu of cloud run is Intel(R) Xeon(R).

I just want to confirm, are all the CPUs for cloud run Intel(R) Xeon(R)?

Because AMD's cpu does not support avx512f, an error will be reported when running my program.

1 1 1,664
1 REPLY 1

Hello @aiart,

Welcome to Google Cloud Community!

Based on this documentation on container instance resource:

All CPU platforms used by Cloud Run support the AVX2 instruction set. Note that the container contract does not contain any additional CPU platform details.

By default, Google Cloud Run supports Advanced Vector Extensions 2 (AVX2), also known as Haswell New Instructions, is an expansion of the AVX instruction set introduced in Intel's Haswell microarchitecture.

If you want to use AVX-512F, you may want to create a virtual machine to specify a minimum CPU platform.

In addition, you may also check the following documentation for your reference to select the right CPU for your requirements: