Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Help instructions for disabling use of GPU by AI commands don't work

LEGEND ,
Apr 22, 2024 Apr 22, 2024

This Help article explains how to disable the use of the GPU by LR's AI commands:

"If you get an error while trying to use AI-powered features such as Denoise, Lens Blur, and Masking, follow these troubleshooting steps to resolve the issue:"

 

In LR 13.2 / Mac OS 14.4.1 / Macbook Pro M2 Max, these steps don't disable the use of the GPU. So either LR should be fixed or the Help article corrected.

 

Given the continued issues LR has with GPUs over the past couple years, most especially with AMD chips on both Mac and Windows, affecting many users, it would greatly help troubleshooting users' problems if they were allowed to disable the GPU for AI commands. It would be even better if there were a sub-option of Preferences > Performance > Use Graphics Processor, as there is for all the other uses of the GPU by LR.

 

In addition, allowing users to disable the GPU for AI commands would allow them to continue using LR while the problems between Adobe, Apple, AMD, and Nvidia are resolved.

 

Such a trivial amount of coding would significantly reduce customer's frustrations and make it much easier for those providing support to diagnose GPU issues.

 

To reproduce the problems:

 

1. Set Preferences > Performance > Use Graphics Processor to Off.

 

2. Create the file DisableGPUInference.txt as detailed in the Help article, and restart LR:

johnrellis_0-1713801594678.pngexpand image

 

3. Edit a large-resolution photo in Develop and create a large Object mask.

 

4. Select additional photos in the filmstrip and do Sync, selecting Masking. Observe the error message "Some masking models failed to download":

johnrellis_1-1713802829562.pngexpand image

 

5. With multiple photos still selected in the filmstrip, right-click the most-selected photo and do Develop Settings > Update AI Settings. Observe the same error.

 

6. Reset the photo and try to create a People mask. Observe the same error:

johnrellis_2-1713802982098.pngexpand image

 

6. Start Activity Monitor and do Window > CPU History and GPU History. Do View > Update Frequence > Very Often.

 

7. In LR Library, select one large-resolution raw and do Photo > Enhance > Denoise. Observe the GPU utilization is 100% while Denoise is running:

johnrellis_3-1713803450247.pngexpand image

 

8. Arrange many large-resolution raws in the filmstrip (e.g. 100-MP Fujifilm GFX 100 raws). Click on the first, check Lens Blur > Apply. When it completes, immediately select the next photo in the filmstrip and check Lens Blur > Apply. Repeat. Observe the spike in GPU usage for each application of Lens Blur:

johnrellis_4-1713804410673.pngexpand image

 

 

TOPICS
macOS , Windows
534
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 26, 2024 Apr 26, 2024
LATEST

Thanks for posting this @johnrellis – this is helpful.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines