mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 13:23:28 +00:00
7c90bcb95b
* First draft on image labeling * Fixing execution providers for other OSs * Better error handling and shutdown * Working with shallow media processor * bruh * Fix warnings * Now hooked to media processor job * Link desktop app with libonnxruntime to avoid TLS error during startup * Be able to change models on runtime Revert to use labels table instead of tags * A bug on a model-less inference * Show AI labels on Inspector - Change yolo inference to use half precision - Add labels api to core * Remove LD_PRELOAD * Fix race condition on model executor shutdown * Don't load all images in memory moron * Embeed yolo model in prod build - Change yolo model path to new one relative to executable * Disable volume watcher on linux, it was crashing the app - Invalidate labels when they are updated * Rust fmt * Minor changes * Gate onnxruntime linking to the ai-models feature * Add build script to sd-server to handle onnxruntime linking workaround * Move AI stuff to its own crate and normalize deps * Rust fmt * Don't regenerate labels unless asked to * Now blazingly fast * Bad merge * Fix * Fix * Add backend logic to download extra yolo models * Add models api route - Add api call to get available model version - Add api call to change the model version * Improve new model download logic - Add frontend to change image labeler model * Fix new model downloader * Fix model select width * invalidate labels count after media_processor generates a new output * Rename AI crate and first draft on download notifications * fix types --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com> Co-authored-by: Brendan Allan <brendonovich@outlook.com>
72 lines
1.6 KiB
JSON
72 lines
1.6 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Tauri Development Debug",
|
|
"cargo": {
|
|
"args": [
|
|
"build",
|
|
"--manifest-path=./apps/desktop/src-tauri/Cargo.toml",
|
|
"--no-default-features",
|
|
"--features=ai-models"
|
|
],
|
|
"problemMatcher": "$rustc"
|
|
},
|
|
"env": {
|
|
"RUST_BACKTRACE": "short"
|
|
// "RUST_LOG": "sd_core::invalidate-query=trace"
|
|
},
|
|
"sourceLanguages": ["rust"],
|
|
"preLaunchTask": "ui:dev"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Tauri Production Debug",
|
|
"cargo": {
|
|
"args": [
|
|
"build",
|
|
"--release",
|
|
"--manifest-path=./apps/desktop/src-tauri/Cargo.toml"
|
|
],
|
|
"problemMatcher": "$rustc"
|
|
},
|
|
"sourceLanguages": ["rust"],
|
|
"preLaunchTask": "ui:build"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug unit tests in library 'sd-core'",
|
|
"cargo": {
|
|
"args": ["test", "--no-run", "--lib", "--package=sd-core"],
|
|
"filter": {
|
|
"name": "sd-core",
|
|
"kind": "lib"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug unit tests in library 'sd-crypto'",
|
|
"cargo": {
|
|
"args": ["test", "--no-run", "--lib", "--package=sd-crypto"],
|
|
"filter": {
|
|
"name": "sd-crypto",
|
|
"kind": "lib"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
]
|
|
}
|