You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
COMMANDLINE_ARGS= --use-directml --device-id 1
uses GPU1, 4.8gb of things seem to be loaded into the GPU memory according to task manager, no black preview or image, just PDHError in 0.4s
Steps to reproduce the problem
git clone this repo
add --use-directml to COMMANDLINE_ARGS in webui-user.bat
run first time, let it install stuff and close
change COMMANDLINE_ARGS then run webui-user.bat
go to txt2img, default settings, prompt 'car'
What should have happened?
Using the second GPU probably shouldn't cause an error if it works on the first one
--device-id 1 breaks on all DirectML memory stats providers "None", "atiadlxx" or "Performance Counter"
by the way, the old webui does launch and work on both GPUs except every image is now black with no preview, it was working as of yesterday
Edit: Ignore this part, I'm dumb, found why
The text was updated successfully, but these errors were encountered:
Yep, that fixes it. All three DirectML memory stats provider settings seem to work without errors in the console.
My guess why that happens is when you use a device id, it only sees that device as "device 0". When it's the actual GPU 0 it just so happens to line up and not break, while any other id would probably trigger this.
Checklist
What happened?
txt2img with --device-id 1 raises PDHError
System with 2 Vega 56's, GPU0 and GPU1
today my old install from last year downloaded something itself and broke, whatever
moved it somewhere else, then reinstalled from scratch (601f7e3)
COMMANDLINE_ARGS= --use-directml
uses GPU0, runs as usual, generates image
COMMANDLINE_ARGS= --use-directml --device-id 0
uses GPU0, runs as usual, generates image
COMMANDLINE_ARGS= --use-directml --device-id 1
uses GPU1, 4.8gb of things seem to be loaded into the GPU memory according to task manager, no black preview or image, just PDHError in 0.4s
Steps to reproduce the problem
What should have happened?
Using the second GPU probably shouldn't cause an error if it works on the first one
What browsers do you use to access the UI ?
No response
Sysinfo
sysinfo-2024-02-25-04-06.json
Console logs
Additional information
XFX Vega 56 Double *2
AMD Pro 22Q4 drivers
Installed on a U.2 SSD (not boot drive)
Console logs attached as files
logs-no-device-id.txt
logs-device-id-0.txt
logs-device-id-1.txt
this comment seems to be related
#234 (comment)
--device-id 1 breaks on all DirectML memory stats providers "None", "atiadlxx" or "Performance Counter"
by the way, the old webui does launch and work on both GPUs except every image is now black with no preview, it was working as of yesterdayEdit: Ignore this part, I'm dumb, found why
The text was updated successfully, but these errors were encountered: