Comments (4)
Compiles and works fine on Ubuntu 22.10.
from alpaca.cpp.
#18 might have caused this
from alpaca.cpp.
@txomon It still crashes using the latest d0f855a
from alpaca.cpp.
Hello guys;
I am too trying to run chat under FreeBSD 13.1.
Chat compiles cleanly, but when launching it:
./chat
/antimatter15-alpaca.cpp-9116ae9]$ ./chat
main: seed = 1680984151
llama_model_load: loading model from 'ggml-alpaca-7b-q4.bin' - please wait ...
Illegal instruction (core dumped)
==
I tried "truss ./chat, and got:
===
[...]
ead(3,"\M-)t(I\M^R\M-~;\M-8\M^Ww\M^F{"...,32768) = 32768 (0x8000)
read(3,"\M-'\M^GykI'\M^Qk\M-f\M^VI\M^Xzw"...,32768) = 32768 (0x8000)
read(3,"u\M-8i\M-'\M^H\M^u%I\M-;Y\M^["...,32768) = 32768 (0x8000)
read(3,"\M^R\M-D;\M-Kt[t[\M-,\M^Vy\M-vi"...,32768) = 32768 (0x8000)
mmap(0x0,2621440,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34378612736 (0x801200000)
mmap(0x0,3145728,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34381234176 (0x801480000)
SIGNAL 4 (SIGILL) code=ILL_PRVOPC trapno=1 addr=0x2411d5
process killed, signal = 4 (core dumped)
===
and finnaly, dbugging with gdb:
==
]$ gdb ./chat
GNU gdb (GDB) 13.1 [GDB v13.1 for FreeBSD]
(gdb) run
Starting program: /usr/home/whisper/antimatter15-alpaca.cpp-9116ae9/chat
warning: Could not load shared library symbols for [vdso].
Do you need "set solib-search-path" or "set sysroot"?
main: seed = 1680984937
llama_model_load: loading model from 'ggml-alpaca-7b-q4.bin' - please wait ...
Program received signal SIGILL, Illegal instruction.
Privileged opcode.
0x00000000002411d5 in ggml_type_sizef ()
(gdb) bt
#0 0x00000000002411d5 in ggml_type_sizef ()
#1 0x000000000022886d in llama_model_load(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, llama_model&, gpt_vocab&, int) ()
#2 0x000000000022d5e5 in main ()
(gdb)
My loader.conf has the following:
kern.ipc.semmni=256
kern.ipc.semmns=512
kern.ipc.semmnu=256
===
Helo would be appreciated.
from alpaca.cpp.
Related Issues (20)
- Issues with Monte Carlo Tree Search on alpaca.cpp
- CUDA support? HOT 3
- Input Handling HOT 1
- Segmentation Fault with 7b on Raspberry Pi 3 HOT 5
- ### Instruction: ### Response: HOT 3
- Random seed not working correctly, "too many inputs", chinese symbols?
- How to use with python HOT 1
- Can i use it on linux with nvidia gpu HOT 4
- minimum specs
- Does not perceive other languages HOT 5
- Are there any plans to add support for 13B and beyond? HOT 7
- Running very slow HOT 7
- Redpajama dataset?
- using ggml-alpaca-13b-q4.bin HOT 1
- Archive Repository HOT 1
- main: failed to load model from 'ggml-alpaca-7b-q4.bin' HOT 4
- llama_model_load: failed to open 'ggml-alpaca-7b-native-q4.bin' HOT 1
- HuggingFaceH4/starchat-alpha Cpp LLM
- Adding risc-v architecture support HOT 1
- failed to load model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpaca.cpp.