How to fix Automatic1111 DirectML on AMD 12/2023! Fix broken stable diffusion setup for ONNX/Olive
About
No channel description available.
Latest Posts
Video Description
*Update March 2024 -- better way to do this* https://youtu.be/n8RhNoAenvM Currently if you try to install Automatic1111 and are using the DirectML fork for AMD GPU's, you will get several errors. This show how to get around the broken pieces and be able to use Automatic1111 again. Install Git for windows: https://gitforwindows.org/ Install Python 3.10.6 for windows: https://www.python.org/downloads/release/python-3106/ *be sure to add to path!* Clone automatic1111 Directml: copy url for .git repo https://github.com/lshqqytiger/stable-diffusion-webui-directml run automatic1111 to create virtual environment run webui-user.bat file -- it will give an error fix errors: venv\Scripts\activate pip install -r requirements.txt pip install httpx==0.24.1 edit webui-user.bat file inside of automatic1111 folder and add command line arguments and save: --use-directml --onnx Inside of automatic1111 folder find modules\sd_models.py file, edit it comment out lines 632 - 635 by putting a # in front of the lines and save file close out Automatic1111 Now you can run Automatic1111 by double-clicking on the webui-user.bat file from windows, or make a shortcut to it if you prefer. Automatic1111 should now work the way it used to and should allow optimizing ONNX models.
Upgrade Your Photography Today
AI-recommended products based on this video

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

koolehaoda L Shape Camera Bracket, Video Vertical Shooting Quick Release Plate L Stand Arca Swiss Compatible for Tripod Head Ballhead DSLR Camera

ANXRE 71" Phone Tripod, NT79 Extendable Selfie Stick for Cell Phone&Camera Photo Video Kits, Travel Tripod Stand with Remote for Video Recording, Phone Holder Tripod Compatible with Phone Camera Gopro

NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

SanDisk 32GB Ultra Dual Drive Luxe USB Type-C - SDDDC4-032G-GAM46

SanDisk 32GB Ultra Dual Drive M3.0 for Android Devices and Computers - Microusb, USB 3.0 - SDDD3-032G-G46

SanDisk 32GB Ultra Dual Drive USB Type-C - USB-C, USB 3.1 - SDDDC2-032G-G46

SanDisk 32GB 3-Pack Cruzer Glide USB 2.0 Flash Drive (3x32GB) - SDCZ60-032G-G46T, Black

SENDEFN Leather Wristlet Clutch Small Women Crossbody Shoulder Bag Wallet Purses RIFD Card Slots

FuninCrea Mens Sling Bag, Oxford Chest Bag Shoulder Bag with Adjustable Shoulder Straps

VNINE Small Sling Crossbody Backpack Shoulder Bag for Men Women, Lightweight One Strap Back Pack Sling Bag Backpack for Hiking Walking Biking Travel Cycling with Headphone Port

OSOCE RFID Mens Sling Bag, Anti-theft Crossbody Shoulder Bag Travel Cycling Sport Hiking Bags for Men Women Casual Daypack(2.0Black-S)











