We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9cefbb7 + 1638afb commit 642e8f9Copy full SHA for 642e8f9
ads/opctl/utils.py
@@ -154,7 +154,7 @@ def build_image(image_type: str, gpu: bool = False) -> None:
154
# Just get the manufacturer of the processors
155
manufacturer = cpuinfo.get_cpu_info().get("brand_raw")
156
arch = (
157
- "arm" if re.search("apple m\d ", manufacturer, re.IGNORECASE) else "other"
+ "arm" if re.search("apple m\d", manufacturer, re.IGNORECASE) else "other"
158
)
159
print(f"The local machine's platform is {arch}.")
160
image, dockerfile, target = _get_image_name_dockerfile_target(
0 commit comments