You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "", line 1, in
File "/data/SSD1/My/anaconda3/envs/ov/lib/python3.8/site-packages/tensor_parallel/pretrained_model.py", line 47, in init
super().init(module.config) # Temporary empty config. Gets replaced in from_pretrained
File "/data/SSD1/My/anaconda3/envs/ov/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'Blip2OPT' object has no attribute 'config'
So how can I use tnsor_parallel for a model that not belongs to meta model? Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I try to set Blip2OPT to multiple GPUs as follows, but there is an error:
Traceback (most recent call last):
File "", line 1, in
File "/data/SSD1/My/anaconda3/envs/ov/lib/python3.8/site-packages/tensor_parallel/pretrained_model.py", line 47, in init
super().init(module.config) # Temporary empty config. Gets replaced in from_pretrained
File "/data/SSD1/My/anaconda3/envs/ov/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'Blip2OPT' object has no attribute 'config'
So how can I use
tnsor_parallel
for a model that not belongs tometa model
? Thanks!The text was updated successfully, but these errors were encountered: