question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] No matching distribution found for triton==1.0.0

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

$ git clone https://github.com/microsoft/DeepSpeed
$ cd DeepSpeed
$ DS_BUILD_CPU_ADAM=1 DS_BUILD_UTILS=1 pip install -e . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
[...]
ERROR: Could not find a version that satisfies the requirement triton==1.0.0 (from deepspeed) (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0)
ERROR: No matching distribution found for triton==1.0.0

Once I manually do:

pip install triton==1.0.0

it then works.

Not sure why the manual build doesn’t take care of figuring out the requirements.

@jeffra

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
aphedgescommented, Feb 2, 2022

I don’t know what to do instead. From a very short search, the best I can find is https://discuss.python.org/t/the-difference-between-python-setup-py-build-ext-i-and-pip-install-e/3716/12 and https://github.com/pypa/setuptools/issues/3025. At least the deprecation period should be long enough for a replacement to be made.

I was unaware of those details of Ninja. I haven’t written any CUDA code myself, so I’ve mostly managed to avoid learning the details of CUDA build systems. Good to know about its performance, though.

1reaction
jeffracommented, Feb 1, 2022

Super interesting, thanks @aphedges and @stas00 for context here.

@stas00, from a Big Science perspective I think this latest PR #1727 should resolve the issue for you guys. We also were running into this strange triton install issue on one of our nodes internally. Due to your issue and ours we reverted Sparse Attention (which requires triton) to be manually added add install time. Since Big Science isn’t even using Sparse Attention you shouldn’t need to install triton anyway.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "No matching distribution found for {package name ...
Based on this article you can pull your package from test.pypi.org, but the dependencies from pypi.org, which should solve your problem.
Read more >
No matching distribution found for pkg-resources==0.0.0
When someone used pip freeze > requirements.txt to write the pip freeze's output requirements to a file, a bug of that library leads...
Read more >
Triton 1/2 in. Drive 6-1/8 x 10-1/4 in. Red Socket Caddy with ...
Buy Triton 1/2 in. Drive 6-1/8 x 10-1/4 in. Red Socket Caddy with 28 Interchangeable Pegs, Polymer Base, 72423 at Tractor Supply Co....
Read more >
No matching distribution found for wrapt==1...” : Bugs : neutron
It seems that it is serious problem currently. It causes failures of many pep8 and UT jobs.
Read more >
Open On-Chip Debugger: OpenOCD User's Guide
The OpenOCD Bug Tracker is hosted on SourceForge: ... Seeing that "tap/device found" message, and no warnings, means the JTAG communication is working....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found