TabNine icon indicating copy to clipboard operation
TabNine copied to clipboard

Deep local always crashed when the model size was specified to Large

Open backrunner opened this issue 4 years ago • 7 comments

please complete the following information:

  • OS version: [e.g. Win 10, Mac Catalina] macOS 12.5
  • Editor: [e.g. vscode, intelij, sublime] VSCode
  • Editor version: 1.70.2
  • Programming language: [e.g. js, ts, c++] JS / TS
  • TabNine extension version: 3.6.14
  • Engine version (could be located within Tabnine Hub): 4.4.125-58

Issue Details:

The tabnine-deep-local always crashed just after VSCode started, the Large model size seems cannot work properly. In the hub, the Active Model row in the Support - General Info also disappeared in this case. When I modified "Large" to "Medium", everything went well.

Config:

{
  "version": "4.4.125",
  "hide_promotional_message": false,
  "beta_enabled": "No",
  "ignore_all_lsp": false,
  "creation_time": "2022-07-26T12:42:17.108960Z",
  "guuid": "06d4eb0fb17e9bfed12413bdaf1e8abbd57414d3132def2b4365a1e6401cc5ba",
  "semantic_status": {},
  "enable_telemetry": false,
  "user_understands_that_enabling_tabnine_cloud_sends_code_to_tabnine_servers": true,
  "deep_completions_work_mode": "LocalOnly",
  "hosted_deep_completions_enabled": "Disabled",
  "tabnine_cloud_host": null,
  "tabnine_cloud_certificate_domain": null,
  "tabnine_cloud_port": null,
  "cloud_whitelist": [],
  "num_of_suggestions": 6,
  "line_suggestions": true,
  "omit_prefix_suggestions": true,
  "api_key": null,
  "api_base_url": null,
  "binary_update_interval_seconds": null,
  "local_enabled": "Yes",
  "disable_local_when_using_battery": false,
  "hide_deep_information_message": false,
  "enable_power_saving_mode": false,
  "rate_limit_interval_seconds": null,
  "rate_limit_amount": null,
  "generation": 58,
  "local_model_size": "Large",
  "model_hash_override": null,
  "local_indexing": null,
  "heartbeat_interval_seconds": null,
  "last_service_level": null,
  "override_beams": null,
  "override_context_length": null,
  "onboarding": {
    "model_type": null,
    "skipped_login": true,
    "completed": false
  },
  "has_git_repos": null,
  "gusr": {
    "dgc": "06d4eb0fb17e9bfed12413bdaf1e8abbd57414d3132def2b4365a1e6401cc5ba"
  },
  "exclude_file_masks": null,
  "inline_suggestions_mode": true,
  "use_specialized_model_if_available": true,
  "empty_line_suggestions": false,
  "snippets_enabled_v2": true,
  "inline_suggestions_mode_clients": null,
  "tabnine_hub_port": 5555,
  "manually_selected_model": null,
  "hybrid_rendering_mode": null
}

Logs:

