Skip to content

Add torch==1.7.0 to CI tests#8916

Merged
glenn-jocher merged 23 commits intomasterfrom
ci/torch_170
Aug 9, 2022
Merged

Add torch==1.7.0 to CI tests#8916
glenn-jocher merged 23 commits intomasterfrom
ci/torch_170

Conversation

@glenn-jocher
Copy link
Copy Markdown
Member

@glenn-jocher glenn-jocher commented Aug 9, 2022

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Enhancement of CI testing to ensure compatibility with older Python and PyTorch versions.

📊 Key Changes

  • Added a CI test case for Ubuntu with Python 3.8 and PyTorch 1.7.0.
  • Conditional requirements installation based on the specified PyTorch version.
  • Moved python --version, pip --version, and pip list commands to a later step in the workflow.

🎯 Purpose & Impact

  • Ensures backward compatibility: By testing against older Python and PyTorch versions, Ultralytics ensures that YOLOv5 remains compatible with environments that have not upgraded to the latest versions.
  • Reduces potential issues for users: Users on legacy systems will appreciate continued support, minimizing disruption and the need for upgrades.
  • Maintains robust testing: By adjusting CI workflows, the project continues to maintain high-quality standards through automated testing.

@glenn-jocher glenn-jocher self-assigned this Aug 9, 2022
@glenn-jocher glenn-jocher merged commit e242ede into master Aug 9, 2022
@glenn-jocher glenn-jocher deleted the ci/torch_170 branch August 9, 2022 21:46
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
* Add torch==1.7.0 to CI tests

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Attempt crash on 1.7.0

* revert crash

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml

* Update ci-testing.yml
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