AMD, Intel disagreements 'red alert'

조회 수: 4 (최근 30일)
Martin
Martin 2018년 8월 24일
편집: Ned Flanders 2019년 12월 2일
Hello, I have like 4 Intel Matlab clients and 1 powerful AMD Matlab client (Ryzen 1950, overclocked). I need to do heavy calculations (e.g. LSTM) with the AMD client, but still be able to reproduce the results on the other clients namely Intel (be aware that rand is resetted, this one is not the hurdle)
My problem is, it does not produce the same. All Intel agrees with each other, but not with the AMD and of course vice versa.
Is there any way to make AMD agree with Intel, or Intel agree with AMD processors with regards to LSTM or likely other Neural Network computations?
  댓글 수: 2
dpb
dpb 2018년 8월 24일
Down to the LSB level, probably not.
What kind of discrepancy are we talking about here?
Martin
Martin 2018년 8월 24일
With regards to the discrepancy: I get results between -1 to 1. On AMD I can easily get e.g. -0.2 and 0.3 on Intel...

댓글을 달려면 로그인하십시오.

답변 (1개)

Ned Flanders
Ned Flanders 2019년 12월 2일
편집: Ned Flanders 2019년 12월 2일
You should test the workaround for AMD CPUs to use the AVX2 codepath. Its possible that with Intel using AVX2 and AMD using SSE codepaths, the results might somewhat differ for specific opperations. Also, AVX2 is much faster on your TR box.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by