Open qiufengyuyi opened 8 months ago
我使用demo也遇到了同样的情况
I have met with the same problem with device_map='auto'
on 3 Nvidia RTX4090. It seems that the output has nothing to do with the input image. I wonder if there is something wrong with the inference code. By the way, it outputs different results even if I use the same image and prompts as input.
Encountered the same problem
me too
warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta '
/mnt/sdc/soft/anaconda3/envs/vary/lib/python3.10/site-packages/torch/nn/modules/module.py:2047: UserWarning: for vision_model.encoder.layers.23.layer_norm2.weight: copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass `assign=True` to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?)
warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta '
/mnt/sdc/soft/anaconda3/envs/vary/lib/python3.10/site-packages/torch/nn/modules/module.py:2047: UserWarning: for vision_model.encoder.layers.23.layer_norm2.bias: copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass `assign=True` to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?)
warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta '
/mnt/sdc/soft/anaconda3/envs/vary/lib/python3.10/site-packages/torch/nn/modules/module.py:2047: UserWarning: for vision_model.post_layernorm.weight: copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass `assign=True` to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?)
warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta '
/mnt/sdc/soft/anaconda3/envs/vary/lib/python3.10/site-packages/torch/nn/modules/module.py:2047: UserWarning: for vision_model.post_layernorm.bias: copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass `assign=True` to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?)
warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta '
已杀死
i deploy the model using A100 , with
it always generate duplicate content, i have used different generation config ,but it did not help. by the way ,when i use the following code to load model:
i get the following warning:
is there any problem with this warning?