mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[PR #176] [MERGED] use pkg_resources for PyTorch version comparison #467
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#467
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/openai/CLIP/pull/176
Author: @jiahuei
Created: 11/9/2021
Status: ✅ Merged
Merged: 11/9/2021
Merged by: @jongwook
Base:
main← Head:pytorch-version-patch📝 Commits (1)
8dcf65dusepkg_resourcesfor PyTorch version comparison📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
clip/clip.py(+2 -1)📄 Description
Use
pkg_resourcesfromsetuptoolsto parse version strings, it is required by Pytorch >= 0.4.1 anyway.Compatible with
TorchVersion.Examples:
1.9.0a0+2ecb2c71.10.0.dev20210803+cu1111.10.0+cu111🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.