Closed
Description
With the xpu support landed in huggingface (use huggingface/accelerate@3b5a00e and huggingface/transformers@eed9ed6 or later), there are few aten ops not implemented in xpu which affect common huggingface tests. Please, implement:
-
tests/trainer/test_trainer.py
:-
aten::addcdiv.out
, Add aten::addcdiv and its variants intel/torch-xpu-ops#486 -
aten::addcmul.out
, Add aten::addcmul intel/torch-xpu-ops#418 -
aten::equal
, Add aten::equal intel/torch-xpu-ops#550 -
aten::lerp.Scalar_out
, Add aten::lerp_Tensor/lerp_Scalar and their variants intel/torch-xpu-ops#449 -
aten::linalg_vector_norm.out
, Add aten::linalg_vector_norm intel/torch-xpu-ops#460 -
aten::mse_loss_backward
, Add aten::mse_loss/mse_loss_backward and their variants intel/torch-xpu-ops#438 -
aten::mse_loss.out
, Add aten::mse_loss/mse_loss_backward and their variants intel/torch-xpu-ops#438 -
aten::norm.out
, Add aten::norm and its variants intel/torch-xpu-ops#556
-
-
tests/test_modeling_utils.py
:-
aten::logical_or.out
, Add aten::logical_and/or/xor and variant operators intel/torch-xpu-ops#529
-
-
tests/pipelines/*
:-
aten::isin.Tensor_Tensor_out
, Add aten::isin and its variant operators intel/torch-xpu-ops#548 -
aten::multinomial
, Add aten::multinomial intel/torch-xpu-ops#520 -
aten::topk.values
, Add aten::topk and its variants intel/torch-xpu-ops#547
-