Is Matlab/ Simulink supporting Nvidia external GPU Systems/Thunderbold 3 for Machine Learning and Deep Learning projects including embedded systems like Jetson TX2?
이전 댓글 표시
Hi there,
we are planning some research projects on machine learning (big data approaches, creating predictive models, deep learning with object recognition). We plan to use GPU computing for this.
To make the GPU easily available for different users (with their laptops) we thought of buying an "external GPU" case (equiped with i.e. Nvidia Geforce 1080Ti) in combination with Thunderbold 3 interfaces. Different users could prepare their tasks and alternately connect the eGPU only for training of their networks.
Does MATLAB/Simulink support this setup?
Does anybody use this hardware setup? (-in combination with the "GPU-Coder Add-on" and Nvidia Jetson TX2 embedded hardware?)
How are your experiences?
Thank you!
Marcus
채택된 답변
추가 답변 (1개)
Marcus Kreuzer
2018년 5월 21일
0 개 추천
댓글 수: 6
Joss Knight
2018년 5월 21일
Hi Marcus. All CPU/GPU communication is slowed down by an order of magnitude, so that means data transfer but also simply invoking a kernel launch for instance. So if you need to wait for the result of a computation, do something on the CPU, then launch another kernel, you incur the full round-trip cost. Hybrid algorithms that use CPU and GPU like SVD and other matrix factorizations suffer from this in particular.
In a particular bit of benchmarking I did (which you should take with a pinch of salt because it was one particular setup) I found that CPU/GPU bandwidth was 8x slower. So MLDIVIDE was 5x slower; but MTIMES and FFT were unchanged. Deep Learning training of AlexNet was about 2x slower. Worth noting that everything was of course still a lot faster than just running on the CPU.
The faster the connection gets (USB C Thunderbolt) the less of a problem this is so maybe one day it won't be so noticeable, if you stick to this solution.
Marcus Kreuzer
2018년 5월 21일
Joss Knight
2018년 5월 21일
편집: Joss Knight
2018년 5월 21일
I have experimented with the Razer Core with a USB C connection to a Lenovo laptop (can't remember which one) - however, I'd urge you not to make purchasing decisions on the basis of my one data point taken a year ago!
Walter Roberson
2018년 5월 21일
I was looking at some Thunderbolt 3 external cards yesterday in response to someone else interested in external GPU enclosures. It turned out that there were two basic kinds:
- ASUS custom connectors, only compatible with some ASUS models; Or
- PCI express x4 or higher.
Marcus Kreuzer
2018년 6월 20일
편집: Walter Roberson
2018년 6월 20일
Walter Roberson
2018년 6월 20일
Thanks for the update, Marcus.
카테고리
도움말 센터 및 File Exchange에서 Get Started with Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!