Closed 5cp closed 3 months ago
Hi @5cp, I will open a PR to add support for phi family models on the following tasks: feature-extraction, text-classification, token-classification.
For the causal task, I wonder if phi is supported by transformers_neuronx
@dacorvo.
@JingyaHuang no, it is not supported.
Feature request
phi-2 is one of the most popular models and should be supported by Optimum Neuron. I was able to trace the model using torch_neuronx.trace() using a slightly modified version of the BERT tutorial and did not encounter any errors:
Motivation
phi-2 was identified as one of the top models. It has also been requested by end users.
Your contribution
Confirmed that model can be traced by Neuron as-is.