llm_rlhf icon indicating copy to clipboard operation
llm_rlhf copied to clipboard

conflicting dependencies

Open magnificent1208 opened this issue 2 years ago • 1 comments

Requirement already satisfied: py-cpuinfo in /home/liuhaiying/anaconda3/envs/ss/lib/python3.10/site-packages (from deepspeed->-r requirements.txt (line 3)) (9.0.0) Requirement already satisfied: pydantic<2.0.0 in /home/liuhaiying/anaconda3/envs/ss/lib/python3.10/site-packages (from deepspeed->-r requirements.txt (line 3)) (1.10.7) Requirement already satisfied: torch in /home/liuhaiying/anaconda3/envs/ss/lib/python3.10/site-packages (from deepspeed->-r requirements.txt (line 3)) (2.0.1) INFO: pip is looking at multiple versions of aigc-zoo to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install -r requirements.txt (line 7) and deep_training<0.1.12 and >=0.1.11 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested deep_training<0.1.12 and >=0.1.11 aigc-zoo 0.2.0.post1 depends on deep_training~=0.2.0.post0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip

magnificent1208 avatar Aug 28 '23 08:08 magnificent1208

https://github.com/ssbuild/llm_rlhf/blob/e7e3de1409d62a8cde87bd24042ad47f7f32e35f/requirements.txt#L6 current requirements.txt aigc and deep_training >=0.2.0.post0 , not deep_training<0.1.12 and >=0.1.11 check you requirements.txt

ssbuild avatar Aug 28 '23 08:08 ssbuild