tencent-ailab / V-Express

V-Express aims to generate a talking head video under the control of a reference image, an audio, and a sequence of V-Kps images.
2.2k stars 277 forks source link

xformers is not available #15

Closed O-O1024 closed 4 months ago

O-O1024 commented 4 months ago

提示xformers不可用,pip install xformers,然后cuda全家桶安装一遍,最后提示类似内存格式错误的信息。 下面是没安装xformers前提示的错误:

Cannot initialize model with low cpu memory usage because accelerate was not found in the environment. Defaulting to low_cpu_mem_usage=False. It is strongly recommended to install accelerate for faster and less memory-intense model loading. You can do so with:

pip install accelerate

Some weights of the model checkpoint at ./model_ckpts/wav2vec2-base-960h/ were not used when initializing Wav2Vec2Model: ['lm_head.bias', 'lm_head.weight']

faraday commented 4 months ago

see https://github.com/tencent-ailab/V-Express/issues/7

faraday commented 4 months ago

pip install xformers==0.0.20

O-O1024 commented 4 months ago

pip install xformers==0.0.20

Thank you for your good solution!