Package
ComfyUI
When did the issue occur?
Running the Package
What GPU / hardware type are you using?
AMD Radeon RX 6800 (gfx1030), 32 GB system RAM
What happened?
This behavior first began today, August 12, 2026. ComfyUI had previously been running normally on this system with Smart App Control enabled.
When launching ComfyUI with the Windows AMD ROCm setup through Stability Matrix, ComfyUI fails to start while PyTorch initializes ROCm.
The failure is caused by Windows Smart App Control / Code Integrity blocking:
E:\Data\Packages\ComfyUI\venv\Lib\site-packages\_rocm_sdk_libraries\bin\rocsolver.dll
A standalone import torch test fails with:
OSError: [WinError 4551] An Application Control policy has blocked this file
Windows Code Integrity logs identify the active policy as VerifiedAndReputableDesktop and report that rocsolver.dll does not meet the required signing level. Get-AuthenticodeSignature reports the DLL as NotSigned.
I then disabled Smart App Control and made no changes to Stability Matrix, ComfyUI, Python, PyTorch, ROCm, or the installed packages. With Smart App Control disabled, ComfyUI starts and runs normally.
Expected behavior:
The Windows AMD ROCm package installed by Stability Matrix should be usable on a Smart App Control-enabled Windows system, or Stability Matrix should detect/warn that the installed ROCm DLLs will be blocked.
Actual behavior:
Smart App Control blocks the unsigned ROCm DLL during PyTorch initialization, preventing ComfyUI from starting.
Console output
Standalone PyTorch reproduction — Smart App Control ON
E:\Data\Packages\ComfyUI\venv\Scripts\python.exe -c "import torch; print('Torch:', torch.__version__); print('HIP:', torch.version.hip); print('GPU:', torch.cuda.get_device_name(0) if torch.cuda.is_available() else 'not available')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "E:\Data\Packages\ComfyUI\venv\Lib\site-packages\torch\__init__.py", line 162, in <module>
_rocm_init.initialize()
File "E:\Data\Packages\ComfyUI\venv\Lib\site-packages\torch\_rocm_init.py", line 4, in initialize
rocm_sdk.initialize_process(
File "E:\Data\Packages\ComfyUI\venv\Lib\site-packages\rocm_sdk\__init__.py", line 145, in initialize_process
preload_libraries(*preload_shortnames, rtld_global=rtld_global)
File "E:\Data\Packages\ComfyUI\venv\Lib\site-packages\rocm_sdk\__init__.py", line 114, in preload_libraries
cdll = ctypes.CDLL(str(paths[0]), mode=mode)
File "E:\Data\Assets\Python\cpython-3.12.10-windows-x86_64-none\Lib\ctypes\__init__.py", line 379, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 4551] An Application Control policy has blocked this file
Same PyTorch test — Smart App Control OFF
E:\Data\Packages\ComfyUI\venv\Scripts\python.exe -c "import torch; print('Torch:', torch.__version__); print('HIP:', torch.version.hip); print('GPU:', torch.cuda.get_device_name(0) if torch.cuda.is_available() else 'not available')"
Torch: 2.12.0+rocm7.14.0
HIP: 7.14.60850
GPU: AMD Radeon RX 6800
With Smart App Control disabled, ComfyUI also starts and runs normally using the same installation.
Installed PyTorch / ROCm packages
pip list | findstr /I "torch rocm hip"
amd-torch-device-gfx1030 2.12.0+rocm7.14.0
amd-torchvision-device-gfx1030 0.27.0+rocm7.14.0
open_clip_torch 3.3.0
rocm 7.14.0
rocm-bootstrap 0.1.0
rocm-sdk-core 7.14.0
rocm-sdk-device-gfx1030 7.14.0
rocm-sdk-libraries 7.14.0
torch 2.12.0+rocm7.14.0
torchaudio 2.11.0+rocm7.14.0
torchsde 0.2.6
torchvision 0.27.0+rocm7.14.0
Windows Code Integrity / Smart App Control events
Command used:
Get-WinEvent -LogName "Microsoft-Windows-CodeIntegrity/Operational" -MaxEvents 30 | Select-Object TimeCreated, Id, Message | Format-List
Relevant events:
Event ID 3118:
Smart App Control Block Details
Event ID 3077:
Code Integrity determined that a process
\Device\HarddiskVolume8\Data\Assets\Python\cpython-3.12.10-windows-x86_64-none\python.exe
attempted to load
\Device\HarddiskVolume8\Data\Packages\ComfyUI\venv\Lib\site-packages\_rocm_sdk_libraries\bin\rocsolver.dll
that did not meet the Enterprise signing level requirements or violated code integrity policy
(Policy ID:{0283ac0f-fff1-49ae-ada1-8a933130cad6}).
Event ID 3033:
Code Integrity determined that
\Device\HarddiskVolume8\Data\Packages\ComfyUI\venv\Lib\site-packages\_rocm_sdk_libraries\bin\rocsolver.dll
did not meet the Enterprise signing level requirements.
The active policy reported in the same Code Integrity log is:
Policy ID: {0283ac0f-fff1-49ae-ada1-8a933130cad6}
Policy: VerifiedAndReputableDesktop
Authenticode signature check
Get-AuthenticodeSignature "E:\Data\Packages\ComfyUI\venv\Lib\site-packages\_rocm_sdk_libraries\bin\rocsolver.dll" | Format-List Status, StatusMessage, SignerCertificate
Output:
Status : NotSigned
StatusMessage : The file E:\Data\Packages\ComfyUI\venv\Lib\site-packages\_rocm_sdk_libraries\bin\rocsolver.dll
is not digitally signed. You cannot run this script on the current system. For more information
about running scripts and setting execution policy, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170
SignerCertificate :
Verification against Stability Matrix uv cache
The installed rocsolver.dll was compared with the copy in Stability Matrix's uv cache.
Installed SHA-256:
BC78997831F6E68362E541E0EB14A6D08B71EE923E5CAE7DD7D27D3A3349FA87
Cached SHA-256:
BC78997831F6E68362E541E0EB14A6D08B71EE923E5CAE7DD7D27D3A3349FA87
Hash comparison: True
Cached DLL Authenticode status: NotSigned
The cached and installed DLLs are byte-for-byte identical, so this does not appear to be a corrupted local installation.
Version
v 2.16.2
What Operating System are you using?
Windows
Package
ComfyUI
When did the issue occur?
Running the Package
What GPU / hardware type are you using?
AMD Radeon RX 6800 (gfx1030), 32 GB system RAM
What happened?
This behavior first began today, August 12, 2026. ComfyUI had previously been running normally on this system with Smart App Control enabled.
When launching ComfyUI with the Windows AMD ROCm setup through Stability Matrix, ComfyUI fails to start while PyTorch initializes ROCm.
The failure is caused by Windows Smart App Control / Code Integrity blocking:
E:\Data\Packages\ComfyUI\venv\Lib\site-packages\_rocm_sdk_libraries\bin\rocsolver.dllA standalone
import torchtest fails with:OSError: [WinError 4551] An Application Control policy has blocked this fileWindows Code Integrity logs identify the active policy as
VerifiedAndReputableDesktopand report thatrocsolver.dlldoes not meet the required signing level.Get-AuthenticodeSignaturereports the DLL asNotSigned.I then disabled Smart App Control and made no changes to Stability Matrix, ComfyUI, Python, PyTorch, ROCm, or the installed packages. With Smart App Control disabled, ComfyUI starts and runs normally.
Expected behavior:
The Windows AMD ROCm package installed by Stability Matrix should be usable on a Smart App Control-enabled Windows system, or Stability Matrix should detect/warn that the installed ROCm DLLs will be blocked.
Actual behavior:
Smart App Control blocks the unsigned ROCm DLL during PyTorch initialization, preventing ComfyUI from starting.
Console output
Standalone PyTorch reproduction — Smart App Control ON
Same PyTorch test — Smart App Control OFF
With Smart App Control disabled, ComfyUI also starts and runs normally using the same installation.
Installed PyTorch / ROCm packages
Windows Code Integrity / Smart App Control events
Command used:
Relevant events:
The active policy reported in the same Code Integrity log is:
Authenticode signature check
Output:
Verification against Stability Matrix uv cache
The installed
rocsolver.dllwas compared with the copy in Stability Matrix's uv cache.The cached and installed DLLs are byte-for-byte identical, so this does not appear to be a corrupted local installation.
Version
v 2.16.2
What Operating System are you using?
Windows