Skip to content

Commit 9e6b13a

Browse files
committed
Apparently CI also don't have matching arch
1 parent f913398 commit 9e6b13a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aleph/vm/orchestrator/resources.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def get_machine_properties() -> MachineProperties:
8787
cpu_info = cpuinfo.get_cpu_info() # Slow
8888
return MachineProperties(
8989
cpu=CpuProperties(
90-
architecture=cpu_info["raw_arch_string"],
91-
vendor=cpu_info["vendor_id"],
90+
architecture=cpu_info.get("raw_arch_string", cpu_info["arch_string_raw"]),
91+
vendor=cpu_info.get("vendor_id", cpu_info["vendor_id_raw"]),
9292
),
9393
)
9494

0 commit comments

Comments
 (0)