Skip to content

Commit

Permalink
use latest triton
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Feb 16, 2023
1 parent be281c1 commit b67f8d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ opt.step()
opt.zero_grad()
```

To use a fused kernel for updating the parameters, first `pip install triton`, then
To use a fused kernel for updating the parameters, first `pip install triton -U --pre`, then

```python
opt = Lion(
Expand Down
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`')
print('triton is not installed, please install by running `pip install triton -U --pre`')
exit()

@triton.jit
Expand Down

0 comments on commit b67f8d8

Please sign in to comment.