Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subprocess.CalledProcessError | KSampler report : Command ~MSVC\\14.43.34808\\bin\\Hostx64\\x64\\cl.exe #7112

Open
huaqiesf opened this issue Mar 7, 2025 · 4 comments
Labels
User Support A user needs help with something, probably not a bug.

Comments

@huaqiesf
Copy link

huaqiesf commented Mar 7, 2025

Your question

KSampler report;; I tried to fix Comyfui, but there was no result.

I checked that cl.exe is installed and configured with environment variables normally, and the temp directory also exists normally and has read and write permissions. Plz help me, friends

`# ComfyUI Error Report

Error Details

  • Node ID: 2
  • Node Type: KSampler
  • Exception Type: subprocess.CalledProcessError
  • Exception Message: Command '['D:\AI\ComfyUI-aki-v1.5\.msvc\VC\Tools\MSVC\14.43.34808\bin\Hostx64\x64\cl.exe', 'D:\temp\tmpicmizqzw\main.c', '/nologo', '/O2', '/LD', '/wd4819', '/ID:\AI\ComfyUI-aki-v1.5\python\Lib\site-packages\triton\backends\nvidia\include', '/ID:\temp\tmpicmizqzw', '/ID:\AI\ComfyUI-aki-v1.5\python\Include', '/ID:\AI\ComfyUI-aki-v1.5\.msvc\VC\Tools\MSVC\14.43.34808\include', '/IF:\Windows Kits\10\Include\10.0.22621.0\shared', '/IF:\Windows Kits\10\Include\10.0.22621.0\ucrt', '/IF:\Windows Kits\10\Include\10.0.22621.0\um', '/link', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\Lib\site-packages\triton\backends\nvidia\lib', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:C:\Python310\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\.msvc\VC\Tools\MSVC\14.43.34808\lib\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\ucrt\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\um\x64', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:C:\Python310\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\.msvc\VC\Tools\MSVC\14.43.34808\lib\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\ucrt\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\um\x64', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:C:\Python310\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\.msvc\VC\Tools\MSVC\14.43.34808\lib\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\ucrt\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\um\x64', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:C:\Python310\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\.msvc\VC\Tools\MSVC\14.43.34808\lib\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\ucrt\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\um\x64', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\python\libs', '/LIBPATH:C:\Python310\libs', '/LIBPATH:D:\AI\ComfyUI-aki-v1.5\.msvc\VC\Tools\MSVC\14.43.34808\lib\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\ucrt\x64', '/LIBPATH:F:\Windows Kits\10\Lib\10.0.22621.0\um\x64', 'cuda.lib', '/OUT:D:\temp\tmpicmizqzw\cuda_utils.cp310-win_amd64.pyd']' returned non-zero exit status 2.

Stack Trace`

Logs

Other

No response

@huaqiesf huaqiesf added the User Support A user needs help with something, probably not a bug. label Mar 7, 2025
@ltdrdata
Copy link
Collaborator

ltdrdata commented Mar 7, 2025

What were you trying to do?

Unless you were installing a specific package, there shouldn’t be a reason to compile it that way.

@huaqiesf
Copy link
Author

huaqiesf commented Mar 7, 2025

What were you trying to do?

Unless you were installing a specific package, there shouldn’t be a reason to compile it that way.

I was trying to do regular text to images at that time. It's just a newly decompressed comfyui.rar; We use Sage Attention

@ltdrdata
Copy link
Collaborator

ltdrdata commented Mar 7, 2025

What were you trying to do?

Unless you were installing a specific package, there shouldn’t be a reason to compile it that way.

I was trying to do regular text to images at that time. It's just a newly decompressed comfyui.rar; We use Sage Attention

That is a weird situation.
Please post the full log.

@huaqiesf
Copy link
Author

huaqiesf commented Mar 7, 2025

What were you trying to do?
Unless you were installing a specific package, there shouldn’t be a reason to compile it that way.

I was trying to do regular text to images at that time. It's just a newly decompressed comfyui.rar; We use Sage Attention

That is a weird situation. Please post the full log.

sry, I just crashed CUDA due to various attempts. I am currently fixing it and the log may be a bit late

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Support A user needs help with something, probably not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants