Skip to content

Cyclic dependency created between torch 2.0 and triton #99622

@ashishu007

Description

@ashishu007

Issue description

Installing torch 2.0 creates cyclic dependency between torch and triton. However, earlier torch versions (1.x) work fine.

Code example

$ python -m pipdeptree

Warning!! Cyclic dependencies found:
* triton => torch => triton
* torch => triton => torch
------------------------------------------------------------------------
pip==23.0.1
pipdeptree==2.3.3

System Info

  • PyTorch or Caffe2: PyTorch
  • How you installed PyTorch (conda, pip, from source): pip
  • OS: Linux
  • PyTorch version: 2.0.0
  • Python version: 3.10.10
  • Versions of any other relevant libraries: triton==2.0.0

cc @ezyang @soumith @msaroufim @wconstab @ngimel @bdhirsh @voznesenskym @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @desertfire

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: inductoroncall: pt2triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions