Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile-M1 #7720

Merged
merged 5 commits into from
May 13, 2022
Merged

Add Dockerfile-M1 #7720

merged 5 commits into from
May 13, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 7, 2022

Per https://stackoverflow.com/questions/69054921/docker-on-mac-m1-gives-the-requested-images-platform-linux-amd64-does-not-m

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Support for Apple M1 and other ARM architectures in YOLOv5 via a new Docker image 🍏💻🐳

📊 Key Changes

  • 🆕 Created a new Dockerfile-M1 tailored for aarch64 architecture ARM-based systems like the Apple M1 chips, Jetson Nano, and Raspberry Pi.
  • 🐧 Based on the arm64v8/ubuntu:20.04 Ubuntu Docker image to ensure compatibility with ARM processors.
  • ⚙️ Provides installation of key Linux packages and Python dependencies required for YOLOv5.
  • 📦 Includes instructions for building and pushing the Docker image, as well as pulling and running it.

🎯 Purpose & Impact

  • 🚀 Enables developers and researchers using Apple M1 machines or other ARM-based devices to deploy YOLOv5 smoothly, bridging the gap in AI development across different architectures.
  • 🌐 Facilitates cross-platform operability, making deep learning more accessible and user-friendly on popular ARM devices.

@glenn-jocher glenn-jocher merged commit 5e077bf into master May 13, 2022
@glenn-jocher glenn-jocher deleted the docker-m1 branch May 13, 2022 12:15
@glenn-jocher glenn-jocher self-assigned this May 13, 2022
tdhooghe pushed a commit to tdhooghe/yolov5 that referenced this pull request Jun 10, 2022
* Add Dockerfile-M1

* Update

* Update

* Update Dockerfile-M1
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
* Add Dockerfile-M1

* Update

* Update

* Update Dockerfile-M1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant