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

Error messages: tabby: kinfo_getfile(): No such process #2158

Open
yurivict opened this issue May 17, 2024 · 2 comments
Open

Error messages: tabby: kinfo_getfile(): No such process #2158

yurivict opened this issue May 17, 2024 · 2 comments

Comments

@yurivict
Copy link

yurivict commented May 17, 2024

Describe the bug

Errors during startup:

2024-05-17T05:08:41.094360Z  INFO tabby::download: crates/tabby/src/download.rs:18: model 'TabbyML/StarCoder-1B' is ready
[yuri@yv /usr/ports/devel/tabby]$ tabby serve --model TabbyML/StarCoder-1B
2024-05-17T05:11:27.726789Z DEBUG tabby::serve: crates/tabby/src/serve.rs:121: Starting server, this might take a few minutes...
2024-05-17T05:11:28.327534Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready `Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'`
TextInferenceEngineImpl: warmup failed
tabby: kinfo_getfile(): No such process
tabby: kinfo_getfile(): No such process

Errors printed later on:

2024-05-17T05:12:28.330593Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready `Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'`
2024-05-17T05:13:28.332007Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready `Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'`
2024-05-17T05:14:28.333567Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready `Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'`
2024-05-17T05:14:38.534846Z  WARN tabby_webserver::service::auth: ee/tabby-webserver/src/service/auth.rs:103: Failed to send signup email: Email is not configured
2024-05-17T05:15:28.335566Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready `Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'`
2024-05-17T05:16:28.337562Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready `Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'`
2024-05-17T05:17:28.338621Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready `Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'`
2024-05-17T05:18:28.340763Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready `Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'`
2024-05-17T05:19:28.341483Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready `Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'`

Information about your version
0.11.1

Information about your GPU
n/a

FreeBSD 14.0

@yurivict yurivict changed the title Error messages during startup: tabby: kinfo_getfile(): No such process Error messages: tabby: kinfo_getfile(): No such process May 17, 2024
@wsxiaoys
Copy link
Member

2024-05-17T05:12:28.330593Z DEBUG tabby::services::code: crates/tabby/src/services/code.rs:64: Source code index is not ready Failed to open the directory: 'DoesNotExist("/home/yuri/.tabby/index")'

This is debug only logging and can be safely ignored.

TextInferenceEngineImpl: warmup failed
tabby: kinfo_getfile(): No such process
tabby: kinfo_getfile(): No such process

These are something new - could you check if it presents in current main branch? we changed the inference implementation into a subprocess recently, which should generates better debugging log

@yurivict
Copy link
Author

The "tabby: kinfo_getfile(): No such process" messages disappear when "DoesNotExist("/home/yuri/.tabby/index")" messages disappear.

It appears that the index is built slowly and appears only later?
Maybe the spawned process dies early because index doesn't exist yet?

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

No branches or pull requests

2 participants