使用SageMaker v2.29.2和Tensorflow v2.3.2,我试图实现分布式培训,如以下博客文章所述:
但是,我在导入SMC分布式脚本时遇到困难
这是我的密码:
import tensorflow as tf
import smdistributed.modelparallel.tensorflow as smp
错误:
Traceback (most recent call last):
File "temp.py", line 2, in <module>
import smdistributed.modelparallel.tensorflow as smp
ModuleNotFoundError: No module named 'smdistributed'
我错过了什么
smdistributed仅在SageMaker容器上可用。特定TensorFlow版本支持它,您必须添加:
关于估计码,以使其成为可能
相关问题 更多 >
编程相关推荐