EatingFeng
EatingFeng
感谢您的及时回复: python:3.7.7 & 3.8.8(两个版本都试过了) ubuntu:18.04 cuda:11.2 cudnn:8 使用的是paddle的cpu版本 paddle1.0.2是因为在使用parl这个包进行验证的时候,总是提醒没有paddle包,就又单独pip install paddle,然后pip list 看到的paddle版本:1.0.2
您的意思是不影响最终的输出吗?我在最后输出了递增的结果是错误的,貌似并没有进行计算,而且时长更久了,这显然不符合并行测试的目的:时长是:466.127126455307 ,比前面的方法消耗时长更久了~ 终端有err输出: [03-17 11:15:53 MainThread @client.py:434] Remote actors log url: http://103.53.211.109:50885/logs?client_id=103.53.211.109_43769_1615950953 [03-17 11:18:55 Thread-9 @client.py:294] ERR [xparl] lost connection with a job, current actor num: 2 [03-17 11:20:33 Thread-11...
使用conda建立了新的测试环境,python:3.7.7 ,parl:1.4.3;未安装paddlepaddle,测试仍然出现上述问题: 代码如下: import time class A(object): def run(self): ans = 0 for i in range(100000000): ans += i return ans start = time.time() a = A() s = 0...
``` import time class A(object): def run(self): ans = 0 for i in range(100000000): ans += i return ans start = time.time() a = A() s = 0 for _...