INFO [TabNine::main_utils] [2022-08-26:16:14:26 TabNine INFO] /Users/backrunner/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.125/aarch64-apple-darwin/TabNine --client=vscode --no-lsp=true --log-file-path=/Users/backrunner/Library/Preferences/TabNine/logs/log-76537 --client-metadata clientVersion=1.70.2 pluginVersion=3.6.14 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 vscode-theme-name=Luke Dark vscode-theme-kind=Dark vscode-machine-id=30d24c6d4e5c3f84c0fccfebc6debdd80ccbbd0f32f8dfc28526e041708e90ea vscode-is-new-app-install=false vscode-session-id=a9a4f682-1695-462a-a7b0-1b551e86ee791661501664723 vscode-language=zh-cn vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown ide-restart-counter=0
INFO [global_config::config_migrations] [2022-08-26:16:14:26 TabNine INFO] Migrating configuration properties if necessary...
INFO [watchdog_api::wd_client] [2022-08-26:16:14:26 TabNine INFO] Initializing watchdog client...
INFO [TabNine::bootstrap_support] [2022-08-26:16:14:26 TabNine INFO] trying to start tabnine version Some("4.4.125")
INFO [TabNine::bootstrap_support] [2022-08-26:16:14:26 TabNine INFO] spawning tabnine with args ["/Users/backrunner/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.125/aarch64-apple-darwin/TabNine", "--client=vscode", "--no-lsp=true", "--log-file-path=/Users/backrunner/Library/Preferences/TabNine/logs/log-76537", "--client-metadata", "clientVersion=1.70.2", "pluginVersion=3.6.14", "t9-vscode-AutoImportEnabled=true", "t9-vscode-TSAutoImportEnabled=true", "t9-vscode-JSAutoImportEnabled=true", "vscode-telemetry-enabled=true", "vscode-remote=false", "vscode-remote-name=undefined", "vscode-extension-kind=1", "vscode-theme-name=Luke Dark", "vscode-theme-kind=Dark", "vscode-machine-id=30d24c6d4e5c3f84c0fccfebc6debdd80ccbbd0f32f8dfc28526e041708e90ea", "vscode-is-new-app-install=false", "vscode-session-id=a9a4f682-1695-462a-a7b0-1b551e86ee791661501664723", "vscode-language=zh-cn", "vscode-app-name=Visual Studio Code", "vscode-beta-channel-enabled=false", "vscode-status-customization=unknown", "ide-restart-counter=0", "--no_bootstrap"]
INFO [TabNine::bootstrap_support] [2022-08-26:16:14:26 TabNine INFO] started tabnine process pid 76568 version Some("4.4.125"), desired version was Some("4.4.125") this version is Some("4.4.125")
INFO [TabNine::main_utils] [2022-08-26:16:14:26 TabNine INFO] /Users/backrunner/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.125/aarch64-apple-darwin/TabNine --client=vscode --no-lsp=true --log-file-path=/Users/backrunner/Library/Preferences/TabNine/logs/log-76537 --client-metadata clientVersion=1.70.2 pluginVersion=3.6.14 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 vscode-theme-name=Luke Dark vscode-theme-kind=Dark vscode-machine-id=30d24c6d4e5c3f84c0fccfebc6debdd80ccbbd0f32f8dfc28526e041708e90ea vscode-is-new-app-install=false vscode-session-id=a9a4f682-1695-462a-a7b0-1b551e86ee791661501664723 vscode-language=zh-cn vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown ide-restart-counter=0 --no_bootstrap
INFO [watchdog_api::wd_client] [2022-08-26:16:14:26 TabNine INFO] Initializing watchdog client...
INFO [frontend] [2022-08-26:16:14:26 TabNine INFO] LSP disabled
INFO [global_config::config_migrations] [2022-08-26:16:14:26 TabNine INFO] Migrating configuration properties if necessary...
INFO [recommend_tabnine_extension] [2022-08-26:16:14:26 TabNine INFO] registering recommender
INFO [recommend_tabnine_extension::vscode_recommended_extensions] [2022-08-26:16:14:26 TabNine INFO] not activating recommendation engine
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:26 TabNine INFO] No private model found
ERROR [models_api_singleton] [2022-08-26:16:14:26 TabNine ERROR] File exists (os error 17)
INFO [lunar_connection::model_chooser] [2022-08-26:16:14:26 TabNine INFO] current private model is None
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:26 TabNine INFO] Starting private model update thread
INFO [lunar_connection::model_chooser] [2022-08-26:16:14:26 TabNine INFO] using initial model Model {
    model_hash_override: None,
    model_size: Large,
    base_url: "https://update.tabnine.com",
}
INFO [lunar_connection::local_lunar_connection] [2022-08-26:16:14:26 TabNine INFO] starting default model pre-loader DownloadSettings {
    api_key: None,
    meta_data_base_url: "https://api.tabnine.com",
    model: Model {
        model_hash_override: None,
        model_size: Large,
        base_url: "https://update.tabnine.com",
    },
}
INFO [lunar_connection] [2022-08-26:16:14:26 TabNine INFO] lunar settings update thread started (Local(Public) default local)
INFO [lunar_connection::project_model_override_installer] [2022-08-26:16:14:26 TabNine INFO] project model override feature is disabled
INFO [lunar_connection] [2022-08-26:16:14:26 TabNine INFO] lunar settings update thread started (Local(Public) default local)
INFO [lunar_connection::model_chooser_connections] [2022-08-26:16:14:26 TabNine INFO] Started model connection config watcher loop.
INFO [lunar_connection] [2022-08-26:16:14:26 TabNine INFO] lunar settings update thread started (Remote cloud)
INFO [frontend::initialize] [2022-08-26:16:14:26 TabNine INFO] Started.
INFO [lunar_connection::local_lunar_connection] [2022-08-26:16:14:26 TabNine INFO] running command "/Users/v/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.125/aarch64-apple-darwin/TabNine-deep-local" "--settings" "/Users/backrunner/Library/Preferences/TabNine/local.settingsLarge" "--settings-version" "1" "--log-file-path" "/Users/backrunner/Library/Preferences/TabNine/logs/log-76537" "--client" "vscode" "--client-metadata" "clientVersion=1.70.2" "pluginVersion=3.6.14" "t9-vscode-AutoImportEnabled=true" "t9-vscode-TSAutoImportEnabled=true" "t9-vscode-JSAutoImportEnabled=true" "vscode-telemetry-enabled=true" "vscode-remote=false" "vscode-remote-name=undefined" "vscode-extension-kind=1" "vscode-theme-name=Luke Dark" "vscode-theme-kind=Dark" "vscode-machine-id=30d24c6d4e5c3f84c0fccfebc6debdd80ccbbd0f32f8dfc28526e041708e90ea" "vscode-is-new-app-install=false" "vscode-session-id=a9a4f682-1695-462a-a7b0-1b551e86ee791661501664723" "vscode-language=zh-cn" "vscode-app-name=Visual Studio Code" "vscode-beta-channel-enabled=false" "vscode-status-customization=unknown" "ide-restart-counter=0"
INFO [global_config::config_migrations] [2022-08-26:16:14:26 TabNine-deep-local INFO] Migrating configuration properties if necessary...
INFO [TabNine_deep_local] [2022-08-26:16:14:26 TabNine-deep-local INFO] parsed settings are Some(Settings { cpu_model: CpuModelSettings { rate_limit_interval_seconds: None, rate_limit_amount: None, enable_power_saving_mode: false }, download: DownloadSettings { api_key: None, meta_data_base_url: "https://api.tabnine.com", model: Model { model_hash_override: None, model_size: Large, base_url: "https://update.tabnine.com" } }, tune: TuneSettings { enable_power_saving_mode: false, override_beams: None, override_context_length: None }, run: RunSettings { is_enabled: true, omit_prefix_suggestions: false, line_suggestions: true } })
INFO [TabNine_deep_local] [2022-08-26:16:14:26 TabNine-deep-local INFO] local_lock_path "/Users/backrunner/Library/Preferences/TabNine/4.4.125/TabNine-deep-local.lockLarge"
INFO [TabNine_deep_local] [2022-08-26:16:14:26 TabNine-deep-local INFO] using settings Settings { cpu_model: CpuModelSettings { rate_limit_interval_seconds: None, rate_limit_amount: None, enable_power_saving_mode: false }, download: DownloadSettings { api_key: None, meta_data_base_url: "https://api.tabnine.com", model: Model { model_hash_override: None, model_size: Large, base_url: "https://update.tabnine.com" } }, tune: TuneSettings { enable_power_saving_mode: false, override_beams: None, override_context_length: None }, run: RunSettings { is_enabled: true, omit_prefix_suggestions: false, line_suggestions: true } }
INFO [watchdog_api::wd_client] [2022-08-26:16:14:26 TabNine-deep-local INFO] Initializing watchdog client...
INFO [lunar_endpoints::local::server] [2022-08-26:16:14:26 TabNine-deep-local INFO] Got new local client connection 127.0.0.1:58410
INFO [lunar_local::bridge] [2022-08-26:16:14:26 TabNine-deep-local INFO] TabNine Local communication thread started.
INFO [lunar_local::bridge] [2022-08-26:16:14:26 TabNine-deep-local INFO] Loading model...
ERROR [panic_handling] [2022-08-26:16:14:26 TabNine-deep-local ERROR] PanicInfo { payload: Any { .. }, message: None, location: Location { file: "shared/lunar_protocol/src/meta_data_loader.rs", line: 14, col: 13 }, can_unwind: true },    0: __mh_execute_header
   1: __mh_execute_header
   2: __mh_execute_header
   3: __mh_execute_header
   4: __mh_execute_header
   5: __mh_execute_header
   6: __mh_execute_header
   7: __mh_execute_header
   8: __mh_execute_header
   9: __mh_execute_header
  10: __mh_execute_header
  11: __pthread_deallocate

