FMInference / FlexLLMGen

Running large language models on a single GPU for throughput-oriented scenarios.
Apache License 2.0
9.18k stars 548 forks source link

File "setup.py" not found. #137

Open Learn2006 opened 6 months ago

Learn2006 commented 6 months ago

I try to install flexgen in editable mode, but failed to find setup.py files

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /workspace/FlexGen (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)

jasonsi1993 commented 5 months ago

Having the same issue now. Any solutions regarding this issue?

ukulililixl commented 5 months ago

The same issue. Has anyone successfully verified this work?

PanJason commented 4 months ago

Basically, the version of pip is not high enough. For more you can refer to this link https://stackoverflow.com/a/69711730/13840994 You can use pip install --upgrade pip to upgrade pip to the newest version. At least on my side, after I upgraded pip from 20.0.2 to 24.0, the issue was resolved