Skip to content

Commit

Permalink
Apparently CI also don't have matching arch
Browse files Browse the repository at this point in the history
  • Loading branch information
olethanh committed Apr 30, 2024
1 parent f913398 commit 6e84b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aleph/vm/orchestrator/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def get_machine_properties() -> MachineProperties:
cpu_info = cpuinfo.get_cpu_info() # Slow
return MachineProperties(
cpu=CpuProperties(
architecture=cpu_info["raw_arch_string"],
vendor=cpu_info["vendor_id"],
architecture=cpu_info.get("raw_arch_string", cpu_info.get("arch_string_raw")),
vendor=cpu_info.get("vendor_id", cpu_info.get("vendor_id_raw")),
),
)

Expand Down

0 comments on commit 6e84b26

Please sign in to comment.