(Ⅲ) Software Installation
Astra Software Installation
- On a 64-bit Windows operating system, turn off the firewall and exit antivirus software (such as 360, Tencent PC Manager, etc.). Right - click and select "Run as administrator" to run "Astra.exe". An installation interface will pop up. Just click "Next" step by step according to the prompts.
.png)
.png)
- After the installation is complete, the Astra software icon will appear on the desktop.
CUDA Installation
CUDA version selection
- Check the CUDA version supported by the computer. Press win+R, enter cmd to open the command line window. Enter the nvidia-smi command, and get the interface shown in Figure 1, which represents the highest CUDA version supported by the computer. This tutorial chooses to install CUDA 12.1.
.png)
Figure 1
CUDA Downloads
- Click the official website download link:https://developer.nvidia.com/cuda-toolkit-archive. As shown in Figure 2, select CUDA 12.1.1 version to download.
.png)
Figure 2
- Follow the prompts to select the system version that corresponds to your computer, as shown in Figure 3.
.png)
Figure 3
CUDA Installation
- Double-click the .exe file in the downloaded installation package and select the installation path. It is recommended to use the default path.
- System Check: Select "Agree and Continue" as shown in Figure 4.

Figure 4
- License Agreement: Select "Custom" and then next step, as shown in Figure
.png)
Figure 5
- Options: CUDA is required. If it is the first installation, check all of them. If the new version of Other components and Driver components is lower than the current version, do not check them, as shown in Figure 6.
.png)
Figure 6
- Select the installation path: It is recommended to use the default path, which will be needed later. Finally, click Next.
Add CUDA environment variables
- Environment variables are usually added automatically. To be safe, you can check them through Settings -> Advanced System Settings -> Environment Variables -> System Variables, as shown in Figure 7. Note: You need to restart the computer after configuring the environment variables.
.png)
Verify that CUDA is installed successfully
- Press win+R and enter cmd to open the command line window. Enter the nvcc -V command. If the information shown in Figure 8 is displayed, it indicates that cuda has been installed successfully. Otherwise, the installation fails.
.png)
Figure 8
CUDNN Installation
CUDNN Download
- First you need to click the official website download link:https://developer.nvidia.com/cudnn-downloads?target_os=Windows&target_arch=x86_64&target_version=Agnostic&cuda_version=12, select the option in the red box at the bottom as shown in Figure 9, click cudnn after entering, then select the windows version, and then select the corresponding cudnn according to the cuda version and download it, as shown in Figure 10.
.png)
Figure 9
.png)
Figure 10
- After downloading, unzip it and find the path where you installed cuda before (if you forget, you can open cmd and enter which nvcc to output the cuda installation path). Then copy all the contents of the three files in the cudnn folder to the directory corresponding to cuda, as shown in Figure 11.
.png)
Figure 10
Environment variable configuration
- Open the system variables, edit the Path variable, and make sure that the four environment variables shown in Figure 12 are present. If they are missing, just add the corresponding ones.
.png)
Figure 12
Verify that the installation is successful
- Use win+R->cmd->enter the command cd C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\extras\demo_suite.
- Enter the command bandwidthTest.exe and you will get the prompt information shown in Figure 13.
.png)
Figure 13
- Enter the command deviceQuery.exe and you will get the prompt message shown in Figure 14.
.png)
Figure 14
- Note: After configuring the environment variables, you need to restart the computer. At this point, the installation of cuda and cudnn is complete.
Solutions to CUDA Installation Failure
- An error occurred during the CUDA installation process:
- Solution: After the CUDA version is downloaded, double - click to install directly and select the default installation path.
- Click "Agree and Continue".
- Select the custom mode.
- When choosing components, uncheck Nsight VSE and Visual Studio Integration in CUDA, then click "Next" and the installation will be successful.
.png)