-
Notifications
You must be signed in to change notification settings - Fork 343
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
apple M1 pro build error #518
Comments
Even with Intel MacOS, I still have the error: error: linking with error: could not compile Thanks, Jianshu |
Closing this in favor of #488, feel free to reopen if it doesn't help. |
Dear team,
On macOS arm64 M1 pro, I have the following error:
Compiling tch v0.8.0 (/Users/jianshuzhao/Github/tch-rs)
error: linking with
cc
failed: exit status: 1|
= note: "cc" "-arch" "arm64" "/var/folders/mr/8qybn91j5fgdbrcdmq7ckftw0000gn/T/rustcegKU0m/symbols.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.0.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.1.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.10.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.11.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.12.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.13.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.14.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.15.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.2.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.3.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.4.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.5.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.6.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.7.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.8.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.vae.0c684c91-cgu.9.rcgu.o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911.3q1srlvckqanqfbg.rcgu.o" "-L" "/Users/jianshuzhao/Github/tch-rs/target/release/deps" "-L" "/Users/jianshuzhao/Github/tch-rs/target/release/build/torch-sys-b1cf6535f8ccd06a/out/libtorch/libtorch/lib" "-L" "/Users/jianshuzhao/Github/tch-rs/target/release/build/torch-sys-b1cf6535f8ccd06a/out" "-L" "/Users/jianshuzhao/Github/tch-rs/target/release/build/bzip2-sys-533cbca8a252f56a/out/lib" "-L" "/Users/jianshuzhao/Github/tch-rs/target/release/build/zstd-sys-3ff10af4a6efb63f/out" "-L" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libtch-550c3e9248c57e9f.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libndarray-89f29263d5436dbd.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libmatrixmultiply-e89c629343d5cba6.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libnum_complex-95da9c4dcf68e1eb.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libnum_integer-a7fba8cd4af30da9.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libnum_traits-e12542cc630dc80c.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/librawpointer-15a6731e43da61f9.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/librand-6b0968f51d338e88.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/librand_chacha-7bbc288691daf156.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libppv_lite86-0f923c878d002a70.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libhalf-095c82dc4377813f.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libtorch_sys-1a2085a8837fb1a8.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libzip-248e457a2105e6a0.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libpbkdf2-10a87f7d5c72166b.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libsha2-cb3bec65bbf801a7.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libpassword_hash-aff63c67e90220a9.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libbase64ct-0c7c377bc0f4a04e.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/librand_core-733bc0f975ae1b7b.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libgetrandom-cf6af1c11a1c1ac3.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libtime-6df5260e5a2c56e7.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libitoa-d63aebe64377efe5.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libzstd-202edf11ec77b37a.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libzstd_safe-a229eb93d0fb41d8.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libzstd_sys-dda314363ee8b040.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libbzip2-e65e8d8f6b4817e3.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libbzip2_sys-d21c63a44fbf2142.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/liblibc-fd2ac96bfe95e964.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libflate2-16d366fa55871a7b.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libminiz_oxide-25f3e9f3def31084.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libadler-39b2c7213db41305.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libcrc32fast-54beddddea2cb5fc.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libbyteorder-feb8a6d8cd38719b.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libaes-4af98fbb28f9a7d8.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libopaque_debug-e50119b40cb8b20b.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libcipher-1b88e8d723aa490e.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libsha1-3f8d89e10e4357f8.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libcfg_if-0692cee5d0087e61.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libhmac-0c22048bae367cad.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libdigest-741fdcd72b9b5e5b.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libsubtle-cca7bb8e7471c2a2.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libblock_buffer-8580a536c5270fe3.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libcrypto_common-341c6575d74f6083.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libgeneric_array-e7aebba914df6eea.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libtypenum-d7937aee5846db6e.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libconstant_time_eq-0e23ac03864ec140.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libthiserror-07b35ad6733bae88.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/liblazy_static-ebd75cc0f36ef66d.rlib" "/Users/jianshuzhao/Github/tch-rs/target/release/deps/libanyhow-bd5f409c83e75dd7.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-af3f3292c66eb7cc.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-bc47a5a819240eac.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-5fa6d29c50391a26.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-9f34659cc49c55cf.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-0ca0691d5024e0e7.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-8b09daf3a02ae894.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-c8e6e1ad4a56d084.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-cc5bb2a5896a5a35.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-ba2ca40bd5b846ac.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-eddbbfd8a1284efa.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-0d5fdbc7da87a8dd.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-94febd0ddea042d3.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-9231f6f457586171.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-3e833ccda9a92f6a.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-e2416b3132f6fa90.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-a8cb71066dca08ca.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-95a7e52c78a3fba1.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-dd6de681850a671c.rlib" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-aa21927f5da4d4a2.rlib" "-lc++" "-ltorch_cpu" "-ltorch" "-lc10" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/jianshuzhao/.rustup/toolchains/nightly-2022-06-17-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/jianshuzhao/Github/tch-rs/target/release/examples/vae-87c1581af0b1f911" "-Wl,-dead_strip" "-nodefaultlibs"
= note: ld: warning: ignoring file /Users/jianshuzhao/Github/tch-rs/target/release/build/torch-sys-b1cf6535f8ccd06a/out/libtorch/libtorch/lib/libtorch_cpu.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Users/jianshuzhao/Github/tch-rs/target/release/build/torch-sys-b1cf6535f8ccd06a/out/libtorch/libtorch/lib/libtorch.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Users/jianshuzhao/Github/tch-rs/target/release/build/torch-sys-b1cf6535f8ccd06a/out/libtorch/libtorch/lib/libc10.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
"__ZNSt8ios_base4InitC1Ev", referenced from:
__GLOBAL__sub_I_torch_api.cpp in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN5torch5optim11AdamOptionsC1Ed", referenced from:
_ato_adam in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"__ZN3c106detail14torchCheckFailEPKcS2_jRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
_ato_adam in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN5torch5optim9Optimizer12param_groupsEv", referenced from:
_ato_add_parameters in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNK2at10TensorBase21__dispatch_contiguousEN3c1012MemoryFormatE", referenced from:
_at_save_image in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_contiguous in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_copy_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZSt20__throw_length_errorPKc", referenced from:
_ZNSt6vectorIN2at6TensorESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZNSt6vectorIN5torch5optim19OptimizerParamGroupESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops10randn_like4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEENS6_INS5_12MemoryFormatEEE", referenced from:
_atg_randn_like in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZSt28__throw_bad_array_new_lengthv", referenced from:
_ZNSt6vectorIN2at6TensorESaIS1_EEC1ERKS3 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN5torch5optim19OptimizerParamGroupC1ERKS1 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZSt16__do_uninit_copyIPKN5torch5optim19OptimizerParamGroupEPS2_ET0_T_S7_S6 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZNSt6vectorIN5torch5optim19OptimizerParamGroupESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ato_add_parameters in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN3c104impl23ExcludeDispatchKeyGuardD1Ev", referenced from:
__ZN5torch5emptyEN3c108ArrayRefIxEENS0_13TensorOptionsENS0_8optionalINS0_12MemoryFormatEEE in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_ones in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_randn in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_randn_like in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_randperm in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_zeros in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_tensor_of_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
...
"__ZTVN5torch5optim9OptimizerE", referenced from:
__ZN5torch5optim9OptimizerD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ato_adam in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"__ZN3c1010TensorImpl17set_autograd_metaESt10unique_ptrINS_21AutogradMetaInterfaceESt14default_deleteIS2_EE", referenced from:
__ZN5torch8autograd13make_variableEN2at6TensorEbb in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops5zeros4callEN3c108ArrayRefIxEENS2_8optionalINS2_10ScalarTypeEEENS5_INS2_6LayoutEEENS5_INS2_6DeviceEEENS5_IbEE", referenced from:
_atg_zeros in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_tensor_of_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN5torch4cuda12is_availableEv", referenced from:
_atc_cuda_is_available in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNK5torch5optim19OptimizerParamGroup11has_optionsEv", referenced from:
_ZN5torch5optim19OptimizerParamGroupC1ERKS1 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZSt16__do_uninit_copyIPKN5torch5optim19OptimizerParamGroupEPS2_ET0_T_S7_S6 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZNSt6vectorIN5torch5optim19OptimizerParamGroupESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ato_add_parameters in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZN2at4_ops5clamp4callERKNS_6TensorERKN3c108optionalINS5_6ScalarEEESA", referenced from:
_atg_clamp in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops20binary_cross_entropy4callERKNS_6TensorES4_RKN3c108optionalIS2_EEx", referenced from:
_atg_binary_cross_entropy in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNK2at6Tensor9_backwardEN3c108ArrayRefIS0_EERKNS1_8optionalIS0_EENS4_IbEEb", referenced from:
_at_backward in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"___aarch64_ldadd4_acq_rel", referenced from:
__ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE15_M_weak_releaseEv in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZTVSt15basic_streambufIcSt11char_traitsIcEE", referenced from:
__ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"__ZN2at4_ops9linalg_qr4callERKNS_6TensorEN3c1017basic_string_viewIcEE", referenced from:
_atg_linalg_qr in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops3sum4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEE", referenced from:
_atg_sum in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops8uniform_4callERNS_6TensorEddN3c108optionalINS_9GeneratorEEE", referenced from:
atg_uniform in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops3cat4callEN3c108ArrayRefINS_6TensorEEEx", referenced from:
_atg_cat in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops7normal_4callERNS_6TensorEddN3c108optionalINS_9GeneratorEEE", referenced from:
atg_normal in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev", referenced from:
__ZN3c1020intrusive_ptr_targetD1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNR3c1013TensorOptions9set_dtypeENS_8optionalINS_10ScalarTypeEEE.constprop.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1020intrusive_ptr_targetD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNK3c1010TensorImpl18compute_contiguousEv", referenced from:
_at_save_image in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_contiguous in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_copy_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZN2at4_ops10add_Scalar4callERKNS_6TensorERKN3c106ScalarES8", referenced from:
_atg_add_scalar in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt16invalid_argumentC1EPKc", referenced from:
_at_save_image in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_copy_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_tensor_of_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops9unsqueeze4callERKNS_6TensorEx", referenced from:
_atg_unsqueeze in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops2t_4callERNS_6TensorE", referenced from:
atg_t in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops4sign4callERKNS_6TensorE", referenced from:
_atg_sign in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN5torch5optim19OptimizerParamGroup6paramsEv", referenced from:
_ato_add_parameters in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN3c1010TensorImpl17set_requires_gradEb", referenced from:
_atg_set_requires_grad in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt8ios_base4InitD1Ev", referenced from:
__GLOBAL__sub_I_torch_api.cpp in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN5torch5optim9Optimizer8defaultsEv", referenced from:
_ato_add_parameters in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops4relu4callERKNS_6TensorE", referenced from:
_atg_relu in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops10select_int4callERKNS_6TensorExx", referenced from:
_atg_select in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops3exp4callERKNS_6TensorE", referenced from:
_atg_exp in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZTVSt9basic_iosIcSt11char_traitsIcEE", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"__ZN2at4_ops6narrow4callERKNS_6TensorExxx", referenced from:
_atg_narrow in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops11squeeze_dim4callERKNS_6TensorEx", referenced from:
_atg_squeeze_dim in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt8ios_baseD2Ev", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops11mul__Scalar4callERNS_6TensorERKN3c106ScalarE", referenced from:
atg_mul_scalar in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc", referenced from:
__ZN3c1020intrusive_ptr_targetD1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNR3c1013TensorOptions9set_dtypeENS_8optionalINS_10ScalarTypeEEE.constprop.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1020intrusive_ptr_targetD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN5torch5optim9Optimizer15add_param_groupERKNS0_19OptimizerParamGroupE", referenced from:
_ato_adam in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops10mul_Scalar4callERKNS_6TensorERKN3c106ScalarE", referenced from:
_atg_mul_scalar in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZN2at4_ops11mul__Tensor4callERNS_6TensorERKS2", referenced from:
atg_mul in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZN2at4_ops6matmul4callERKNS_6TensorES4", referenced from:
_atg_matmul in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops7permute4callERKNS_6TensorEN3c108ArrayRefIxEE", referenced from:
_atg_permute in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops10div_Scalar4callERKNS_6TensorERKN3c106ScalarE", referenced from:
_atg_div_scalar in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops4diag4callERKNS_6TensorEx", referenced from:
_atg_diag in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops10sub_Tensor4callERKNS_6TensorES4_RKN3c106ScalarE", referenced from:
_atg_sub in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm", referenced from:
_atg_linalg_qr in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops4view4callERKNS_6TensorEN3c108ArrayRefIxEE", referenced from:
_atg_view in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv", referenced from:
__ZN3c1020intrusive_ptr_targetD1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNR3c1013TensorOptions9set_dtypeENS_8optionalINS_10ScalarTypeEEE.constprop.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1020intrusive_ptr_targetD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZN3c1020intrusive_ptr_targetD1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNR3c1013TensorOptions9set_dtypeENS_8optionalINS_10ScalarTypeEEE.constprop.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1020intrusive_ptr_targetD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZN6caffe28TypeMeta26error_unsupported_typemetaES0", referenced from:
__ZNK2at6Tensor2toEN3c1013TensorOptionsEbbNS1_8optionalINS1_12MemoryFormatEEE.constprop.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_scalar_type in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZSt11make_uniqueIN5torch8autograd12AutogradMetaEJPN3c1010TensorImplERbEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN5torch8autograd13make_variableEN2at6TensorEbb in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN5torch5emptyEN3c108ArrayRefIxEENS0_13TensorOptionsENS0_8optionalINS0_12MemoryFormatEEE in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_ones in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_randn in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
...
"_ZNSo9_M_insertIdEERSoT", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt8ios_baseC2Ev", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops10add_Tensor4callERKNS_6TensorES4_RKN3c106ScalarE", referenced from:
_atg_add in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZTVN5torch8autograd12AutogradMetaE", referenced from:
_ZSt11make_uniqueIN5torch8autograd12AutogradMetaEJPN3c1010TensorImplERbEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN5torch8autograd13make_variableEN2at6TensorEbb in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"__ZNSt6localeC1Ev", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops1t4callERKNS_6TensorE", referenced from:
_atg_t in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN3c108GradMode11set_enabledEb", referenced from:
_at_grad_set_enabled in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZTVN5torch5optim4AdamE", referenced from:
_ato_adam in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"__ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops19empty_memory_format4callEN3c108ArrayRefIxEENS2_8optionalINS2_10ScalarTypeEEENS5_INS2_6LayoutEEENS5_INS2_6DeviceEEENS5_IbEENS5_INS2_12MemoryFormatEEE", referenced from:
__ZN5torch5emptyEN3c108ArrayRefIxEENS0_13TensorOptionsENS0_8optionalINS0_12MemoryFormatEEE in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZN2at4_ops10mul_Tensor4callERKNS_6TensorES4", referenced from:
_atg_mul in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops4ones4callEN3c108ArrayRefIxEENS2_8optionalINS2_10ScalarTypeEEENS5_INS2_6LayoutEEENS5_INS2_6DeviceEEENS5_IbEE", referenced from:
_atg_ones in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSolsEi", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev", referenced from:
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1020intrusive_ptr_targetD1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNR3c1013TensorOptions9set_dtypeENS_8optionalINS_10ScalarTypeEEE.constprop.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1020intrusive_ptr_targetD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE", referenced from:
__ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"__ZN3c1021AutogradMetaInterfaceD2Ev", referenced from:
_ZSt11make_uniqueIN5torch8autograd12AutogradMetaEJPN3c1010TensorImplERbEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN5torch8autograd13make_variableEN2at6TensorEbb in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN3c1019UndefinedTensorImpl10_singletonE", referenced from:
__ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7retain_Ev.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN5torch5optim19OptimizerParamGroupD1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN5torch5optim9OptimizerD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_shallow_clone in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_defined in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNSt6vectorIN2at6TensorESaIS1_EED1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNSt6vectorIN5torch5optim19OptimizerParamGroupESaIS2_EED1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
...
"__ZN2at4_ops8randperm4callExN3c108optionalINS2_10ScalarTypeEEENS3_INS2_6LayoutEEENS3_INS2_6DeviceEEENS3_IbEE", referenced from:
_atg_randperm in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_14DispatchKeySetE", referenced from:
__ZN5torch5emptyEN3c108ArrayRefIxEENS0_13TensorOptionsENS0_8optionalINS0_12MemoryFormatEEE in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_ones in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_randn in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_randn_like in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_randperm in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_zeros in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_tensor_of_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
...
"__ZNK5torch5optim19OptimizerParamGroup6paramsEv", referenced from:
_ZN5torch5optim19OptimizerParamGroupC1ERKS1 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZSt16__do_uninit_copyIPKN5torch5optim19OptimizerParamGroupEPS2_ET0_T_S7_S6 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZNSt6vectorIN5torch5optim19OptimizerParamGroupESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ato_add_parameters in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZN2at4_ops12index_select4callERKNS_6TensorExS4", referenced from:
_atg_index_select in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZNSo9_M_insertImEERSoT", referenced from:
__ZN3c1020intrusive_ptr_targetD1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1020intrusive_ptr_targetD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN5torch5optim9Optimizer9zero_gradEv", referenced from:
_ato_zero_grad in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN3c108GradMode10is_enabledEv", referenced from:
_at_grad_set_enabled in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"___aarch64_ldadd8_acq_rel", referenced from:
__ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7retain_Ev.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN5torch5optim19OptimizerParamGroupD1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN5torch5optim9OptimizerD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_shallow_clone in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNSt6vectorIN2at6TensorESaIS1_EED1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNSt6vectorIN5torch5optim19OptimizerParamGroupESaIS2_EED1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1013intrusive_ptrINS_10TensorImplENS_6detail34intrusive_target_default_null_typeIS1_EEE6reset_Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
...
"__ZNK5torch5optim19OptimizerParamGroup7optionsEv", referenced from:
_ZN5torch5optim19OptimizerParamGroupC1ERKS1 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZSt16__do_uninit_copyIPKN5torch5optim19OptimizerParamGroupEPS2_ET0_T_S7_S6 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZNSt6vectorIN5torch5optim19OptimizerParamGroupESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ato_add_parameters in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZN3c106detail14torchCheckFailEPKcS2_jS2", referenced from:
__ZNK2at6Tensor2toEN3c1013TensorOptionsEbbNS1_8optionalINS1_12MemoryFormatEEE.constprop.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZNK3c1010TensorImpl4dataEv in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c104impl46check_tensor_options_and_extract_memory_formatERKNS_13TensorOptionsENS_8optionalINS_12MemoryFormatEEE in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_device in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_save_image in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_contiguous in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_copy_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
...
"__ZN2at4_ops7sigmoid4callERKNS_6TensorE", referenced from:
_atg_sigmoid in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZNSt6localeD1Ev", referenced from:
__ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKiEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c106Device8validateEv.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_ZN3c106detail12_str_wrapperIJPKcRKdEE4callB5cxx11ERKS3_S5 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZSt19__throw_logic_errorPKc", referenced from:
_atg_linalg_qr in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"___emutls_get_address", referenced from:
_get_and_reset_last_err in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_shallow_clone in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_dim in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_shape in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_scalar_type in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_device in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_grad_set_enabled in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
...
"__ZN2at4_ops15to_dtype_layout4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEEbbNS6_INS5_12MemoryFormatEEE", referenced from:
__ZNK2at6Tensor2toEN3c1013TensorOptionsEbbNS1_8optionalINS1_12MemoryFormatEEE.constprop.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZTVN5torch5optim11AdamOptionsE", referenced from:
_ato_adam in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"__ZN6caffe28TypeMeta13typeMetaDatasEv", referenced from:
__ZNK3c1010TensorImpl4dataEv in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_copy_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_tensor_of_data in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops5randn4callEN3c108ArrayRefIxEENS2_8optionalINS2_10ScalarTypeEEENS5_INS2_6LayoutEEENS5_INS2_6DeviceEEENS5_IbEE", referenced from:
_atg_randn in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"__ZN2at4_ops17pow_Tensor_Scalar4callERKNS_6TensorERKN3c106ScalarE", referenced from:
_atg_pow_tensor_scalar in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
"_ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_S2", referenced from:
__ZN3c108ArrayRefIxE26debugCheckNullptrInvariantEv.part.0.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7retain_Ev.isra.0 in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_shallow_clone in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_at_shape in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1020intrusive_ptr_targetD1Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
__ZN3c1020intrusive_ptr_targetD2Ev in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
_atg_diag in libtorch_sys-1a2085a8837fb1a8.rlib(torch_api.o)
...
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
error: could not compile
tch
due to previous errorAny idea how to fix?
Thanks,
Jianshu
The text was updated successfully, but these errors were encountered: