runtime error
?it/s] Traceback (most recent call last): File "/home/user/app/app.py", line 45, in <module> ci = Interrogator(config) File "/home/user/app/clip-interrogator/clip_interrogator/clip_interrogator.py", line 70, in __init__ self.load_clip_model() File "/home/user/app/clip-interrogator/clip_interrogator/clip_interrogator.py", line 105, in load_clip_model self.artists = LabelTable(artists, "artists", self.clip_model, self.tokenize, config) File "/home/user/app/clip-interrogator/clip_interrogator/clip_interrogator.py", line 265, in __init__ text_features = clip_model.encode_text(text_tokens) File "/home/user/.local/lib/python3.10/site-packages/open_clip/model.py", line 235, in encode_text x = self.transformer(x, attn_mask=self.attn_mask) File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/open_clip/transformer.py", line 321, in forward x = r(x, attn_mask=attn_mask) File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/open_clip/transformer.py", line 242, in forward x = q_x + self.ls_1(self.attention(q_x=self.ln_1(q_x), k_x=k_x, v_x=v_x, attn_mask=attn_mask)) File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/open_clip/transformer.py", line 18, in forward x = F.layer_norm(x.to(torch.float32), self.normalized_shape, self.weight, self.bias, self.eps) File "/home/user/.local/lib/python3.10/site-packages/torch/nn/functional.py", line 2515, in layer_norm return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled) RuntimeError: mixed dtype (CPU): expect parameter to have scalar type of Float
Container logs:
Fetching error logs...