Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

chang-wenbin
Copy link
Contributor

No description provided.

Paddle Inference支持 `PaddleMix Triton`自定义算子使用方法如下:
* 步骤1. 用户需要下载`PaddleMIX`库
```bash
git clone https://github.com/PaddlePaddle/PaddleMIX.git
Copy link
Contributor

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

Copy link
Contributor

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过程中,如果遇到上述问题,请参考如下解决方案:
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants