Skip to content

Commit

Permalink
[Build] update requirements of no-device
Browse files Browse the repository at this point in the history
Signed-off-by: Mengqing Cao <[email protected]>
  • Loading branch information
MengqingCao committed Jan 22, 2025
1 parent 222a9dc commit 033eaad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def _read_requirements(filename: str) -> List[str]:
return resolved_requirements

if _no_device():
requirements = _read_requirements("requirements-cuda.txt")
requirements = _read_requirements("requirements-cpu.txt")
elif _is_cuda():
requirements = _read_requirements("requirements-cuda.txt")
cuda_major, cuda_minor = torch.version.cuda.split(".")
Expand Down

0 comments on commit 033eaad

Please sign in to comment.