본문 바로가기
728x90
728x90

MachineLearning/STT10

ubuntu 16 && cuda 10.1&&kaldi 에서 빌드시 libcublas error ubuntu 16 에서는 cuda 10.1 설치 후 빌드해야함 에러-- ../cudamatrix/kaldi-cudamatrix.a(cu-device.o): In function `kaldi::CuDevice::Initialize()': /home/stt/kaldi/src/cudamatrix/cu-device.cc:124: undefined reference to `cublasSetMathMode' ../cudamatrix/kaldi-cudamatrix.a(cu-device.o): In function `kaldi::CuDevice::FinalizeActiveGpu()': /home/stt/kaldi/src/cudamatrix/cu-device.cc:284: undefined reference to `cu.. 2020. 1. 6.
Mac에 CUDA 설치하기 참고 ) nvidia gpu가 있는 mac만 가능 macos에 따라 지원하지 않는경우 있음 1) 아래 경로로 접속하여 CUDA 를 다운받습니다. https://developer.nvidia.com/cuda-downloads?target_os=MacOSX&target_arch=x86_64&target_version=1013 NVIDIA Developer GPU-Accelerated Containers Featuring software for AI, machine learning, and HPC, the NVIDIA GPU Cloud (NGC) container registry provides GPU-accelerated containers that are tested and optimized to take.. 2020. 1. 1.
Ubuntu16.04 에서 kaldi 설치하기 / how to install kaldi on ubuntu 16.04 1. kaldi 를 원하는 경로에 git을 통해 가져온다. $ git clone https://github.com/kaldi-asr/kaldi.git 2. tools의 INSTALL 파일을 보고 확인한다. $ cd tools $ vim INSTALL openblas는 사이트에서 별도 설치함 $ git clone https://github.com/xianyi/OpenBLAS.git $ tar zxvf OpenBLAS-0.2.18.tar.gz $ cd OpenBLAS* $ make FC=gfortran $ sudo make install $ sudo apt-get install g++ make automake autoconf unzip wget sox gfortran libtool subversion pyt.. 2019. 12. 29.
Mac OS install mkl_맥에서 MKL 설치하기 https://software.intel.com/en-us/mkl?elqTrackId=c08ca1366ec7458792fc6c9df2ab573e&elqaid=17125&elqat=2 Intel® Math Kernel Library (Intel® MKL) Increase performance and reduce development time with optimized math functions from Intel® Math Kernel Library. software.intel.com 위 경로에서 math kernel library 를 다운받는다. 다운 후 실행 환경변수를 셋팅해준다 ( source /opt/intel/mkl/bin/mklvars.sh intel64 ) 2019. 12. 22.
728x90
728x90