I have been working on learning Deep learning for past few months. Its been a difficult journey working on the laptop for training any model. So I decided to get an older server from eBay. After doing a little research I picked a HP ML350p Gen 8 as my battleship for only $100. It came with basic config but it was definitely worth it. Along with this I also picked up a Tesla M40 24GB GPU some RAM sticks and a couple of CPU. All these came under $1000. I will list all the parts, in the server I build, at the end of this article. Lets see how to get this GPU to work on pretty much all HP GEN 8 servers.
First thing first, lets make sure that we have the most up too date BIOS firmware running on the server. Most current version for P72 is v2019.05.24 released on 05/24/2019. There are several YouTube video tutorials for BIOS update if you need help. I would suggest to use iLO 4 to update the BIOS its the most secure and safe way.
Once the BIOS is updated lets enable the 64 bit addressing mode in the BIOS so all the 24GB of RAM on on the GPU can be addressed.
While the server is booting press F9 to go into the BIOS.
Once in the BIOS you need to enable a hidden menu in the BIOS. This can be done by pressing CTRL + A.
As soon as you do this this you will see a hidden option called Service Option, refer the picture below.

Select Service Option and press enter. You should see something like in the picture below.

I would suggest not to mess with any of this options unless you know what you are doing.
Any ways the only option we are interested in is PCI Express 64-bit BAR Support select it and press enter to enable this option.
Save the settings by pressing F10 and exit the BIOS. Your Server is now ready for Tesla GPU. I am using a Tesla M40 for my setup but I have Tested this with K80 and P100.
If you haven’t already done this, its time to connect the GPU to the server. While doing this be very careful about the power connectors and the cables. Tesla GPU has a different pin-out than the commercial GPUs like GTX or RTX line. Connecting the GPU power incorrectly may not damage the GPU but will damage the server’s PEIe slot. Remember to use the Black GPU power ports if you are using a ML350p server. There are several cables available on eBay or on Amazon you just need to find the right one.
2 x Xeon E5-2697 v2 ($120 for both)
24 x 16GB RAM Sticks (I paid $100 for 26 sticks of 16GB DDR3 ECC Sticks)
2 x Tesla M40 24GB ($170 each)
2 x 1200W PSU ($20 each)
4 x 1TB Samsung EVO SSD (Bought new from Amazon)
April 14th, 2026
Thanks for posting this. I am attempting to connect a P40 to a ml-350p too and am trying identify what cables I would need to connect to the 8pin socket (aux/gpu) socket on the mb to the P40. I have the original cable with a 8pin socket (male) and 2 pcie connectors (female) for the P40.
I know it’s been a while since you wrote this and your setup. Can you remember if you had any issues with your setp? Thanks in advance 🙂
April 16th, 2026
Yes I know exactly what you are asking, i got something from Amazon which worked for me. https://www.amazon.com/dp/B0CNRHV9RC?ref_=ppx_hzsearch_conn_dt_b_fed_asin_title_21&th=1
If you don’t want to go to the link search on amazon with this: COMeap GPU Power Cable for HP DL580 DL585 DL980 G7 Server, 10 Pin to CPU 8 Pin Power Adapter for Nvidia K80/M40/M60/P40 24.8-inch(63cm)
Now you need to couple this with,
https://www.amazon.com/gp/product/B08ZSV94DZ/ref=ox_sc_act_title_1?smid=A3JG90J1GP6HGX&th=1
Again if you don’t want to click on the link just search with Mustpoint 12x 6 Pin PCI-E to 8 Pin(6+2) PCI-E (Male to Male) GPU Power Cable (50cm) Not Include Card
This cable will directly connect to the Server power port.
Both these are on amazon.com
Good luck Paul