ERROR [panic_handling] [2022-08-26:16:14:26 TabNine-deep-local ERROR] PanicInfo { payload: Any { .. }, message: None, location: Location { file: "shared/lunar_protocol/src/meta_data_loader.rs", line: 14, col: 13 }, can_unwind: true },    0: __mh_execute_header
   1: __mh_execute_header
   2: __mh_execute_header
   3: __mh_execute_header
   4: __mh_execute_header
   5: __mh_execute_header
   6: __mh_execute_header
   7: __mh_execute_header
   8: __mh_execute_header
   9: __mh_execute_header
  10: __mh_execute_header
  11: __pthread_deallocate

INFO [frontend::pro_advanced_completions_capabilities_listener] [2022-08-26:16:14:26 TabNine INFO] initializing pro advanced completions capabilities subscriber...
ERROR [server::git_repository] [2022-08-26:16:14:26 TabNine ERROR] could not find repository from '/Users/backrunner/Library/Preferences/TabNine'; class=Repository (6); code=NotFound (-3)
INFO [frontend::pro_advanced_completions_capabilities_listener] [2022-08-26:16:14:26 TabNine INFO] pro advanced completions capabilities subscriber detected a change
INFO [auth::capabilities] [2022-08-26:16:14:26 TabNine INFO] User changed. Refreshing capabilities
INFO [auth::capabilities] [2022-08-26:16:14:26 TabNine INFO] Refreshing capabilities
ERROR [models_api::models_api_client] [2022-08-26:16:14:26 TabNine ERROR] No such file or directory (os error 2)
INFO [frontend::pro_advanced_completions_capabilities_listener] [2022-08-26:16:14:26 TabNine INFO] pro advanced completions capabilities subscriber detected a change
INFO [bootstrapper::bootstrapper_lib] [2022-08-26:16:14:27 TabNine INFO] current version is Some(Version { major: 4, minor: 4, patch: 125, pre: [], build: [] }), spawned version is Some(Version { major: 4, minor: 4, patch: 125, pre: [], build: [] }), remote version is Version { major: 4, minor: 4, patch: 125, pre: [], build: [] }
INFO [bootstrapper::bootstrapper_lib] [2022-08-26:16:14:27 TabNine INFO] don't need to upgrade
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] Checking if private model changed
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] active private model is None
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] removing private models from cache
ERROR [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine ERROR] Failed to remove private models from cache: No such file or directory (os error 2)
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] private model is same
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] sleeping for 3600s
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] Checking if private model changed
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] active private model is None
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] removing private models from cache
ERROR [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine ERROR] Failed to remove private models from cache: No such file or directory (os error 2)
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] private model is same
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] sleeping for 3600s
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] Checking if private model changed
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] active private model is None
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] removing private models from cache
ERROR [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine ERROR] Failed to remove private models from cache: No such file or directory (os error 2)
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] private model is same
INFO [lunar_connection::connection_choosers::private_models::state] [2022-08-26:16:14:27 TabNine INFO] sleeping for 3600s
ERROR [panic_handling] [2022-08-26:16:14:27 TabNine-deep-local ERROR] past message: PanicInfo { payload: Any { .. }, message: None, location: Location { file: "shared/lunar_protocol/src/meta_data_loader.rs", line: 14, col: 13 }, can_unwind: true }
WARN [lunar_connection] [2022-08-26:16:14:27 TabNine WARN] Got EOF when reading from socket. Resetting
INFO [lunar_connection::local_lunar_connection] [2022-08-26:16:14:27 TabNine INFO] running command "/Users/backrunner/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.125/aarch64-apple-darwin/TabNine-deep-local" "--settings" "/Users/backrunner/Library/Preferences/TabNine/local.settingsLarge" "--settings-version" "1" "--log-file-path" "/Users/backrunner/Library/Preferences/TabNine/logs/log-76537" "--client" "vscode" "--client-metadata" "clientVersion=1.70.2" "pluginVersion=3.6.14" "t9-vscode-AutoImportEnabled=true" "t9-vscode-TSAutoImportEnabled=true" "t9-vscode-JSAutoImportEnabled=true" "vscode-telemetry-enabled=true" "vscode-remote=false" "vscode-remote-name=undefined" "vscode-extension-kind=1" "vscode-theme-name=Luke Dark" "vscode-theme-kind=Dark" "vscode-machine-id=30d24c6d4e5c3f84c0fccfebc6debdd80ccbbd0f32f8dfc28526e041708e90ea" "vscode-is-new-app-install=false" "vscode-session-id=a9a4f682-1695-462a-a7b0-1b551e86ee791661501664723" "vscode-language=zh-cn" "vscode-app-name=Visual Studio Code" "vscode-beta-channel-enabled=false" "vscode-status-customization=unknown" "ide-restart-counter=0"
INFO [lunar_connection::local_lunar_connection] [2022-08-26:16:14:27 TabNine INFO] running command "/Users/backrunner/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.125/aarch64-apple-darwin/TabNine-deep-local" "--settings" "/Users/backrunner/Library/Preferences/TabNine/local.settingsLarge" "--settings-version" "1" "--log-file-path" "/Users/backrunner/Library/Preferences/TabNine/logs/log-76537" "--client" "vscode" "--client-metadata" "clientVersion=1.70.2" "pluginVersion=3.6.14" "t9-vscode-AutoImportEnabled=true" "t9-vscode-TSAutoImportEnabled=true" "t9-vscode-JSAutoImportEnabled=true" "vscode-telemetry-enabled=true" "vscode-remote=false" "vscode-remote-name=undefined" "vscode-extension-kind=1" "vscode-theme-name=Luke Dark" "vscode-theme-kind=Dark" "vscode-machine-id=30d24c6d4e5c3f84c0fccfebc6debdd80ccbbd0f32f8dfc28526e041708e90ea" "vscode-is-new-app-install=false" "vscode-session-id=a9a4f682-1695-462a-a7b0-1b551e86ee791661501664723" "vscode-language=zh-cn" "vscode-app-name=Visual Studio Code" "vscode-beta-channel-enabled=false" "vscode-status-customization=unknown" "ide-restart-counter=0"
INFO [global_config::config_migrations] [2022-08-26:16:14:27 TabNine-deep-local INFO] Migrating configuration properties if necessary...
INFO [global_config::config_migrations] [2022-08-26:16:14:27 TabNine-deep-local INFO] Migrating configuration properties if necessary...
INFO [TabNine_deep_local] [2022-08-26:16:14:27 TabNine-deep-local INFO] parsed settings are Some(Settings { cpu_model: CpuModelSettings { rate_limit_interval_seconds: None, rate_limit_amount: None, enable_power_saving_mode: false }, download: DownloadSettings { api_key: None, meta_data_base_url: "https://api.tabnine.com", model: Model { model_hash_override: None, model_size: Large, base_url: "https://update.tabnine.com" } }, tune: TuneSettings { enable_power_saving_mode: false, override_beams: None, override_context_length: None }, run: RunSettings { is_enabled: true, omit_prefix_suggestions: false, line_suggestions: true } })
INFO [TabNine_deep_local] [2022-08-26:16:14:27 TabNine-deep-local INFO] local_lock_path "/Users/backrunner/Library/Preferences/TabNine/4.4.125/TabNine-deep-local.lockLarge"
INFO [TabNine_deep_local] [2022-08-26:16:14:27 TabNine-deep-local INFO] TabNine-deep-local is already running, responding with existing port
INFO [TabNine_deep_local] [2022-08-26:16:14:27 TabNine-deep-local INFO] parsed settings are Some(Settings { cpu_model: CpuModelSettings { rate_limit_interval_seconds: None, rate_limit_amount: None, enable_power_saving_mode: false }, download: DownloadSettings { api_key: None, meta_data_base_url: "https://api.tabnine.com", model: Model { model_hash_override: None, model_size: Large, base_url: "https://update.tabnine.com" } }, tune: TuneSettings { enable_power_saving_mode: false, override_beams: None, override_context_length: None }, run: RunSettings { is_enabled: true, omit_prefix_suggestions: false, line_suggestions: true } })
INFO [TabNine_deep_local] [2022-08-26:16:14:27 TabNine-deep-local INFO] local_lock_path "/Users/backrunner/Library/Preferences/TabNine/4.4.125/TabNine-deep-local.lockLarge"
INFO [TabNine_deep_local] [2022-08-26:16:14:27 TabNine-deep-local INFO] TabNine-deep-local is already running, responding with existing port
INFO [lunar_endpoints::local::server] [2022-08-26:16:14:27 TabNine-deep-local INFO] Got new local client connection 127.0.0.1:58438
INFO [lunar_endpoints::local::server] [2022-08-26:16:14:27 TabNine-deep-local INFO] Got new local client connection 127.0.0.1:58439
ERROR [panic_handling] [2022-08-26:16:14:27 TabNine-deep-local ERROR] PanicInfo { payload: Any { .. }, message: Some(called `Result::unwrap()` on an `Err` value: PoisonError { .. }), location: Location { file: "deep/lunar_endpoints/src/local/handlers/model_related_data.rs", line: 38, col: 5 }, can_unwind: true },    0: __mh_execute_header
   1: __mh_execute_header
   2: __mh_execute_header
   3: __mh_execute_header
   4: __mh_execute_header
   5: __mh_execute_header
   6: __mh_execute_header
   7: __mh_execute_header
   8: __mh_execute_header
   9: __mh_execute_header
  10: __mh_execute_header
  11: __mh_execute_header
  12: __pthread_deallocate

