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

Trouble Shooting #548

Closed
Ying1123 opened this issue Jun 14, 2024 · 1 comment · Fixed by #720
Closed

Trouble Shooting #548

Ying1123 opened this issue Jun 14, 2024 · 1 comment · Fixed by #720

Comments

@Ying1123
Copy link
Member

Ying1123 commented Jun 14, 2024

  • Triton Kernel Fix:
    If you see No such file or directory: '/root/.triton/cache/e3457c918521f16104a655b081235e5a.....
    (issue caused by pytorch dependency of triton==2.3.0)
    1. You can fix it by hacking the file compiler.py
    vim /usr/local/lib/python3.10/dist-packages/triton/compiler/compiler.py
    
    L230
    
    self.asm = {
      file.suffix[1:]: file.read_bytes() if file.suffix[1:] == driver.binary_ext else None
    
    1. Or you can uninstall triton and reinstall the triton nightly
    pip uninstall -y triton triton-nightly
    pip install -U --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/Triton-Nightly/pypi/simple/ triton-nightly
    
@Ying1123 Ying1123 pinned this issue Jun 14, 2024
@merrymercy merrymercy unpinned this issue Jul 17, 2024
@hnyls2002
Copy link
Collaborator

hnyls2002 commented Jul 25, 2024

It is related to triton-lang/triton#2688. And there are some attempts to fix it. triton-lang/triton#3544 has been merged into triton==2.3.1 but bugs still remain. The latest triton-lang/triton#4295 seems to have solved it.

While waiting for triton==3.0.0 to apply this fix, I will try to fix it like vllm-project/vllm#6140 temporarily.

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 a pull request may close this issue.

2 participants