stemd: AUTO_SCAN off by default
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4ccb5051ca
commit
455d9a790c
3 files changed
+4
-4
No files matched your search
@@ -123,7 +123,7 @@ To update, copy the new files, rebuild, `docker rm -f` the container and run it
|
|||||||
| `MODEL` | `roformer_bs_sw` | Any id from [the model table](#separation-models) |
|
| `MODEL` | `roformer_bs_sw` | Any id from [the model table](#separation-models) |
|
||||||
| `DEVICE` | `cuda` | `cuda`, `cuda:N` or `cpu` |
|
| `DEVICE` | `cuda` | `cuda`, `cuda:N` or `cpu` |
|
||||||
| `RESCAN_MIN` | `30` | Minutes between library scans once caught up |
|
| `RESCAN_MIN` | `30` | Minutes between library scans once caught up |
|
||||||
| `AUTO_SCAN` | `1` | `0` to skip library scans and only separate Stem Now requests |
|
| `AUTO_SCAN` | `0` | `1` to scan the library on a timer. Off by default: only Stem Now requests are separated |
|
||||||
| `FP16` | `1` | Half precision on the GPU (`0` for fp32) |
|
| `FP16` | `1` | Half precision on the GPU (`0` for fp32) |
|
||||||
| `OVERLAP`, `SEGMENT`, `SHIFTS` | `0.25`, `0`, `0` | Separation quality, same as the desktop app |
|
| `OVERLAP`, `SEGMENT`, `SHIFTS` | `0.25`, `0`, `0` | Separation quality, same as the desktop app |
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -129,7 +129,7 @@ the app would briefly see no stems.
|
|||||||
| `MODEL` | `roformer_bs_sw` | any id from `stemify/catalog.py` |
|
| `MODEL` | `roformer_bs_sw` | any id from `stemify/catalog.py` |
|
||||||
| `DEVICE` | `cuda` | `cuda`, `cuda:N` or `cpu` |
|
| `DEVICE` | `cuda` | `cuda`, `cuda:N` or `cpu` |
|
||||||
| `RESCAN_MIN` | `30` | minutes between scans once caught up |
|
| `RESCAN_MIN` | `30` | minutes between scans once caught up |
|
||||||
| `AUTO_SCAN` | `1` | `0` = never scan the library, only do Stem Now requests |
|
| `AUTO_SCAN` | `0` | `1` = scan the library every `RESCAN_MIN`; `0` = only do Stem Now requests |
|
||||||
| `FP16` | `1` | half precision on the GPU (`0` for fp32) |
|
| `FP16` | `1` | half precision on the GPU (`0` for fp32) |
|
||||||
| `OVERLAP`, `SEGMENT`, `SHIFTS` | `0.25`, `0`, `0` | as in the desktop app's settings |
|
| `OVERLAP`, `SEGMENT`, `SHIFTS` | `0.25`, `0`, `0` | as in the desktop app's settings |
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -20,7 +20,7 @@ Settings (environment):
|
|||||||
MODEL roformer_bs_sw any id from stemify/catalog.py
|
MODEL roformer_bs_sw any id from stemify/catalog.py
|
||||||
DEVICE cuda cuda, cuda:N or cpu
|
DEVICE cuda cuda, cuda:N or cpu
|
||||||
RESCAN_MIN 30 minutes between scans once caught up
|
RESCAN_MIN 30 minutes between scans once caught up
|
||||||
AUTO_SCAN 1 0 = never scan the library; only separate Stem Now requests
|
AUTO_SCAN 0 1 = scan the library on a timer; 0 = only separate Stem Now requests
|
||||||
FP16 1 half precision on the GPU
|
FP16 1 half precision on the GPU
|
||||||
OVERLAP / SEGMENT / SHIFTS as in the desktop app's settings
|
OVERLAP / SEGMENT / SHIFTS as in the desktop app's settings
|
||||||
"""
|
"""
|
||||||
@@ -48,7 +48,7 @@ MODELS_DIR = os.environ.get("MODELS_DIR", "/models")
|
|||||||
MODEL = os.environ.get("MODEL", "roformer_bs_sw")
|
MODEL = os.environ.get("MODEL", "roformer_bs_sw")
|
||||||
DEVICE = os.environ.get("DEVICE", "cuda")
|
DEVICE = os.environ.get("DEVICE", "cuda")
|
||||||
RESCAN_S = float(os.environ.get("RESCAN_MIN", "30")) * 60
|
RESCAN_S = float(os.environ.get("RESCAN_MIN", "30")) * 60
|
||||||
AUTO_SCAN = os.environ.get("AUTO_SCAN", "1") not in ("0", "false", "no", "")
|
AUTO_SCAN = os.environ.get("AUTO_SCAN", "0") in ("1", "true", "yes")
|
||||||
FP16 = os.environ.get("FP16", "1") not in ("0", "false", "no", "")
|
FP16 = os.environ.get("FP16", "1") not in ("0", "false", "no", "")
|
||||||
OVERLAP = float(os.environ.get("OVERLAP", "0.25"))
|
OVERLAP = float(os.environ.get("OVERLAP", "0.25"))
|
||||||
SEGMENT = float(os.environ.get("SEGMENT", "0"))
|
SEGMENT = float(os.environ.get("SEGMENT", "0"))
|
||||||
|
|||||||
Reference in new issue
Block a user