Skip to content

[Note] My personal installation #50

@ludiusvox

Description

@ludiusvox

This is a 13700-K Intel 16 core processor 13th gen I7 with liquid cooling. This assumes liquid cooling setup.

And then AMD Radeon 6800.

https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html

Oracle Linux

sudo dnf groupinstall "Development Tools"

curl -fsSL https://ollama.com/install.sh | sh

curl -LsSf https://astral.sh/uv/install.sh | sh

uv venv source .venv/bin/activate

git clone https://github.com/yichuan-w/LEANN.git leann cd leann

git clone https://github.com/yichuan-w/LEANN.git leann cd leann

git submodule update --init --recursive

wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/47c7d946-fca1-441a-b0df-b094e3f045ea/intel-onemkl-2025.2.0.629.sh

sudo sh ./intel-onemkl-2025.2.0.629.sh

follow Oracle Linux installation

sudo dnf install libomp-devel boost-devel protobuf-compiler abseil-cpp-devel libaio-devel zeromq-devel

export MKL_ROOT=/opt/intel/oneapi/mkl export MKL_LIBRARIES="-L${MKL_ROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core"
/opt/intel/oneapi/setvars.sh

uv sync

Then I made sure the correct environment was set, and ran the demo.ipynb and it worked!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions