dhwz
dhwz
@Photosounder did you try using xformers instead?
@xGSTQ note you've to use --medvram on 8GB that's mandatory else it's very slow
@Jellybit you're using the studio or the game ready drivers?
It's on a SSD and .ckpt load fast, only .safetensors load extremely slow. The first on startup loaded in 21sec and the other one in 193secs?
Did even more tests, issue only happens to .safetensors not to .ckpt, not matter if I use a HDD or a SSD (of course SSD is a bit faster) but...
@Narsil replacing ```pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)``` by ```pl_sd = safetensors.torch.load(open(checkpoint_file, 'rb').read())``` fixes the issue, seems you were right regarding that mem-mapping thing. FYI setting ```export NO_TCMALLOC="True"``` in webui-user.sh doesn't change...
ok thx, no problem I've created a PR hope it gets accepted @Sakura-Luna so can we please agree on this that it is a bug and I've added a PR...
Interesting I've also 64GB The proposed PR fixes it without the need to set ```--lowram```
@freecoderwaifu I've tried the ```--lowram``` option but doesn't fix my issue it's still slow after enabling it.
Fixed in dev after merge of the PR (14196548c55dfe4775c96bdb939ce1a150933393)