From 77b6aa22d73298222463312b4f364971e64d5df1 Mon Sep 17 00:00:00 2001 From: lucidrains Date: Sat, 30 Mar 2024 10:10:57 -0700 Subject: [PATCH] update triton warning message --- lion_pytorch/triton.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lion_pytorch/triton.py b/lion_pytorch/triton.py index 40e4221..1dd4696 100644 --- a/lion_pytorch/triton.py +++ b/lion_pytorch/triton.py @@ -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 diff --git a/setup.py b/setup.py index ee9ddb1..25a23d8 100644 --- a/setup.py +++ b/setup.py @@ -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',