mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
Update server/text_generation_server/models/custom_modeling/idefics_modeling.py
This commit is contained in:
parent
0eea83be44
commit
6353a87f4c
@ -432,6 +432,8 @@ class IdeficsRMSNorm(nn.Module):
|
|||||||
out = out.view(*shape)
|
out = out.view(*shape)
|
||||||
|
|
||||||
return out
|
return out
|
||||||
|
else:
|
||||||
|
raise ValueError("Your system seem to be not supported. Please check your install or open an issue at https://github.com/huggingface/text-generation-inference/issues with a clear reproduction.")
|
||||||
|
|
||||||
|
|
||||||
# this was adapted from LlamaMLP
|
# this was adapted from LlamaMLP
|
||||||
|
Loading…
Reference in New Issue
Block a user