Skip to content

Segmentation fault (core image saved) #152

Open
@archiwed

Description

@archiwed

Whenever I try to execute the code on my machine I get the error: "Segmentation failure (core image written)" I know that usually this failure indicates that the program tried to access an area of memory that was not allocated or is not accessible.

I have tried debugging the code on my machine but I still get stuck with this problem.

I am using Arch Linux to run.

(base) [andre@archlinux alpaca.cpp]$ ls
build chat.cpp convert-pth-to-ggml.py ggml.c ggml.o Makefile quantize.sh screencast.gif utils.h
chat CMakeLists.txt ggml-alpaca-7b-q4.bin ggml.h LICENSE quantize.cpp README.md utils.cpp utils.o

(base) [andre@archlinux alpaca.cpp]$ ./chat
main: seed = 1679698347
llama_model_load: loading model from 'ggml-alpaca-7b-q4.bin' - please wait ...
llama_model_load: ggml ctx size = 6065.34 MB
Falha de segmentação (imagem do núcleo gravada)

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