huggingface / optimum-neuron

Easy, fast and very cheap training and inference on AWS Trainium and Inferentia chips.
Apache License 2.0
177 stars 53 forks source link

[QUESTION] What is the difference between optimum-neuron and transformers-neuronx? #460

Closed leoribeiro closed 3 months ago

leoribeiro commented 5 months ago

I would like to understand the differences between this optimum-neuron and transformers-neuronx.

dacorvo commented 5 months ago

Basically optimum-neuron uses parts of transformers-neuronx.

transformers-neuronx:

optimum-neuron: