Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed Oct 31, 2023
1 parent aa0fada commit b11326c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ def raft_ivf_pq_search_validator(params, build_params, k, batch_size):
if "internalDistanceDtype" in params and "smemLutDtype" in params:
ret = (
DTYPE_SIZES[params["smemLutDtype"]]
< DTYPE_SIZES[params["internalDistanceDtype"]]
>= DTYPE_SIZES[params["internalDistanceDtype"]]
)

if "nlist" in build_params and "nprobe" in params:
ret = build_params["nlist"] <= params["nprobe"]
ret = build_params["nlist"] >= params["nprobe"]
return ret


Expand Down

0 comments on commit b11326c

Please sign in to comment.