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

Features: DEV-3305 Migrate to Poetry, Python 3.9, PyTorch 1.12 #22

Merged
merged 12 commits into from
Sep 15, 2022

Conversation

Mindstan
Copy link
Member

@Mindstan Mindstan commented Sep 2, 2022

Résumé

Remplace setuptools / pip / twine par poetry pour gérer le paquet YOLOv5, un outil moderne de gestion de paquets et de dépendances Python. Les paquets construits avec Poetry restent compatibles avec PyPI et PIP >= 21.

Les fichiers de poids (tracés ou non) créés avec PyTorch 1.8 sont compatibles avec cette version de YOLO (mais l’inverse est très probablement impossible).

Changements majeurs

  • La configuration du paquet est maintenant géré par Poetry ;
  • La version de Python requise est maintenant 3.9 ;
  • PyTorch a été mis-à-jour vers 1.12

Changements mineurs

  • Correction de bugs de conversion de tenseurs float32 vers int8 qui ne peuvent plus se faire implicitement.

@Mindstan Mindstan added the enhancement New feature or request label Sep 2, 2022
@Mindstan Mindstan self-assigned this Sep 2, 2022
@Mindstan Mindstan changed the title Use poetry Features: DEV-3305 Migrate to Poetry, Python 3.9, PyTorch 1.12 Sep 13, 2022
@Mindstan Mindstan marked this pull request as ready for review September 13, 2022 14:53
README.md Show resolved Hide resolved
@Mindstan Mindstan merged commit d9f1cd8 into master Sep 15, 2022
@Mindstan Mindstan deleted the features/DEV-3305_petry_py39_torch112 branch September 15, 2022 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants