Skip to content

ollama-ipex fails running any models - A380 - llama runner process terminated #13212

Open
@jpmiller25

Description

@jpmiller25

When running ./ollama run , it will fail after a few seconds. The GPU just barely starts to load up before it fails (watching intel_gpu_top). Error: Error: llama runner process has terminated: exit status 2
Logs below of me trying to run 4 different models. This is the only thing in the log sticking out to me:

SIGBUS: bus error
PC=0x7676b317af3d m=4 sigcode=2 addr=0x767514922ff0
signal arrived during cgo execution

Setup:
Dell T410 server, 2 x xeon processors, 128g ram
proxmox, VM running fresh ubuntu 22.04 w pcie passthrough
Asrock A380 low profile, updated firmware
Followed https://github.com/intel/ipex-llm/blob/main/docs/mddocs/Quickstart/ollama_portable_zip_quickstart.md

I did find someone else who had similar issues, ended up solving by enabling resizeable bar. That's not an option for me with this motherboard, hopefully that's not a dealbreaker.

Environment information

(base) josh@ollama:~$ ./env-check.sh
-----------------------------------------------------------------
PYTHON_VERSION=3.13.2
-----------------------------------------------------------------
Transformers is not installed.
-----------------------------------------------------------------
PyTorch is not installed.
-----------------------------------------------------------------
ipex-llm WARNING: Package(s) not found: ipex-llm
-----------------------------------------------------------------
IPEX is not installed.
-----------------------------------------------------------------
CPU Information:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        40 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               8
On-line CPU(s) list:                  0-7
Vendor ID:                            GenuineIntel
Model name:                           QEMU Virtual CPU version 2.5+
CPU family:                           15
Model:                                107
Thread(s) per core:                   1
Core(s) per socket:                   4
Socket(s):                            2
Stepping:                             1
BogoMIPS:                             6117.99
Flags:                                fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm cpuid_fault pti
Hypervisor vendor:                    KVM
-----------------------------------------------------------------
Total CPU Memory: 15.1406 GB
Memory Type: -----------------------------------------------------------------
Operating System:
Ubuntu 22.04.5 LTS \n \l

-----------------------------------------------------------------
Linux ollama 6.8.0-60-generic #63~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 22 19:00:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
-----------------------------------------------------------------
CLI:
    Version: 1.2.41.20250422
    Build ID: 00000000

Service:
    Version: 1.2.41.20250422
    Build ID: 00000000
    Level Zero Version: 1.21.1
-----------------------------------------------------------------
  Driver UUID                                     32352e31-332e-3333-3237-360000000000
  Driver Version                                  25.13.33276
-----------------------------------------------------------------
Driver related package version:
-----------------------------------------------------------------
./env-check.sh: line 167: sycl-ls: command not found
igpu not detected
-----------------------------------------------------------------
xpu-smi is properly installed.
-----------------------------------------------------------------
+-----------+--------------------------------------------------------------------------------------+
| Device ID | Device Information                                                                   |
+-----------+--------------------------------------------------------------------------------------+
| 0         | Device Name: Intel(R) Arc(TM) A380 Graphics                                          |
|           | Vendor Name: Intel(R) Corporation                                                    |
|           | SOC UUID: 00000000-0000-1006-0000-000556a58086                                       |
|           | PCI BDF Address: 0000:06:10.0                                                        |
|           | DRM Device: /dev/dri/card1                                                           |
|           | Function Type: physical                                                              |
+-----------+--------------------------------------------------------------------------------------+
GPU0 Memory [size=4K
GPU1 Memory size=16M
-----------------------------------------------------------------
00:01.0 VGA compatible controller: Device 1234:1111 (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Red Hat, Inc. Device 1100
        Flags: bus master, fast devsel, latency 0
        Memory at f0000000 (32-bit, prefetchable) [disabled] [size=16M]
        Memory at fe814000 (32-bit, non-prefetchable) [disabled] [size=4K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Kernel driver in use: bochs-drm
        Kernel modules: bochs

--
06:10.0 VGA compatible controller: Intel Corporation Device 56a5 (rev 05) (prog-if 00 [VGA controller])
        Subsystem: ASRock Incorporation Device 6006
        Physical Slot: 16-2
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Memory at fb000000 (64-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915, xe

ollama logs.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions