mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
update launcher
This commit is contained in:
+2
-1
@@ -1,3 +1,4 @@
|
||||
#/bin/env bash
|
||||
|
||||
export PYTORCH_CUDA_ALLOC_CONF=garbage_collection_threshold:0.9,max_split_size_mb:512
|
||||
python launch.py --api --api-log --xformers --disable-console-progressbars
|
||||
python launch.py --api --xformers --disable-console-progressbars
|
||||
|
||||
@@ -211,8 +211,8 @@ def prepare_environment():
|
||||
|
||||
commit = commit_hash()
|
||||
|
||||
print(f"Python {sys.version}")
|
||||
print(f"Commit hash: {commit}")
|
||||
# print(f"Python {sys.version}")
|
||||
# print(f"Commit hash: {commit}")
|
||||
|
||||
if not is_installed("torch") or not is_installed("torchvision"):
|
||||
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
|
||||
|
||||
Reference in New Issue
Block a user