1월, 2022의 게시물 표시

Running KataGo/KaTrain on Jetson AGX Xavier

Set-up Jetson AGX Xavier From Ubuntu 20.04, use sdkmanager and follow instructions Temporarily modify VERSION_ID in /etc/os-release from 20.04 to 18.04 Preparation-CMake (on Jetson) KataGo requires version 3.18.2 or higher, but the default wa 3.10.2, hence build from source. Download CMake source file then install at /usr/local/CMake git clone https://github.com/Kitware/CMake ./bootstrap --prefix=/usr/local/CMake make sudo make install Preparation-KataGo v1.10.0 (on Jetson) Refer github.com/lightvector/KataGo/blob/master/Compiling.md#linux For CMake, refer Preparation-CMake (on Jetson) above. Check all packages are installed or updated, including zlib1g-dev, libzip-dev, libgoogle-perftools-dev, libssl-dev, and ocl-icd-opencl-dev. Build KataGo git clone https://github.com/lightvector/KataGo.git git checkout v1.10.0 cd KataGo/cpp /usr/local/CMake/cmake . -DUSE_BACKEND=CUDA -DUSE_TCMALLOC=1 [Note] Selecting TensorRT backend(TENSORRT) will give check error. "TensorRT 8.2 or greater is

Install Ubuntu 20.04 LTS on HP Pavilion Desktop

- Download Ubuntu 20.04 LTS iso for Desktop - Prepare bootable media (USB Stick or CD/DVD) - Shrink Windows Partition for extra space - Change BIOS Settings - Disable Secure Boot - (No option for fast boot) - Change boot order - Boot with prepared media (USB Stick or CD/DVD) - [Problem] May not pass the logo screen. (hangs forever) - At the grub screen, press 'e' then add 'pci=noacpi' option before '---' (after 'splash') - Continue installation - [Problem] May face grub installation failure, with 'Operation not permitted' message. - In this case, just follow the instruction to boot into the Live session (the same as 'Try Ubuntu') - Install and use boot-repair to try fixing the problem. But again, may face error saying file /boot/grub/x86_64-efi/normal.mod not found error. - Boot into the Live session again, then open terminal and use following lines of code to install grub again. (/dev/nvme0n1p1 is the EFI partition, /dev/nvme0n1p