-
Notifications
You must be signed in to change notification settings - Fork 511
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
Windows build failure: Failed to query buck for sources. #9616
Comments
@SS-JIA I know you had been supporting the windows build efforts can you take a look |
trying to reproduce now (y) |
Unfortunately, I could not reproduce the issue on Could you try to first run a clean
or
And try to run the build again? It might help as well to pull the most recent In the meantime, I'll try to figure out what went wrong with your build via the stack trace you posted. |
Ah, actually I think I know the cause. You likely have to update the submodules to download the Do this by running
I see that the error message is
|
Thank you @SS-JIA for the feedback. I updated the submodules as you suggested but it did not resolve the issue at first. It seems like the However, the build was failed again due to another issue which it cannot find the Full error log:
|
@cavusmustafa I haven't seen that error before, so I'm not certain what's going on. First thing I would recommend is to clean your build and then try building again: cd ~/executorch
python install_executorch.py --clean
python install_executorch.py I also found this stackoverflow question which seems to have run into the same |
It seems like this issue occurs if you build executorch from the |
I can't see why building from It could also be some kind of transient error that just happened to go away when you swapped branches? Unless this is behaviour that you can consistently reproduce? |
This is weird 😅 I just tried building from source on both my WSL machine and Mac Mini M4, I'm able to reproduce the same error across machines on the |
@tensorsofthewall just curious, what are the commands you are using to build? Have you also tried to clean your install before building again? |
🐛 Describe the bug
The issue is observed while building Executorch on Windows.
Followed the installation steps provided in the PR: #9198
Error message:
Latest commit id used to reproduce: 02729b8
OS: Microsoft Windows 11 Pro
CPU: Intel Core Ultra 7 155U
Cmake version: 3.31.6
Python version: 3.10.10
Visual Studio Build Tools 2022: 17.13.4
cc: @ynimmaga @cbilgin
Versions
PyTorch version: 2.7.0.dev20250311+cpu
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: Microsoft Windows 11 Pro (10.0.22631 64-bit)
GCC version: Could not collect
Clang version: Could not collect
CMake version: version 3.31.6
Libc version: N/A
Python version: 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.22631-SP0
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Name: Intel(R) Core(TM) Ultra 7 155U
Manufacturer: GenuineIntel
Family: 774
Architecture: 9
ProcessorType: 3
DeviceID: CPU0
CurrentClockSpeed: 1700
MaxClockSpeed: 1700
L2CacheSize: 10240
L2CacheSpeed: None
Revision: None
Versions of relevant libraries:
[pip3] numpy==2.2.4
[pip3] torch==2.7.0.dev20250311+cpu
[pip3] torchao==0.10.0+git64bcf4c2
[pip3] torchaudio==2.6.0.dev20250311+cpu
[pip3] torchsr==1.0.4
[pip3] torchvision==0.22.0.dev20250311+cpu
[conda] Could not collect
cc @larryliu0820 @jathu @lucylq
The text was updated successfully, but these errors were encountered: