Skip to content

Commit

Permalink
Add CUDA 12.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimver committed Jun 22, 2024
1 parent d34c721 commit abe1e71
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 0 deletions.
33 changes: 33 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Contributing

## Adding new CUDA versions

All CUDA versions are visible on the [NVIDIA CUDA toolkit archive](https://developer.nvidia.com/cuda-toolkit-archive)

When adding new versions, the following files should be updated:
- `src/links/linux-links.ts`

To get the linux link you should get the link for the `runfile (local)` option, the distribution doesn't matter as long as the architecture is `x86_64`, see the image below:
![Linux link copy](images/linux-link.png)
Copy the link and paste it in a new entry of the `cudaVersionToURL` map:
![Linux link paste](images/linux-link-code.png)
- `src/links/windows-links.ts`

There are two windows links, one for the network installer (online) and one for the local installer (offline):

The installer links can be copied by selecting the Windows platform, OS version doesn't matter (at the time of writing), and then select either `exe (local)` for the local installer, and `exe (network)` for the online installer. The link can be copied by right clicking the green `Download` button and selecting `Copy Link address`.

#### Windows - Local installer:
![Windows link local copy](images/windows-link-local.png)

Then add a new entry in the `cudaVersionToURL` map with the link copied above:
![Windows link local paste](images/windows-link-local-code.png)

#### Windows - Network installer:
![Windows link network copy](images/windows-link-network.png)

Add a new entry in the `cudaVersionToNetworkUrl` map with the link copied in the above:
![Windows link network paste](images/windows-link-network-code.png)



12 changes: 12 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added images/linux-link-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/linux-link.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/windows-link-local-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/windows-link-local.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/windows-link-network-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/windows-link-network.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/links/linux-links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export class LinuxLinks extends AbstractLinks {
super()
// Map of cuda SemVer version to download URL
this.cudaVersionToURL = new Map([
[
'12.5.0',
'https://developer.download.nvidia.com/compute/cuda/12.5.0/local_installers/cuda_12.5.0_555.42.02_linux.run'
],
[
'12.4.1',
'https://developer.download.nvidia.com/compute/cuda/12.4.1/local_installers/cuda_12.4.1_550.54.15_linux.run'
Expand Down
8 changes: 8 additions & 0 deletions src/links/windows-links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export class WindowsLinks extends AbstractLinks {
private static _instance: WindowsLinks

private cudaVersionToNetworkUrl: Map<string, string> = new Map([
[
'12.5.0',
'https://developer.download.nvidia.com/compute/cuda/12.5.0/network_installers/cuda_12.5.0_windows_network.exe'
],
[
'12.4.1',
'https://developer.download.nvidia.com/compute/cuda/12.4.1/network_installers/cuda_12.4.1_windows_network.exe'
Expand Down Expand Up @@ -191,6 +195,10 @@ export class WindowsLinks extends AbstractLinks {
super()
// Map of cuda SemVer version to download URL
this.cudaVersionToURL = new Map([
[
'12.5.0',
'https://developer.download.nvidia.com/compute/cuda/12.5.0/local_installers/cuda_12.5.0_555.85_windows.exe'
],
[
'12.4.1',
'https://developer.download.nvidia.com/compute/cuda/12.4.1/local_installers/cuda_12.4.1_551.78_windows.exe'
Expand Down

0 comments on commit abe1e71

Please sign in to comment.