Skip to content

Commit

Permalink
fix version comparison (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed Aug 23, 2021
1 parent 476610e commit 030771d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion light_the_torch/_pip/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def _sort_key(
cb.ComputationBackend.from_str(
candidate.version.local.replace("any", "cpu")
),
candidate.version.base_version,
candidate.version,
)

def get_applicable_candidates(
Expand Down

0 comments on commit 030771d

Please sign in to comment.