Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mining process exited with code 2 and signal null #136

Open
geezluise opened this issue Apr 27, 2024 · 2 comments
Open

Mining process exited with code 2 and signal null #136

geezluise opened this issue Apr 27, 2024 · 2 comments

Comments

@geezluise
Copy link

geezluise commented Apr 27, 2024

Just finished setting up an orange pi 5b with 16GB of ram and I get this error

Starting mining
/home/bill/Desktop/freedom-gpt/miner/mac/fgptminer: 1: Syntax error: word unexpected (expecting ")")

Mining process exited with code 2 and signal null

the app runs and all is well but it can't mine.

it also has this Inference error

Failed to start Inference process: (1) Error: spawn /home/bill/Desktop/freedom-gpt/llama.cpp/server ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /home/bill/Desktop/freedom-gpt/llama.cpp/server',
path: '/home/bill/Desktop/freedom-gpt/llama.cpp/server',
spawnargs: [
'-m',
'/home/bill/Documents/dolphin-2.9-llama3-8b.Q8_0.gguf',
'-c',
'2048',
'--port',
'8887'
]
}

@geezluise
Copy link
Author

geezluise commented Apr 28, 2024

I made a fresh install of Ubuntu 20.04 and the only thing installed are the dependencies. I am running it on a OrangePi 5B 16GB ram. Unit has an NPU and 6 TOPS of compute power. I get this error when turning on the minerer

4:37:06.001 › Starting mining process
14:37:06.073 › xmrigProcess.stderr /home/billy/Desktop/freedom-gpt/miner/mac/fgptminer: 1: Syntax error: word unexpected (expecting ")")

14:37:06.077 › Mining process exited with code 2 and signal null

Inference mining has improved it loads a bunch of stuff and no error messages. However it is not generating any tokens or using CPU power. The end of its load are this.

14:39:22.240 › inferenceProcess.stderr llama_new_context_with_model: n_ctx = 2048
llama_new_context_with_model: freq_base = 10000.0
llama_new_context_with_model: freq_scale = 1

14:39:22.664 › inferenceProcess.stderr llama_new_context_with_model: kv self size = 1024.00 MiB

14:39:22.665 › inferenceProcess.stderr llama_build_graph: non-view tensors processed: 740/740
llama_new_context_with_model: compute buffer total size = 159.07 MiB

14:39:23.151 › inferenceProcess.stderr Available slots:
-> Slot 0 - max context: 2048

llama server listening at http://127.0.0.1:8887

all slots are idle and system prompt is empty, clear the KV cache

14:39:23.152 › inferenceProcess.stdout {"timestamp":1714329563,"level":"INFO","function":"main","line":2564,"message":"HTTP server listening","hostname":"127.0.0.1","port":8887}

thats just the end of it, it is a long log in the shell

@geezluise
Copy link
Author

if it helps here are the warnings I get when upgrading.

yarn upgrade v1.22.22
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
warning @zeit/[email protected]: Next.js now has built-in TypeScript support that is integrated into the framework by default: https://nextjs.org/docs/basic-features/typescript
warning machine-uuid > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning rehype-mathjax > jsdom > [email protected]: Use your platform's native atob() and btoa() methods instead
warning rehype-mathjax > jsdom > data-urls > [email protected]: Use your platform's native atob() and btoa() methods instead
warning rehype-mathjax > jsdom > [email protected]: Use your platform's native DOMException instead
warning @electron-forge/cli > @electron-forge/core > [email protected]: Please use @electron/packager moving forward. There is no API change, just a package name change
warning @electron-forge/cli > @electron-forge/shared-types > [email protected]: Please use @electron/packager moving forward. There is no API change, just a package name change
warning @electron-forge/cli > @electron-forge/core > @electron/rebuild > node-gyp > make-fetch-happen > cacache > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
warning @electron-forge/maker-deb > electron-installer-debian > electron-installer-common > [email protected]: Please use @electron/asar moving forward. There is no API change, just a package name change
warning @electron-forge/maker-deb > electron-installer-debian > get-folder-size > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning @electron-forge/plugin-webpack > @electron-forge/web-multi-logger > [email protected]: This package is now deprecated. Move to @xterm/addon-fit instead.
warning @electron-forge/plugin-webpack > @electron-forge/web-multi-logger > [email protected]: This package is now deprecated. Move to @xterm/xterm instead.
warning @electron-forge/plugin-webpack > webpack-dev-server > webpack-dev-middleware > [email protected]: this will be v4
warning @electron-forge/plugin-webpack > @electron-forge/web-multi-logger > [email protected]: This package is now deprecated. Move to @xterm/addon-search instead.
warning @vitest/[email protected]: v8 coverage is moved to @vitest/coverage-v8 package
warning electron-builder > app-builder-lib > @electron/universal > [email protected]: Please use @electron/asar moving forward. There is no API change, just a package name change
warning electron-builder > app-builder-lib > [email protected]: Please use @electron/osx-sign moving forward. Be aware the API is slightly different
warning fork-ts-checker-webpack-plugin > [email protected]: this will be v4
warning jsdom > [email protected]: Use your platform's native atob() and btoa() methods instead
warning jsdom > [email protected]: Use your platform's native DOMException instead
warning jsdom > data-urls > [email protected]: Use your platform's native atob() and btoa() methods instead
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "react-hot-toast > [email protected]" has unmet peer dependency "csstype@^3.0.10".
warning " > [email protected]" has unmet peer dependency "webpack@>=5".
warning " > [email protected]" has unmet peer dependency "webpack@^5.1.0".
warning " > [email protected]" has unmet peer dependency "webpack@^5.11.0".
warning " > [email protected]" has unmet peer dependency "webpack@^5.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^5.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^5.0.0".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant