FATE icon indicating copy to clipboard operation
FATE copied to clipboard

Install of FATE from PyPI fails: dependency issue with "nvidia_cusparse_cu12"

Open dreibh opened this issue 1 year ago • 2 comments

Describe the bug Install of FATE from PyPI (recommended procedure), as described at https://github.com/FederatedAI/FATE/tree/master/deploy/standalone-deploy, fails during "pip install fate_client[fate,fate_flow]==2.2.0": ... ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. unknown package: Expected sha256 f3b50f42cf363f86ab21f720998517a659a48131e8d538dc02f8768237bd884c Got fd1050f014503d2f50c5e6ed34dbfc2aac78270c735f462553080038fae54415

The expected hash "f3b50f42cf363f86ab21f720998517a659a48131e8d538dc02f8768237bd884c" seems to belong to "nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl". It seems this dependency is somewhere defined in the FATE files. It seems there this package "nvidia_cusparse_cu12" has been updated, but the FATE dependencies require an old version which is now uninstallable. Trying to install the later versions of "nvidia_cusparse_cu12" works, but FATE is not installing with them: $ pip install nvidia_cusparse_cu12 Requirement already satisfied: nvidia_cusparse_cu12 in ./.conda/envs/fate_env/lib/python3.10/site-packages (12.5.2.23) Requirement already satisfied: nvidia-nvjitlink-cu12 in ./.conda/envs/fate_env/lib/python3.10/site-packages (from nvidia_cusparse_cu12) (12.6.20) $ pip install pip install fate_client[fate,fate_flow]==2.2.0 nvidia_cusparse_cu12==12.5.2.23 Requirement already satisfied: pip in ./.conda/envs/fate_env/lib/python3.10/site-packages (24.2) ERROR: Could not find a version that satisfies the requirement install (from versions: none) ERROR: No matching distribution found for install

To Reproduce Steps to reproduce the behavior:

  1. conda create -n fate_env python=3.10
  2. conda activate fate_env
  3. pip install fate_client[fate,fate_flow]==2.2.0

Expected behavior "pip" should install FATE.

Desktop (please complete the following information):

  • Fedora 40

dreibh avatar Aug 19 '24 20:08 dreibh