Skip to content

[Bug]: Cannot locate TCMalloc #10117

@RiverBankChild

Description

@RiverBankChild

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

when i run webui.sh on centos server, it came out a error : Cannot locate TCMalloc (improves CPU memory usage)
1683283094278

Steps to reproduce the problem

  1. git pull
  2. ./webui.sh

What should have happened?

this error should not happen

Commit where the problem happens

5ab7f21

What platforms do you use to access the UI ?

No response

What browsers do you use to access the UI ?

No response

Command Line Arguments

eval "$(conda shell.bash hook)"
conda activate sdwebui
export COMMANDLINE_ARGS="--share --xformers --enable-insecure-extension-access"

List of extensions

1683283368017

Console logs

(base) [zjh@VM-0-2-centos stable-diffusion-webui]$ ./webui.sh

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on zjh user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Cannot locate TCMalloc (improves CPU memory usage)
Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:36:39) [GCC 10.4.0]
Commit hash: 5ab7f213bec2f816f9c5644becb32eb72c8ffb89
Installing requirements


Launching Web UI with arguments: --share --xformers --enable-insecure-extension-access
==============================================================================
You are running torch 1.13.1+cu117.
The program is tested to work with torch 2.0.0.
To reinstall the desired version, run with commandline flag --reinstall-torch.
Beware that this will cause a lot of large files to be downloaded, as well as
there are reports of issues with training tab on the latest version.

Use --skip-version-check commandline argument to disable this check.
==============================================================================
=================================================================================
You are running xformers 0.0.16rc425.
The program is tested to work with xformers 0.0.17.
To reinstall the desired version, run with commandline flag --reinstall-xformers.

Use --skip-version-check commandline argument to disable this check.
=================================================================================
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: /home/zjh/stable-diffusion-webui/extensions/Stable-Diffusion-Webui-Civitai-Helper/setting.json
Civitai Helper: No setting file, use default
ControlNet v1.1.112
ControlNet v1.1.112
Loading weights [db220d90e5] from /home/zjh/stable-diffusion-webui/models/Stable-diffusion/chilloutmix-Ni-non-ema-fp32.safetensors
Creating model from config: /home/zjh/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(0): 
Model loaded in 3.5s (load weights from disk: 0.2s, create model: 0.5s, apply weights to model: 0.7s, apply half(): 0.2s, load VAE: 1.3s, move model to device: 0.6s).
Running on local URL:  http://127.0.0.1:7860
Running on public URL: https://77e0ebb4f66b51594b.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces
Startup time: 9.7s (import torch: 0.9s, import gradio: 1.1s, import ldm: 0.4s, other imports: 0.7s, load scripts: 0.8s, load SD checkpoint: 3.6s, create ui: 0.6s, gradio launch: 1.5s).

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions