kubeflow / katib

Automated Machine Learning on Kubernetes
https://www.kubeflow.org/docs/components/katib
Apache License 2.0
1.45k stars 425 forks source link

Fix apple silicon rosetta error when building images from the source code #2342

Closed helenxie-bit closed 3 weeks ago

helenxie-bit commented 3 weeks ago

What this PR does / why we need it: When building images from the source code on an Apple Silicon machine, following the docs/developer-guide.md, I encountered the "rosetta error: bss_size overflow". This PR adds instructions to resolve this error by disabling Rosetta emulation in Docker Desktop settings.

Which issue(s) this PR fixes _(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged)_: Fixes #

Checklist:

google-oss-prow[bot] commented 3 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tenzen-y

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubeflow/katib/blob/master/OWNERS)~~ [tenzen-y] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment