Installation
Last updated
Last updated
Open a terminal, execute the following commands to install NVIDIA CPU driver.
If you got an error like Unable to locate package nvidia-driver-535
. The apt database may out date. Run sudo apt update
to update the apt database to solve this problem.
Now run sudo reboot
to reboot the host. After rebooting, execute nvidia-smi
command. You should see the information regarding NVIDIA GPU in the output.
In the terminal, execute the following commands to install CUDA, the NVIDIA toolkit.
To configure the AI SSD for directing AIDE in executing fine-tuning tasks, follow these steps:
Install LVM
Check Disks Location
Clear Disks (Just In Case)
Create LVM
Mount LVM
Format the disk
Mount the disk
Make Mount Persistent
Successful Example
If LVM setting is successful, you will see the following successful configuration when running command lsblk
.
If you need to dissolve LVM setting. Just run the following commands:
Swap File Setting
Enable swap space to provide extra memory for DRAM, allowing you to increase batch sizes if there is sufficient
Create swap file
Modify permission
Initialize swap file
Enable the swap
Make the swap permanent
If you would like to remove the swap, please make sure to follow the steps below to prevent unexpected system issues.
Run the following command to uninstall all conflicting packages:
apt-get
might report that you have none of these packages installed.
Set up Docker's apt repository.
Install the Docker packages.
Add user to docker
group.
Here ACCOUNT
is the account you are logging into. After this, remember to re-login againg so that your account is a member of docker
group.
Verify that the installation is successful.
This command downloads a test image and runs it in a container. When the container runs, it prints a confirmation message and exits.
Configure the production repository.
Update the packages list from the repository.
Install the NVIDIA Container Toolkit packages.
Configure the container runtime by using the nvidia-ctk
command.
Restart the Docker daemon.
GenAI Studio make an installer so that users can install it with ease. Normally, what you need to do is to download it and, then, execute it.
Please contact your technical window for the installation file. the named like GenAI-Studio_<VERSIOIN>_setup.run
format. Don't forget move the installer you downloaded to the target host if your download does not run on. Finally, just execute the downloaded installer file. Answer the questions during the process. You can tell that's really a simple step.
Check the permissions of installer file you downloaded. If it does not have execute
permission attached, just change it by chmod 0755 INSTALLER_FILE
command.
If everything goes well the GenAI Studio should be installed under $HOME/Advantech/GenAI-Studio
directory. Change your directory to ~/Advantech/GenAI-Studio/bin
and run ./app-up
. After seconds, open a browser to visit the target host with 3001
port.