Skip to content

Build fail because of "unknown" in metadata while installation #1053

@IzhanVarsky

Description

@IzhanVarsky

Variant 1:

Collecting flashinfer-python~=0.2.3
  Using cached flashinfer_python-0.2.5.tar.gz (2.5 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package flashinfer-python produced metadata for project name unknown. Fix your #egg=flashinfer-python fragments.
Discarding https://files.pythonhosted.org/packages/b2/c4/9ec0f79e2480fc5c93307c4a1ac903e5cf33c551c0eaeb648196234b55af/flashinfer_python-0.2.5.tar.gz#sha256=990aa090ef781783e76b836696ece4efd23956f72b5696d622fc619a61162aef (from https://pypi.org/simple/flashinfer-python/) (requires-python:<4.0,>=3.8): Requested unknown from https://files.pythonhosted.org/packages/b2/c4/9ec0f79e2480fc5c93307c4a1ac903e5cf33c551c0eaeb648196234b55af/flashinfer_python-0.2.5.tar.gz#sha256=990aa090ef781783e76b836696ece4efd23956f72b5696d622fc619a61162aef (from tensorrt_llm) has inconsistent name: filename has 'flashinfer-python', but metadata has 'unknown'
  Using cached flashinfer_python-0.2.4.tar.gz (1.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package flashinfer-python produced metadata for project name unknown. Fix your #egg=flashinfer-python fragments.
Discarding https://files.pythonhosted.org/packages/a4/e5/8d193ccf65b92c009c4be50fdffa88fa0edc8fd6e6169bacaca6bab84d89/flashinfer_python-0.2.4.tar.gz#sha256=29fecd7b665dd3da8eb24e328d3aaa6e0923a99e056ba7d968f02eeaf7bc8cc8 (from https://pypi.org/simple/flashinfer-python/) (requires-python:<4.0,>=3.8): Requested unknown from https://files.pythonhosted.org/packages/a4/e5/8d193ccf65b92c009c4be50fdffa88fa0edc8fd6e6169bacaca6bab84d89/flashinfer_python-0.2.4.tar.gz#sha256=29fecd7b665dd3da8eb24e328d3aaa6e0923a99e056ba7d968f02eeaf7bc8cc8 (from tensorrt_llm) has inconsistent name: filename has 'flashinfer-python', but metadata has 'unknown'
  Using cached flashinfer_python-0.2.3.tar.gz (1.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package flashinfer-python produced metadata for project name unknown. Fix your #egg=flashinfer-python fragments.
Discarding https://files.pythonhosted.org/packages/b6/10/2a63f1d09c5b337705236005dc9ccce513dcc08b7fd037cb40426f1695b1/flashinfer_python-0.2.3.tar.gz#sha256=f6e44bb80bff6f0a80046e6b357f1a66312b7fef65b79cb525ae1ff7d37abf6a (from https://pypi.org/simple/flashinfer-python/) (requires-python:<4.0,>=3.8): Requested unknown from https://files.pythonhosted.org/packages/b6/10/2a63f1d09c5b337705236005dc9ccce513dcc08b7fd037cb40426f1695b1/flashinfer_python-0.2.3.tar.gz#sha256=f6e44bb80bff6f0a80046e6b357f1a66312b7fef65b79cb525ae1ff7d37abf6a (from tensorrt_llm) has inconsistent name: filename has 'flashinfer-python', but metadata has 'unknown'
Collecting tensorrt_llm
  Downloading tensorrt_llm-0.18.2.tar.gz (1.4 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... -done
Collecting flashinfer-python~=0.2.0
  Using cached flashinfer_python-0.2.2.post1.tar.gz (1.7 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package flashinfer-python produced metadata for project name unknown. Fix your #egg=flashinfer-python fragments.
Discarding https://files.pythonhosted.org/packages/02/cc/db9635c56653d3fa5a28f14ac858e0801de621aa33d3b528e4781aee906f/flashinfer_python-0.2.2.post1.tar.gz#sha256=a4ad2100c457e9b3e211f6b0ff7bc36d969c708b2fe90541f57ddab2c86aae6f (from https://pypi.org/simple/flashinfer-python/) (requires-python:<4.0,>=3.8): Requested unknown from https://files.pythonhosted.org/packages/02/cc/db9635c56653d3fa5a28f14ac858e0801de621aa33d3b528e4781aee906f/flashinfer_python-0.2.2.post1.tar.gz#sha256=a4ad2100c457e9b3e211f6b0ff7bc36d969c708b2fe90541f57ddab2c86aae6f (from tensorrt_llm) has inconsistent name: filename has 'flashinfer-python', but metadata has 'unknown'
  Using cached flashinfer_python-0.2.2.tar.gz (1.7 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package flashinfer-python produced metadata for project name unknown. Fix your #egg=flashinfer-python fragments.
Discarding https://files.pythonhosted.org/packages/90/00/833dd50745bc15bb7a7451b77589d444ce963d48c0cb730b4760bfebffad/flashinfer_python-0.2.2.tar.gz#sha256=0c3728351aecc04164a3bad64c069cf2bfb7da05c5cacb6e8bbd58c71abe033f (from https://pypi.org/simple/flashinfer-python/) (requires-python:<4.0,>=3.8): Requested unknown from https://files.pythonhosted.org/packages/90/00/833dd50745bc15bb7a7451b77589d444ce963d48c0cb730b4760bfebffad/flashinfer_python-0.2.2.tar.gz#sha256=0c3728351aecc04164a3bad64c069cf2bfb7da05c5cacb6e8bbd58c71abe033f (from tensorrt_llm) has inconsistent name: filename has 'flashinfer-python', but metadata has 'unknown'

and etc.

Variant 2:

root@daaa9e2bf22f:/workspace/flashinfer# pip install . -v
Using pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
Processing /workspace/gpu_benchmarks_trt_llm/TensorRT-LLM/examples/models/core/qwen/flashinfer
  Running command pip subprocess to install build dependencies
  Collecting setuptools
    Using cached setuptools-80.4.0-py3-none-any.whl (1.2 MB)
  Installing collected packages: setuptools
  ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
  tensorflow-cpu 2.13.0 requires typing-extensions<4.6.0,>=3.6.6, but you have typing-extensions 4.13.2 which is incompatible.
  Successfully installed setuptools-80.4.0
  WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  Getting requirements to build wheel ... done
  Running command Preparing metadata (pyproject.toml)
  running dist_info
  creating /tmp/pip-modern-metadata-rqaphfjj/UNKNOWN.egg-info
  writing /tmp/pip-modern-metadata-rqaphfjj/UNKNOWN.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-modern-metadata-rqaphfjj/UNKNOWN.egg-info/dependency_links.txt
  writing requirements to /tmp/pip-modern-metadata-rqaphfjj/UNKNOWN.egg-info/requires.txt
  writing top-level names to /tmp/pip-modern-metadata-rqaphfjj/UNKNOWN.egg-info/top_level.txt
  writing manifest file '/tmp/pip-modern-metadata-rqaphfjj/UNKNOWN.egg-info/SOURCES.txt'
  reading manifest file '/tmp/pip-modern-metadata-rqaphfjj/UNKNOWN.egg-info/SOURCES.txt'
  adding license file 'LICENSE'
  writing manifest file '/tmp/pip-modern-metadata-rqaphfjj/UNKNOWN.egg-info/SOURCES.txt'
  creating '/tmp/pip-modern-metadata-rqaphfjj/UNKNOWN.dist-info'
  adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from UNKNOWN==0.2.5) (1.24.3)
Collecting ninja
  Downloading ninja-1.11.1.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (422 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 422.8/422.8 KB 1.8 MB/s eta 0:00:00
Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from UNKNOWN==0.2.5) (2.1.0+cpu)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch->UNKNOWN==0.2.5) (1.13.3)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch->UNKNOWN==0.2.5) (4.13.2)
Requirement already satisfied: filelock in /usr/lib/python3/dist-packages (from torch->UNKNOWN==0.2.5) (3.6.0)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch->UNKNOWN==0.2.5) (3.1.2)
Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch->UNKNOWN==0.2.5) (3.1)
Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from torch->UNKNOWN==0.2.5) (2024.9.0)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch->UNKNOWN==0.2.5) (2.1.5)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.10/dist-packages (from sympy->torch->UNKNOWN==0.2.5) (1.3.0)
Building wheels for collected packages: UNKNOWN
  Running command Building wheel for UNKNOWN (pyproject.toml)
  running bdist_wheel
  running build
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_egg_info
  running egg_info
  creating UNKNOWN.egg-info
  writing UNKNOWN.egg-info/PKG-INFO
  writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
  writing requirements to UNKNOWN.egg-info/requires.txt
  writing top-level names to UNKNOWN.egg-info/top_level.txt
  writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
  reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
  adding license file 'LICENSE'
  writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
  Copying UNKNOWN.egg-info to build/bdist.linux-x86_64/wheel/UNKNOWN-0.2.5.egg-info
  running install_scripts
  adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
  creating build/bdist.linux-x86_64/wheel/UNKNOWN-0.2.5.dist-info/WHEEL
  creating '/tmp/pip-wheel-drutgnkv/tmpi4wvc1te/UNKNOWN-0.2.5-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  adding 'UNKNOWN-0.2.5.dist-info/LICENSE'
  adding 'UNKNOWN-0.2.5.dist-info/METADATA'
  adding 'UNKNOWN-0.2.5.dist-info/WHEEL'
  adding 'UNKNOWN-0.2.5.dist-info/top_level.txt'
  adding 'UNKNOWN-0.2.5.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Building wheel for UNKNOWN (pyproject.toml) ... done
  Created wheel for UNKNOWN: filename=UNKNOWN-0.2.5-py3-none-any.whl size=5401 sha256=bfe057eb19f9e0e4254948e462bbebe0413bd4ac2923ae83b4c5cf5fe39d58a8
  Stored in directory: /tmp/pip-ephem-wheel-cache-px544ue5/wheels/50/57/6d/fb203171967a44cdc7ffac866bcc5228d0ec8d9a0ed3896a9d
Successfully built UNKNOWN
Installing collected packages: ninja, UNKNOWN
Successfully installed UNKNOWN-0.2.5 ninja-1.11.1.4

My setup:

root@daaa9e2bf22f:/workspace# nvidia-smi
Mon May 12 06:35:11 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.133.07             Driver Version: 570.133.07     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX 6000 Ada Gene...    Off |   00000000:41:00.0 Off |                  Off |
| 73%   84C    P0            298W /  300W |   41913MiB /  49140MiB |    100%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
+-----------------------------------------------------------------------------------------+

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions