Skip to content

launch.py: fix git_tag() & fix commit_hash() & simplify#10321

Merged
AUTOMATIC1111 merged 2 commits into
AUTOMATIC1111:devfrom
akx:fix-launch-git-get
May 12, 2023
Merged

launch.py: fix git_tag() & fix commit_hash() & simplify#10321
AUTOMATIC1111 merged 2 commits into
AUTOMATIC1111:devfrom
akx:fix-launch-git-get

Conversation

@akx

@akx akx commented May 12, 2023

Copy link
Copy Markdown
Collaborator

Describe what this pull request is trying to achieve.

I broke git_tag() and commit_hash() when live is forced to True, so this fixes those two functions to not use run() because check_output() is a thing,

On that note, this also simplifies a pair of functions that were only called once anymore.

Environment this was tested in

  • OS: Windows
  • Browser: not relevant
  • Graphics card: yep!

@akx akx requested a review from AUTOMATIC1111 as a code owner May 12, 2023 17:58
@AUTOMATIC1111 AUTOMATIC1111 merged commit 9080af5 into AUTOMATIC1111:dev May 12, 2023
@navidmafi

Copy link
Copy Markdown

@AUTOMATIC1111 This commit introduces a regression where the pytorch cuda check halts forever

Using "--skip-torch-cuda-test" seems to work around it

Also version and commit hash cannot be detected anymore :

b4ad31d
image

dev
image

@akx

akx commented May 14, 2023

Copy link
Copy Markdown
Collaborator Author

Fixed by #10384. Sorry for the trouble.

@akx akx deleted the fix-launch-git-get branch June 13, 2023 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants