# What does this PR do?

Add float16 support to mask2former module and derivatives
Some operations and conversions were fixed in order to propagate the chosen user _dtype_ (ex: float32, float16) for input and embeddings. In this way, we can pass in fp16 tensors for inference.

## Who can review?

Similar PRs were reviewed by: @alaradirik, @amyeroberts, @LysandreJik

Add mask2former fp16 support. # What does this PR do?

Add float16 support to mask2former module and derivatives
Some operations and conversions were fixed in order to propagate the chosen user _dtype_ (ex: float32, float16) for input and embeddings. In this way, we can pass in fp16 tensors for inference.

## Who can review?

Similar PRs were reviewed by: @alaradirik, @amyeroberts, @LysandreJik

x+)JMU0471`040031Q,+dx6M9{wk+qIOD PHJKM,fX~Hڿ&M)pj))I-*)J+N/M-b8[ٹ͜?TSڽDmJjjAqAjj
Ù˗}:!\`w@ԤV}8?;BOfQYQRZZ~MGZH8aĻ&ns{|91ԼԢĒ<=9/n[߮Ɏfyb3 rSRsמ_nBIa
*9Ot0~:voei%.IMZ%ٶ`ӫKh(D;Afd&\ڵC}Klk),M+#Elv(@QjA~|iI&ӓrp5[px-!f'&f#6}<I/IuWnM+%%IIyyt취v2Ӝks]{>h"T@ʋ.hrs.q7RH!Y$eW[T7l7uV1:bSM;#]0^54RA(ފAINŜ-WT^:hyhlBzz3s_PZ\d}
~ryM<j[j❍/1:ṴB~dp|ܘNnsSSp?E	^uLmr9#kII@XJY{?斛n}p_=bjuÇv׿ߚYy>4$^nxdiLVSƥnݴ99u㊜@M!Ab/1M0΅lM4/fVd3^y';/ڲp߽A;2uKxiŷO.Ťz3j㶷3"R-Bev¦m}၇&LP*r('6'<8`wj@qӱd[ֵ>H	%qT𩟍yם	=zIjLQ"+bHh6c{M@K܍Me^i
>@T`ng'FU[~>f@
x+)JMU0471`040031Q,+dx6M9{wk+qIOD PHJKM,fX~Hڿ&M)pj))I-*)J+N/M-b8[ٹ͜?TSڽDmJjjAqAjj
Ù˗}:!\`w@ԤV}8?;BOfQYQRZZ~MGZH8aĻ&ns{|91ԼԢĒ<=9/n[߮Ɏfyb3 rSRsמ_nBI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