There are a few potential disadvantages to using PyTorch for machine learning tasks:

While PyTorch has support for mobile and embedded devices, but it is not as comprehensive as some other libraries, such as TensorFlow

Limited support

PyTorch models can sometimes be larger in size compared to models trained using other libraries, such as TensorFlow.

Larger model size

While PyTorch is widely used in research, it is not as production-ready as some other libraries, such as TensorFlow

Less production ready

PyTorch does not have as many built-in visualization tools which makes it more difficult to debug and understand

Limited visualizations

PyTorch does not have official support for some programming languages, such as Julia

Support for programming languages