Skip to content

Commit

Permalink
Remove duplicate, confusing conditional in setup.py (#1748)
Browse files Browse the repository at this point in the history
let `get_extensions` handle the logic instead
  • Loading branch information
janeyx99 authored Feb 20, 2025
1 parent f6f3322 commit 0293bcd
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 @@ -312,7 +312,7 @@ def get_extensions():
package_data={
"torchao.kernel.configs": ["*.pkl"],
},
ext_modules=get_extensions() if use_cpp != "0" else None,
ext_modules=get_extensions(),
extras_require={"dev": read_requirements("dev-requirements.txt")},
description="Package for applying ao techniques to GPU models",
long_description=open("README.md").read(),
Expand Down

0 comments on commit 0293bcd

Please sign in to comment.