Those are not supported yet in HF: so just compared with a precomputed norm. Note: in the initial PR [1] the Refiners' implementation has been tested against the official code using Torch Hub. [1]: https://github.com/finegrain-ai/refiners/pull/132#issuecomment-1852021656
To be completed with tests using image preprocessing, e.g. test cosine similarity on a relevant pair of images