Skip to content

Add NVLink P2P support for mixed NVLink/PCIe GPU topologies#18

Open
valdemardi wants to merge 1 commit intoaikitoria:595.45.04-p2pfrom
valdemardi:aikitoria-595.45.04-p2p
Open

Add NVLink P2P support for mixed NVLink/PCIe GPU topologies#18
valdemardi wants to merge 1 commit intoaikitoria:595.45.04-p2pfrom
valdemardi:aikitoria-595.45.04-p2p

Conversation

@valdemardi
Copy link

Hi @aikitoria

I created an NVLink-enabled version based on your 595.45.04 updated tinygrad driver. In my repository, I forked the Nvidia upstream repository from the 595.45.04 tag, applied most of the changes from your repository (excluding the README and install.sh), and then made the NVLink enabling changes and updated the README with some test results, which confirm that the driver works as expected.
Today I also created a commit against your repository with the changes, in case you or others might find this useful, given your repository's visibility. The version in this PR should work as a drop-in replacement for your version. If the system running this version has NVLink(s), the driver will prefer them where possible, and otherwise it will fall back to the BAR1 PCIe P2P approach.
I have tested the this PR version only on a quad RTX 3090 system with two NVLinks (two NVLinked GPU pairs) and with that system it works as expected. I'd expect it to work the same as your version on systems with no NVLinks, but I have not done any testing.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant