Skip to content

Commit

Permalink
update triton warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Mar 30, 2024
1 parent 85b985a commit 77b6aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lion_pytorch/triton.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import triton
import triton.language as tl
except ImportError as e:
print('triton is not installed, please install by running `pip install triton -U --pre`')
print('triton is not installed, please install by running `pip install triton>=2.2.0`')
exit()

# triton cuda kernel
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'lion-pytorch',
packages = find_packages(exclude=[]),
version = '0.1.2',
version = '0.1.4',
license='MIT',
description = 'Lion Optimizer - Pytorch',
author = 'Phil Wang',
Expand Down

0 comments on commit 77b6aa2

Please sign in to comment.