It might be too late (for some of you) now, but I just managed to install High Sierra on a Samsung 960 Pro m.2 ... the Disk Utility (GUI) didn't see the disk at first.. I then went into the terminal and did a diskutil myself.. and my 960 pro got listed as /dev/disk0 ... so apparently, the graphical disk utility does not see disks that are not partitioned in any way..
I then did something along the lines
Code:
diskutil partitionDisk /dev/disk0 1 GPT HFS+ "testPartition" 128G
which created a first partition on the disk with label "testPartition" and size 128GB (doesnt really matter which name and size you give).
I then closed the terminal and run the graphical disk utility again and my drive showed up. then just did the normal erase -> partition step and continued.