Make nova recognize amx-capabilities
Expands the CPU_TRAITS_MAPPING table to let nova report if a compute-node supports AMX. This enables nova to pick the correct cpu_model when a SapphireRapids (or newer) cpu is wanted by the flavor. Implements: blueprint add-amx-traits Change-Id: Ieaa2e1be9d3d3ae945ce28d778edc9729d2db9ba Signed-off-by: Eigil Obrestad <eigil-git@obrestad.org> Depends-On: https://review.opendev.org/c/openstack/requirements/+/976640
This commit is contained in:
@@ -62,6 +62,9 @@ CPU_TRAITS_MAPPING = {
|
||||
'3dnow': os_traits.HW_CPU_X86_3DNOW,
|
||||
'abm': os_traits.HW_CPU_X86_ABM,
|
||||
'aes': os_traits.HW_CPU_X86_AESNI,
|
||||
'amx-bf16': os_traits.HW_CPU_X86_AMXBF16,
|
||||
'amx-int8': os_traits.HW_CPU_X86_AMXINT8,
|
||||
'amx-tile': os_traits.HW_CPU_X86_AMXTILE,
|
||||
'avx': os_traits.HW_CPU_X86_AVX,
|
||||
'avx2': os_traits.HW_CPU_X86_AVX2,
|
||||
'avx512bw': os_traits.HW_CPU_X86_AVX512BW,
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ psutil>=3.2.2 # BSD
|
||||
oslo.versionedobjects>=1.35.0 # Apache-2.0
|
||||
os-brick>=6.10.0 # Apache-2.0
|
||||
os-resource-classes>=1.1.0 # Apache-2.0
|
||||
os-traits>=3.5.0 # Apache-2.0
|
||||
os-traits>=3.6.0 # Apache-2.0
|
||||
os-vif>=3.1.0 # Apache-2.0
|
||||
castellan>=0.16.0 # Apache-2.0
|
||||
microversion-parse>=0.2.1 # Apache-2.0
|
||||
|
||||
Reference in New Issue
Block a user