CodeGeeX icon indicating copy to clipboard operation
CodeGeeX copied to clipboard

Dependency issue?

Open felixhao28 opened this issue 1 year ago • 2 comments

I tried to follow the installation guide but kept running into problems.

The first issue was a dependency requires Python 3.8, despite that the README specifies "Python 3.7+". So I installed Python 3.8.

Then it complains about lacking a few packages including "apex.multi_tensor_apply". I looked it up, it seems part of apex. I followed its installation guide and installed it successfully (I guess).

When I ran bash ./scripts/test_inference.sh 0 ./tests/test_prompt.txt, it complains amp_C was built for Python 3.7 instead of Python 3.8 which I was using.

I then noticed the Dockerfile. I built it but apex still seems missing but it failed to build because somehow cuda is missing.

So do you have a working container environment? And can you share it?

felixhao28 avatar Oct 18 '22 10:10 felixhao28