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
To whom it may concern:
I tried to develop the PJRT plugin on our NPU, so I tried to compile a PJRT example, but an error occurred during the compilation.
The information is as follows:
And the error log:
xla/pjrt/transpose.cc: In static member function 'static absl::lts_20230802::StatusOr<std::unique_ptrxla::TransposePlan > xla::TransposePlan::Create(const xla::TransposePlan::Options&)':
xla/pjrt/transpose.cc:1040:10: error: could not convert 'plan' from 'std::unique_ptrxla::TransposePlan' to 'absl::lts_20230802::StatusOr<std::unique_ptrxla::TransposePlan >'
return plan;
^~~~
Target //xla/pjrt/c:pjrt_c_api_cpu_plugin.so failed to build
INFO: Elapsed time: 6.484s, Critical Path: 5.84s
INFO: 191 processes: 129 internal, 62 local.
FAILED: Build did NOT complete successfully
I try to build it from aarch64 server. It is work.
So I guess it is ralate to the system enviroment and library.
Even I modify the transpose.cc
from
return plan;
to
return absl::StatusOr<std::unique_ptrxla::TransposePlan>(std::move(plan));
It will occur another build failed.
To whom it may concern:
I tried to develop the PJRT plugin on our NPU, so I tried to compile a PJRT example, but an error occurred during the compilation.
The information is as follows:
What is my step:
And the error log:
xla/pjrt/transpose.cc: In static member function 'static absl::lts_20230802::StatusOr<std::unique_ptrxla::TransposePlan > xla::TransposePlan::Create(const xla::TransposePlan::Options&)':
xla/pjrt/transpose.cc:1040:10: error: could not convert 'plan' from 'std::unique_ptrxla::TransposePlan' to 'absl::lts_20230802::StatusOr<std::unique_ptrxla::TransposePlan >'
return plan;
^~~~
Target //xla/pjrt/c:pjrt_c_api_cpu_plugin.so failed to build
INFO: Elapsed time: 6.484s, Critical Path: 5.84s
INFO: 191 processes: 129 internal, 62 local.
FAILED: Build did NOT complete successfully
My enviroment:
Linux oaalnx41 5.4.0-80-generic #90~18.04.1-Ubuntu SMP Tue Jul 13 19:40:02 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 2
NUMA node(s): 2
Vendor ID: AuthenticAMD
CPU family: 23
Model: 49
Model name: AMD EPYC 7502 32-Core Processor
Stepping: 0
CPU MHz: 3344.280
BogoMIPS: 4990.70
Virtualization: AMD-V
L1d cache: 32K
L1i cache: 32K
L2 cache: 512K
L3 cache: 16384K
NUMA node0 CPU(s): 0-31,64-95
NUMA node1 CPU(s): 32-63,96-127
Flags: 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 pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate sme ssbd mba sev ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smcaArchitecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 2
NUMA node(s): 2
Vendor ID: AuthenticAMD
CPU family: 23
Model: 49
Model name: AMD EPYC 7502 32-Core Processor
Stepping: 0
CPU MHz: 3344.280
BogoMIPS: 4990.70
Virtualization: AMD-V
L1d cache: 32K
L1i cache: 32K
L2 cache: 512K
L3 cache: 16384K
NUMA node0 CPU(s): 0-31,64-95
NUMA node1 CPU(s): 32-63,96-127
Flags: 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 pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate sme ssbd mba sev ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smca
Please give me any advise.
I would be very grateful.
The text was updated successfully, but these errors were encountered: