You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 46fec4cf0..62dfa6e62 100644
--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -475,12 +475,24 @@ if(EXECUTORCH_BUILD_FLATC)
OFF
CACHE BOOL ""
)
- add_subdirectory(third-party/flatbuffers)- # exir lets users set the alignment of tensor data embedded in the flatbuffer,- # and some users need an alignment larger than the default, which is typically- # 32.- target_compile_definitions(flatc PRIVATE FLATBUFFERS_MAX_ALIGNMENT=1024)+ if(CMAKE_CROSSCOMPILING)+ set(FLATC_EXECUTABLE ${CMAKE_BINARY_DIR}/_host_build_flatbuffers/flatc)+ execute_process(+ COMMAND+ ${CMAKE_COMMAND} ${CMAKE_CURRENT_SOURCE_DIR}/third-party/flatbuffers -DCMAKE_C_FLAGS=-DFLATBUFFERS_MAX_ALIGNMENT=1024 -B${CMAKE_BINARY_DIR}/_host_build_flatbuffers+ )+ execute_process(+ COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}/_host_build_flatbuffers -j+ )+ else()+ add_subdirectory(third-party/flatbuffers)++ # exir lets users set the alignment of tensor data embedded in the flatbuffer,+ # and some users need an alignment larger than the default, which is typically+ # 32.+ target_compile_definitions(flatc PRIVATE FLATBUFFERS_MAX_ALIGNMENT=1024)+ endif()
endif()
if(NOT FLATC_EXECUTABLE)
message(
Versions
Collecting environment information...PyTorch version: 2.6.0.dev20241112+cpuIs debug build: FalseCUDA used to build PyTorch: Could not collectROCM used to build PyTorch: N/AOS: Ubuntu 24.04.1 LTS (x86_64)GCC version: (Ubuntu 13.2.0-23ubuntu4) 13.2.0Clang version: Could not collectCMake version: version 3.31.1Libc version: glibc-2.39Python version: 3.12.3 (main, Nov 6 2024, 18:32:19) [GCC 13.2.0] (64-bit runtime)Python platform: Linux-6.8.0-48-generic-x86_64-with-glibc2.39Is CUDA available: FalseCUDA runtime version: 11.5.119CUDA_MODULE_LOADING set to: N/AGPU models and configuration: Could not collectNvidia driver version: Could not collectcuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.5.0HIP runtime version: N/AMIOpen runtime version: N/AIs XNNPACK available: TrueCPU:
Architecture: x86_64CPU op-mode(s): 32-bit, 64-bitAddress sizes: 43 bits physical, 48 bits virtualByte Order: Little EndianCPU(s): 12On-line CPU(s) list: 0-11Vendor ID: AuthenticAMDModel name: AMD Ryzen 5 1600 Six-Core ProcessorCPU family: 23Model: 1Thread(s) per core: 2Core(s) per socket: 6Socket(s): 1Stepping: 1Frequency boost: enabledCPU(s) scaling MHz: 51%CPU max MHz: 3200.0000CPU min MHz: 1550.0000BogoMIPS: 6388.26Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate ssbd vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca sevL1d cache: 192 KiB (6 instances)L1i cache: 384 KiB (6 instances)L2 cache: 3 MiB (6 instances)L3 cache: 16 MiB (2 instances)NUMA node(s): 1NUMA node0 CPU(s): 0-11Vulnerability Gather data sampling: Not affectedVulnerability Itlb multihit: Not affectedVulnerability L1tf: Not affectedVulnerability Mds: Not affectedVulnerability Meltdown: Not affectedVulnerability Mmio stale data: Not affectedVulnerability Reg file data sampling: Not affectedVulnerability Retbleed: Mitigation; untrained return thunk; SMT vulnerableVulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcodeVulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctlVulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitizationVulnerability Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affectedVulnerability Srbds: Not affectedVulnerability Tsx async abort: Not affectedVersions of relevant libraries:
[pip3] numpy==2.2.0[pip3] torch==2.6.0.dev20241112+cpu[pip3] torchaudio==2.5.0.dev20241112+cpu[pip3] torchsr==1.0.4[pip3] torchvision==0.20.0.dev20241112+cpu[conda] numpy 1.21.6 pypi_0 pypi[conda] torch 1.12.1 pypi_0 pypi[conda] torchvision 0.9.0 pypi_0 pypi
The text was updated successfully, but these errors were encountered:
🐛 Describe the bug
executorch/CMakeLists.txt
Line 478 in a6841d5
It could be fixed with something like this.
Versions
The text was updated successfully, but these errors were encountered: