Using SageMaker v2.29.2 and Tensorflow v2.3.2 I'm trying to implement distributed training as explained in the following blogpost:
However I'm having difficulties importing the smdistributed script.
Here is my code:
import tensorflow as tf
import smdistributed.modelparallel.tensorflow as smp
Error:
Traceback (most recent call last):
File "temp.py", line 2, in <module>
import smdistributed.modelparallel.tensorflow as smp
ModuleNotFoundError: No module named 'smdistributed'
What am I missing?