Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuan0322 committed Oct 11, 2023
1 parent 6440c8f commit 0621a9a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,8 @@ def run(self):
class BuildGLTorchExt(torch.utils.cpp_extension.BuildExtension if torch else build_ext):
def run(self):
if torch is None:
print(
"Building graphlearn-torch extension requires installing pytorch first. Let WITH_GLTORCH=OFF if you don't need it."
)
print("Building graphlearn-torch extension requires pytorch")
print("Set WITH_GLTORCH=OFF if you don't need it.")
return
self.extensions = [
ext
Expand Down

0 comments on commit 0621a9a

Please sign in to comment.