Skip to content

Commit 030771d

Browse files
authored
fix version comparison (#38)
1 parent 476610e commit 030771d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

light_the_torch/_pip/find.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def _sort_key(
251251
cb.ComputationBackend.from_str(
252252
candidate.version.local.replace("any", "cpu")
253253
),
254-
candidate.version.base_version,
254+
candidate.version,
255255
)
256256

257257
def get_applicable_candidates(

0 commit comments

Comments
 (0)