-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD Triron doc #534
base: master
Are you sure you want to change the base?
ADD Triron doc #534
Conversation
Paddle Inference支持 `PaddleMix Triton`自定义算子使用方法如下: | ||
* 步骤1. 用户需要下载`PaddleMIX`库 | ||
```bash | ||
git clone https://github.com/PaddlePaddle/PaddleMIX.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export PYTHONPATH=/path/to/PaddleMIX/:$PYTHONPATH
paddle_triton.md
Outdated
## 3. Paddle Inference 使用`PaddleMixTriton`自定义算子示例 | ||
使用Triton算子优化后代码: | ||
```py | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import os
os.sys.path.append(["/path/to/PaddleMIX"])
|
||
## Q&A | ||
* `triton Error [CUDA]: device kernel image is invalid\no exit` | ||
使用Triton过程中,如果遇到上述问题,请参考如下解决方案: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用户triton中的ptxas准确位置,可以用这个命令去找find /your_triton_package_path -name ptxas
No description provided.