From 023e13b3714d34b02de5d23fcdb6cb3e5f63e5ab Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Mon, 24 Apr 2023 19:20:48 -0400 Subject: [PATCH] disable git status check --- TODO.md | 10 +--------- setup.py | 8 ++++---- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/TODO.md b/TODO.md index 3df127171..fc4bdc1c5 100644 --- a/TODO.md +++ b/TODO.md @@ -57,12 +57,4 @@ Tech that can be integrated as part of the core workflow... ### Pending Code Updates -- use samples format for live preview -- identify race condition where generate locks up while fetching preview -- add pulldowns to x/y/z script -- add VAE rollback feature in case of NaNs -- add token merging -- use **Approx NN** for live preview -- create default `styles.csv` -- fix setup not installing `tensorflow` dependencies -- update default git flags to reduce number of warnings +- update GPU utility search paths for better GPU type detection diff --git a/setup.py b/setup.py index ac6f969de..59eb0a65e 100644 --- a/setup.py +++ b/setup.py @@ -396,10 +396,10 @@ def check_version(): if not os.path.exists('.git'): log.error('Not a git repository') exit(1) - status = git('status') - if 'branch' not in status: - log.error('Cannot get git repository status') - exit(1) + _status = git('status') + # if 'branch' not in status: + # log.error('Cannot get git repository status') + # exit(1) ver = git('log -1 --pretty=format:"%h %ad"') log.info(f'Version: {ver}') commit = git('rev-parse HEAD')