ERROR [panic_handling] [2022-08-26:16:14:28 TabNine-deep-local ERROR] past message: PanicInfo { payload: Any { .. }, message: None, location: Location { file: "shared/lunar_protocol/src/meta_data_loader.rs", line: 14, col: 13 }, can_unwind: true }
ERROR [panic_handling] [2022-08-26:16:14:28 TabNine-deep-local ERROR] past message: PanicInfo { payload: Any { .. }, message: None, location: Location { file: "shared/lunar_protocol/src/meta_data_loader.rs", line: 14, col: 13 }, can_unwind: true }
WARN [lunar_connection] [2022-08-26:16:14:28 TabNine WARN] Got EOF when reading from socket. Resetting
ERROR [server::project_cache] [2022-08-26:16:14:28 TabNine ERROR] failed to fetch model related data: Error(StreamEOF, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [panic_handling] [2022-08-26:16:14:28 TabNine-deep-local ERROR] PanicInfo { payload: Any { .. }, message: Some(called `Result::unwrap()` on an `Err` value: PoisonError { .. }), location: Location { file: "deep/lunar_endpoints/src/local/handlers/model_related_data.rs", line: 38, col: 5 }, can_unwind: true },    0: __mh_execute_header
   1: __mh_execute_header
   2: __mh_execute_header
   3: __mh_execute_header
   4: __mh_execute_header
   5: __mh_execute_header
   6: __mh_execute_header
   7: __mh_execute_header
   8: __mh_execute_header
   9: __mh_execute_header
  10: __mh_execute_header
  11: __mh_execute_header
  12: __pthread_deallocate

ERROR [panic_handling] [2022-08-26:16:14:28 TabNine-deep-local ERROR] past message: PanicInfo { payload: Any { .. }, message: Some(called `Result::unwrap()` on an `Err` value: PoisonError { .. }), location: Location { file: "deep/lunar_endpoints/src/local/handlers/model_related_data.rs", line: 38, col: 5 }, can_unwind: true }
ERROR [panic_handling] [2022-08-26:16:14:28 TabNine-deep-local ERROR] past message: PanicInfo { payload: Any { .. }, message: None, location: Location { file: "shared/lunar_protocol/src/meta_data_loader.rs", line: 14, col: 13 }, can_unwind: true }
ERROR [panic_handling] [2022-08-26:16:14:28 TabNine-deep-local ERROR] past message: PanicInfo { payload: Any { .. }, message: None, location: Location { file: "shared/lunar_protocol/src/meta_data_loader.rs", line: 14, col: 13 }, can_unwind: true }
WARN [lunar_connection] [2022-08-26:16:14:28 TabNine WARN] Got EOF when reading from socket. Resetting
ERROR [server::project_cache] [2022-08-26:16:14:28 TabNine ERROR] failed to fetch model related data: Error(StreamEOF, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:28 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:28 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:28 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:28 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
INFO [lunar_connection::local_lunar_connection] [2022-08-26:16:14:28 TabNine INFO] TabNine-deep-local exited with status exit status: 0
INFO [lunar_connection::local_lunar_connection] [2022-08-26:16:14:28 TabNine INFO] TabNine-deep-local exited with status exit status: 0
ERROR [server::project_cache] [2022-08-26:16:14:29 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:29 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:31 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:31 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:32 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:32 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:34 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:34 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:35 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:35 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:36 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:36 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:36 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:36 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:36 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:36 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:37 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:37 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:38 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:38 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
INFO [lunar_connection::local_lunar_connection] [2022-08-26:16:14:39 TabNine INFO] TabNine-deep-local exited with status exit status: 0
ERROR [server::project_cache] [2022-08-26:16:14:40 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:40 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:41 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:41 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:43 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:43 TabNine ERROR] Failed to get is enabled data from lunar local Error(ChildThrottling, State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
ERROR [server::project_cache] [2022-08-26:16:14:44 TabNine ERROR] Failed to get is enabled data from lunar local

gz#17461

backrunner avatar Aug 26 '22 08:08 backrunner

Are you working with the model locally only? Perhaps the large model is too heavy on your machine? Can you the hybrid mode?

maya-tabnine avatar Sep 11 '22 08:09 maya-tabnine

Are you working with the model locally only? Perhaps the large model is too heavy on your machine?

Can you the hybrid mode?

Actually in the company the local mode is better to use, my laptop is MacBook Pro (16 inch-2021) with 32G RAM, does the large model requires more?

backrunner avatar Sep 11 '22 09:09 backrunner

It should run ok, but I am not an expert. I will ask one of our developers to take a look here!

maya-tabnine avatar Sep 11 '22 12:09 maya-tabnine

hi @backrunner, The large local_model_size value is not supported. acceptable values are XSmall, Small and Medium

talcodota avatar Sep 11 '22 12:09 talcodota

hi @backrunner,

The large local_model_size value is not supported.

acceptable values are XSmall, Small and Medium

When I set it to some other meaningless value, the error tip shows that it can be "Large" Is that not implemented yet but will be supported soon or it just will not be supported in a long time? I had already set it back to Medium and everything works well now.

backrunner avatar Sep 11 '22 13:09 backrunner

hi @backrunner, The large local_model_size value is not supported. acceptable values are XSmall, Small and Medium

When I set it to some other meaningless value, the error tip shows that it can be "Large" Is that not implemented yet but will be supported soon or it just will not be supported in a long time? I had already set it back to Medium and everything works well now.

What error tooltip? didn't you change the value from the tabnine.config file? Right now we have no plans to support it.

Happy to hear everything works now.

talcodota avatar Sep 11 '22 14:09 talcodota

hi @backrunner, The large local_model_size value is not supported. acceptable values are XSmall, Small and Medium

When I set it to some other meaningless value, the error tip shows that it can be "Large" Is that not implemented yet but will be supported soon or it just will not be supported in a long time? I had already set it back to Medium and everything works well now.

What error tooltip? didn't you change the value from the tabnine.config file? Right now we have no plans to support it.

Happy to hear everything works now.

The error message was in the log file, when I set "local_model_size" to some meaningless value, it showed, so I gave it a try to set "local_model_size" to "Large" (Before the hub updated to the current UI, in my memory there's also an option to set model size, and there was an option called "Large", so I mistakenly thought that the large model size had already been supported).

Thanks for your answer❤, there's no more questions.

backrunner avatar Sep 11 '22 14:09 backrunner