Last active
May 25, 2024 00:29
-
-
Save kenhkan/2c3a3257b52e089656aa905aff6207ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/ATen.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/CPUGeneratorImpl.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/Context.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/DeviceGuard.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/Generator.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/IListRef.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/IListRef_inl.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/List.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/List_inl.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/boxing/KernelFunction.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/dispatch/Dispatcher.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/ivalue.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/ivalue_inl.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/stack.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/GeneratorImpl.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/SymIntArrayRef.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/TensorImpl.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/macros/Macros.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Exception.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/types.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/ir/ir.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/python/update_graph_executor_opt.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/argument_spec.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h | |
/home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/interpreter.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/src/Torch/Internal/Unmanaged/Type/Module.hs:22:1: warning: [-Wdeprecations] | |
libtorch-ffi > Module ‘Language.C.Inline.Cpp.Exceptions’ is deprecated: | |
libtorch-ffi > Language.C.Inline.Cpp.Exceptions is deprecated in favor of Language.C.Inline.Cpp.Exception which changes the CppException data type to preserve the exception for custom error handling. | |
libtorch-ffi > | | |
libtorch-ffi > 22 | import qualified Language.C.Inline.Cpp.Exceptions as Safe | |
libtorch-ffi > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
libtorch-ffi > [ 74 of 105] Compiling Torch.Internal.Managed.Type.Module | |
libtorch-ffi > [ 75 of 105] Compiling Torch.Internal.Unmanaged.Type.Scalar | |
libtorch-ffi > [ 76 of 105] Compiling Torch.Internal.Managed.Type.Scalar | |
libtorch-ffi > [ 77 of 105] Compiling Torch.Internal.Unmanaged.Type.StdArray | |
libtorch-ffi > [ 78 of 105] Compiling Torch.Internal.Managed.Type.StdArray | |
libtorch-ffi > [ 79 of 105] Compiling Torch.Internal.Unmanaged.Type.StdString | |
libtorch-ffi > [ 80 of 105] Compiling Torch.Internal.Managed.Type.StdString | |
libtorch-ffi > [ 81 of 105] Compiling Torch.Internal.Unmanaged.Type.StdVector | |
libtorch-ffi > [ 82 of 105] Compiling Torch.Internal.Managed.Type.StdVector | |
libtorch-ffi > [ 83 of 105] Compiling Torch.Internal.Unmanaged.Type.Storage | |
libtorch-ffi > [ 84 of 105] Compiling Torch.Internal.Managed.Type.Storage | |
libtorch-ffi > [ 85 of 105] Compiling Torch.Internal.Unmanaged.Type.Symbol | |
libtorch-ffi > [ 86 of 105] Compiling Torch.Internal.Managed.Type.Symbol | |
libtorch-ffi > [ 87 of 105] Compiling Torch.Internal.Unmanaged.Type.Tensor.Tensor0 | |
libtorch-ffi > [ 88 of 105] Compiling Torch.Internal.Managed.Type.Tensor.Tensor0 | |
libtorch-ffi > [ 89 of 105] Compiling Torch.Internal.Unmanaged.Type.Tensor.Tensor1 | |
libtorch-ffi > [ 90 of 105] Compiling Torch.Internal.Managed.Type.Tensor.Tensor1 | |
libtorch-ffi > [ 91 of 105] Compiling Torch.Internal.Unmanaged.Type.Tensor.Tensor2 | |
libtorch-ffi > [ 92 of 105] Compiling Torch.Internal.Managed.Type.Tensor.Tensor2 | |
libtorch-ffi > [ 93 of 105] Compiling Torch.Internal.Unmanaged.Type.Tensor.Tensor3 | |
libtorch-ffi > [ 94 of 105] Compiling Torch.Internal.Unmanaged.Type.Tensor | |
libtorch-ffi > [ 95 of 105] Compiling Torch.Internal.Managed.Type.Tensor.Tensor3 | |
libtorch-ffi > [ 96 of 105] Compiling Torch.Internal.Managed.Type.Tensor | |
libtorch-ffi > [ 97 of 105] Compiling Torch.Internal.Unmanaged.Type.TensorIndex | |
libtorch-ffi > [ 98 of 105] Compiling Torch.Internal.Managed.Type.TensorIndex | |
libtorch-ffi > [ 99 of 105] Compiling Torch.Internal.Unmanaged.Type.TensorList | |
libtorch-ffi > [100 of 105] Compiling Torch.Internal.Managed.Type.TensorList | |
libtorch-ffi > [101 of 105] Compiling Torch.Internal.Managed.Cast | |
libtorch-ffi > [102 of 105] Compiling Torch.Internal.Unmanaged.Type.TensorOptions | |
libtorch-ffi > [103 of 105] Compiling Torch.Internal.Managed.Type.TensorOptions | |
libtorch-ffi > [104 of 105] Compiling Torch.Internal.Unmanaged.Type.Tuple | |
libtorch-ffi > [105 of 105] Compiling Torch.Internal.Managed.Type.Tuple | |
libtorch-ffi > [ 1 of 105] Compiling Torch.Internal.Class | |
libtorch-ffi > [ 2 of 105] Compiling Torch.Internal.GC | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/src/Torch/Internal/GC.hs:22:1: warning: [-Wdeprecations] | |
libtorch-ffi > Module ‘Language.C.Inline.Cpp.Exceptions’ is deprecated: | |
libtorch-ffi > Language.C.Inline.Cpp.Exceptions is deprecated in favor of Language.C.Inline.Cpp.Exception which changes the CppException data type to preserve the exception for custom error handling. | |
libtorch-ffi > | | |
libtorch-ffi > 22 | import Language.C.Inline.Cpp.Exceptions | |
libtorch-ffi > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/src/Torch/Internal/GC.hs:57:65: warning: [-Wdeprecations] | |
libtorch-ffi > In the use of data constructor ‘CppStdException’ | |
libtorch-ffi > (imported from Language.C.Inline.Cpp.Exceptions): | |
libtorch-ffi > Deprecated: "Language.C.Inline.Cpp.Exceptions is deprecated in favor of Language.C.Inline.Cpp.Exception which changes the CppException data type to preserve the exception for custom error handling." | |
libtorch-ffi > | | |
libtorch-ffi > 57 | unsafeThrowableIO a = unsafePerformIO $ (pure <$> a) `catch` (\(CppStdException msg) -> pure . throwM $ HasktorchException msg) | |
libtorch-ffi > | ^^^^^^^^^^^^^^^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/src/Torch/Internal/GC.hs:61:20: warning: [-Wdeprecations] | |
libtorch-ffi > In the use of data constructor ‘CppStdException’ | |
libtorch-ffi > (imported from Language.C.Inline.Cpp.Exceptions): | |
libtorch-ffi > Deprecated: "Language.C.Inline.Cpp.Exceptions is deprecated in favor of Language.C.Inline.Cpp.Exception which changes the CppException data type to preserve the exception for custom error handling." | |
libtorch-ffi > | | |
libtorch-ffi > 61 | func `catch` \a@(CppStdException message) -> do | |
libtorch-ffi > | ^^^^^^^^^^^^^^^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/src/Torch/Internal/GC.hs:74:20: warning: [-Wdeprecations] | |
libtorch-ffi > In the use of data constructor ‘CppStdException’ | |
libtorch-ffi > (imported from Language.C.Inline.Cpp.Exceptions): | |
libtorch-ffi > Deprecated: "Language.C.Inline.Cpp.Exceptions is deprecated in favor of Language.C.Inline.Cpp.Exception which changes the CppException data type to preserve the exception for custom error handling." | |
libtorch-ffi > | | |
libtorch-ffi > 74 | func `catch` \a@(CppStdException message) -> | |
libtorch-ffi > | ^^^^^^^^^^^^^^^ | |
libtorch-ffi > [ 3 of 105] Compiling Torch.Internal.Cast | |
libtorch-ffi > [ 4 of 105] Compiling Torch.Internal.Type | |
libtorch-ffi > [ 5 of 105] Compiling Torch.Internal.Objects | |
libtorch-ffi > [ 6 of 105] Compiling Torch.Internal.Const | |
libtorch-ffi > [ 7 of 105] Compiling Torch.Internal.Unmanaged.Autograd | |
libtorch-ffi > [ 8 of 105] Compiling Torch.Internal.Managed.Autograd | |
libtorch-ffi > [ 9 of 105] Compiling Torch.Internal.Unmanaged.Native.Extra | |
libtorch-ffi > [ 10 of 105] Compiling Torch.Internal.Managed.Native.Extra | |
libtorch-ffi > [ 11 of 105] Compiling Torch.Internal.Unmanaged.Native.Native0 | |
libtorch-ffi > [ 12 of 105] Compiling Torch.Internal.Managed.Native.Native0 | |
libtorch-ffi > [ 13 of 105] Compiling Torch.Internal.Unmanaged.Native.Native1 | |
libtorch-ffi > [ 14 of 105] Compiling Torch.Internal.Managed.Native.Native1 | |
libtorch-ffi > [ 15 of 105] Compiling Torch.Internal.Unmanaged.Native.Native10 | |
libtorch-ffi > [ 16 of 105] Compiling Torch.Internal.Managed.Native.Native10 | |
libtorch-ffi > [ 17 of 105] Compiling Torch.Internal.Unmanaged.Native.Native11 | |
libtorch-ffi > [ 18 of 105] Compiling Torch.Internal.Managed.Native.Native11 | |
libtorch-ffi > [ 19 of 105] Compiling Torch.Internal.Unmanaged.Native.Native12 | |
libtorch-ffi > [ 20 of 105] Compiling Torch.Internal.Managed.Native.Native12 | |
libtorch-ffi > [ 21 of 105] Compiling Torch.Internal.Unmanaged.Native.Native13 | |
libtorch-ffi > [ 22 of 105] Compiling Torch.Internal.Managed.Native.Native13 | |
libtorch-ffi > [ 23 of 105] Compiling Torch.Internal.Unmanaged.Native.Native14 | |
libtorch-ffi > [ 24 of 105] Compiling Torch.Internal.Managed.Native.Native14 | |
libtorch-ffi > [ 25 of 105] Compiling Torch.Internal.Unmanaged.Native.Native15 | |
libtorch-ffi > [ 26 of 105] Compiling Torch.Internal.Managed.Native.Native15 | |
libtorch-ffi > [ 27 of 105] Compiling Torch.Internal.Unmanaged.Native.Native2 | |
libtorch-ffi > [ 28 of 105] Compiling Torch.Internal.Managed.Native.Native2 | |
libtorch-ffi > [ 29 of 105] Compiling Torch.Internal.Unmanaged.Native.Native3 | |
libtorch-ffi > [ 30 of 105] Compiling Torch.Internal.Managed.Native.Native3 | |
libtorch-ffi > [ 31 of 105] Compiling Torch.Internal.Unmanaged.Native.Native4 | |
libtorch-ffi > [ 32 of 105] Compiling Torch.Internal.Managed.Native.Native4 | |
libtorch-ffi > [ 33 of 105] Compiling Torch.Internal.Unmanaged.Native.Native5 | |
libtorch-ffi > [ 34 of 105] Compiling Torch.Internal.Managed.Native.Native5 | |
libtorch-ffi > [ 35 of 105] Compiling Torch.Internal.Unmanaged.Native.Native6 | |
libtorch-ffi > [ 36 of 105] Compiling Torch.Internal.Managed.Native.Native6 | |
libtorch-ffi > [ 37 of 105] Compiling Torch.Internal.Unmanaged.Native.Native7 | |
libtorch-ffi > [ 38 of 105] Compiling Torch.Internal.Managed.Native.Native7 | |
libtorch-ffi > [ 39 of 105] Compiling Torch.Internal.Unmanaged.Native.Native8 | |
libtorch-ffi > [ 40 of 105] Compiling Torch.Internal.Managed.Native.Native8 | |
libtorch-ffi > [ 41 of 105] Compiling Torch.Internal.Unmanaged.Native.Native9 | |
libtorch-ffi > [ 42 of 105] Compiling Torch.Internal.Unmanaged.Native | |
libtorch-ffi > [ 43 of 105] Compiling Torch.Internal.Managed.Native.Native9 | |
libtorch-ffi > [ 44 of 105] Compiling Torch.Internal.Managed.Native | |
libtorch-ffi > [ 45 of 105] Compiling Torch.Internal.Unmanaged.Optim | |
libtorch-ffi > <command-line>: error: expected identifier before numeric constant | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:21:3: error: | |
libtorch-ffi > note: in expansion of macro ‘PROFILING’ | |
libtorch-ffi > 21 | PROFILING, | |
libtorch-ffi > | ^~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 21 | PROFILING, | |
libtorch-ffi > | ^ | |
libtorch-ffi > <command-line>: error: expected ‘}’ before numeric constant | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:21:3: error: | |
libtorch-ffi > note: in expansion of macro ‘PROFILING’ | |
libtorch-ffi > 21 | PROFILING, | |
libtorch-ffi > | ^~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 21 | PROFILING, | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:19:28: error: | |
libtorch-ffi > note: to match this ‘{’ | |
libtorch-ffi > 19 | enum ExecutorExecutionMode { | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 19 | enum ExecutorExecutionMode { | |
libtorch-ffi > | ^ | |
libtorch-ffi > <command-line>: error: expected unqualified-id before numeric constant | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:21:3: error: | |
libtorch-ffi > note: in expansion of macro ‘PROFILING’ | |
libtorch-ffi > 21 | PROFILING, | |
libtorch-ffi > | ^~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 21 | PROFILING, | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:26:33: error: | |
libtorch-ffi > error: ‘Graph’ was not declared in this scope; did you mean ‘torch::jit::Graph’? | |
libtorch-ffi > 26 | ExecutionPlan(std::shared_ptr<Graph> graph, std::string function_name) | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | torch::jit::Graph | |
libtorch-ffi > | | |
libtorch-ffi > 26 | ExecutionPlan(std::shared_ptr<Graph> graph, std::string function_name) | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/ir/ir.h:1181:8: error: | |
libtorch-ffi > note: ‘torch::jit::Graph’ declared here | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:26:38: error: | |
libtorch-ffi > error: template argument 1 is invalid | |
libtorch-ffi > 26 | ExecutionPlan(std::shared_ptr<Graph> graph, std::string function_name) | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 26 | ExecutionPlan(std::shared_ptr<Graph> graph, std::string function_name) | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:33:3: error: | |
libtorch-ffi > error: ‘Code’ does not name a type | |
libtorch-ffi > 33 | Code code; | |
libtorch-ffi > | ^~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 33 | Code code; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:34:19: error: | |
libtorch-ffi > error: ‘Graph’ was not declared in this scope; did you mean ‘torch::jit::Graph’? | |
libtorch-ffi > 34 | std::shared_ptr<Graph> graph; | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | torch::jit::Graph | |
libtorch-ffi > | | |
libtorch-ffi > 34 | std::shared_ptr<Graph> graph; | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/ir/ir.h:1181:8: error: | |
libtorch-ffi > note: ‘torch::jit::Graph’ declared here | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:34:24: error: | |
libtorch-ffi > error: template argument 1 is invalid | |
libtorch-ffi > 34 | std::shared_ptr<Graph> graph; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 34 | std::shared_ptr<Graph> graph; | |
libtorch-ffi > | ^ | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h: In constructor ‘torch::ExecutionPlan::ExecutionPlan(int, std::string)’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:27:9: error: | |
libtorch-ffi > error: class ‘torch::ExecutionPlan’ does not have any field named ‘code’ | |
libtorch-ffi > 27 | : code(graph, std::move(function_name)), graph(std::move(graph)) {} | |
libtorch-ffi > | ^~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 27 | : code(graph, std::move(function_name)), graph(std::move(graph)) {} | |
libtorch-ffi > | ^ | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h: At global scope: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:43:9: error: | |
libtorch-ffi > error: ‘Graph’ does not name a type | |
libtorch-ffi > 43 | const Graph* graph = nullptr; | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 43 | const Graph* graph = nullptr; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:45:22: error: | |
libtorch-ffi > error: ‘ArgumentSpec’ was not declared in this scope; did you mean ‘torch::jit::ArgumentSpec’? | |
libtorch-ffi > 45 | std::unordered_map<ArgumentSpec, ExecutionPlan> execution_plans; | |
libtorch-ffi > | ^~~~~~~~~~~~ | |
libtorch-ffi > | torch::jit::ArgumentSpec | |
libtorch-ffi > | | |
libtorch-ffi > 45 | std::unordered_map<ArgumentSpec, ExecutionPlan> execution_plans; | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:8, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/argument_spec.h:75:8: error: | |
libtorch-ffi > note: ‘torch::jit::ArgumentSpec’ declared here | |
libtorch-ffi > 75 | struct ArgumentSpec { | |
libtorch-ffi > | ^~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 75 | struct ArgumentSpec { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:45:49: error: | |
libtorch-ffi > error: template argument 1 is invalid | |
libtorch-ffi > 45 | std::unordered_map<ArgumentSpec, ExecutionPlan> execution_plans; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 45 | std::unordered_map<ArgumentSpec, ExecutionPlan> execution_plans; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:45:49: error: | |
libtorch-ffi > error: template argument 3 is invalid | |
libtorch-ffi > | | |
libtorch-ffi > 45 | std::unordered_map<ArgumentSpec, ExecutionPlan> execution_plans; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:45:49: error: | |
libtorch-ffi > error: template argument 4 is invalid | |
libtorch-ffi > | | |
libtorch-ffi > 45 | std::unordered_map<ArgumentSpec, ExecutionPlan> execution_plans; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:45:49: error: | |
libtorch-ffi > error: template argument 5 is invalid | |
libtorch-ffi > | | |
libtorch-ffi > 45 | std::unordered_map<ArgumentSpec, ExecutionPlan> execution_plans; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:60:39: error: | |
libtorch-ffi > error: ‘Graph’ was not declared in this scope; did you mean ‘torch::jit::Graph’? | |
libtorch-ffi > 60 | GraphExecutor(const std::shared_ptr<Graph>& graph, std::string function_name); | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | torch::jit::Graph | |
libtorch-ffi > | | |
libtorch-ffi > 60 | GraphExecutor(const std::shared_ptr<Graph>& graph, std::string function_name); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/ir/ir.h:1181:8: error: | |
libtorch-ffi > note: ‘torch::jit::Graph’ declared here | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:60:44: error: | |
libtorch-ffi > error: template argument 1 is invalid | |
libtorch-ffi > 60 | GraphExecutor(const std::shared_ptr<Graph>& graph, std::string function_name); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 60 | GraphExecutor(const std::shared_ptr<Graph>& graph, std::string function_name); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:63:29: error: | |
libtorch-ffi > error: ‘Graph’ was not declared in this scope; did you mean ‘torch::jit::Graph’? | |
libtorch-ffi > 63 | const std::shared_ptr<Graph>& graph, | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | torch::jit::Graph | |
libtorch-ffi > | | |
libtorch-ffi > 63 | const std::shared_ptr<Graph>& graph, | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/ir/ir.h:1181:8: error: | |
libtorch-ffi > note: ‘torch::jit::Graph’ declared here | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:63:34: error: | |
libtorch-ffi > error: template argument 1 is invalid | |
libtorch-ffi > 63 | const std::shared_ptr<Graph>& graph, | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 63 | const std::shared_ptr<Graph>& graph, | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:65:7: error: | |
libtorch-ffi > error: ‘ExecutorExecutionMode’ has not been declared | |
libtorch-ffi > 65 | ExecutorExecutionMode executor_mode); | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 65 | ExecutorExecutionMode executor_mode); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:68:22: error: | |
libtorch-ffi > error: ‘Future’ was not declared in this scope | |
libtorch-ffi > 68 | c10::intrusive_ptr<Future> runAsync( | |
libtorch-ffi > | ^~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 68 | c10::intrusive_ptr<Future> runAsync( | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:68:22: error: | |
libtorch-ffi > note: suggested alternatives: | |
libtorch-ffi > | | |
libtorch-ffi > 68 | c10::intrusive_ptr<Future> runAsync( | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/ivalue.h:1467, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/List_inl.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/List.h:494, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/IListRef_inl.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/IListRef.h:632, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/DeviceGuard.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/ATen.h:9, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/types.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:6:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/ivalue_inl.h:820:27: error: | |
libtorch-ffi > note: ‘c10::ivalue::Future’ | |
libtorch-ffi > 820 | struct C10_EXPORT ivalue::Future final : c10::intrusive_ptr_target { | |
libtorch-ffi > | ^~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 820 | struct C10_EXPORT ivalue::Future final : c10::intrusive_ptr_target { | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/ivalue_inl.h:820:27: error: | |
libtorch-ffi > note: ‘c10::ivalue::Future’ | |
libtorch-ffi > | | |
libtorch-ffi > 820 | struct C10_EXPORT ivalue::Future final : c10::intrusive_ptr_target { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:68:28: error: | |
libtorch-ffi > error: template argument 1 is invalid | |
libtorch-ffi > 68 | c10::intrusive_ptr<Future> runAsync( | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 68 | c10::intrusive_ptr<Future> runAsync( | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:68:28: error: | |
libtorch-ffi > error: template argument 2 is invalid | |
libtorch-ffi > | | |
libtorch-ffi > 68 | c10::intrusive_ptr<Future> runAsync( | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:70:7: error: | |
libtorch-ffi > error: ‘TaskLauncher’ has not been declared | |
libtorch-ffi > 70 | TaskLauncher taskLauncher = at::launch); | |
libtorch-ffi > | ^~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 70 | TaskLauncher taskLauncher = at::launch); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:70:39: error: | |
libtorch-ffi > error: invalid conversion from ‘void (*)(std::function<void()>)’ to ‘int’ [-fpermissive] | |
libtorch-ffi > 70 | TaskLauncher taskLauncher = at::launch); | |
libtorch-ffi > | ~~~~^~~~~~ | |
libtorch-ffi > | | | |
libtorch-ffi > | void (*)(std::function<void()>) | |
libtorch-ffi > | | |
libtorch-ffi > 70 | TaskLauncher taskLauncher = at::launch); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:96:11: error: | |
libtorch-ffi > error: ‘Node’ does not name a type | |
libtorch-ffi > 96 | TORCH_API Node* replaceBlockWithFallbackGraph( | |
libtorch-ffi > | ^~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 96 | TORCH_API Node* replaceBlockWithFallbackGraph( | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:102:56: error: | |
libtorch-ffi > error: ‘Graph’ was not declared in this scope; did you mean ‘torch::jit::Graph’? | |
libtorch-ffi > 102 | TORCH_API void runRequiredPasses(const std::shared_ptr<Graph>& g); | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | torch::jit::Graph | |
libtorch-ffi > | | |
libtorch-ffi > 102 | TORCH_API void runRequiredPasses(const std::shared_ptr<Graph>& g); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/ir/ir.h:1181:8: error: | |
libtorch-ffi > note: ‘torch::jit::Graph’ declared here | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:102:61: error: | |
libtorch-ffi > error: template argument 1 is invalid | |
libtorch-ffi > 102 | TORCH_API void runRequiredPasses(const std::shared_ptr<Graph>& g); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 102 | TORCH_API void runRequiredPasses(const std::shared_ptr<Graph>& g); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:108:27: error: | |
libtorch-ffi > error: ‘Graph’ was not declared in this scope; did you mean ‘torch::jit::Graph’? | |
libtorch-ffi > 108 | TORCH_API std::shared_ptr<Graph> lastExecutedOptimizedGraph(); | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | torch::jit::Graph | |
libtorch-ffi > | | |
libtorch-ffi > 108 | TORCH_API std::shared_ptr<Graph> lastExecutedOptimizedGraph(); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/ir/ir.h:1181:8: error: | |
libtorch-ffi > note: ‘torch::jit::Graph’ declared here | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 1181 | struct Graph : std::enable_shared_from_this<Graph> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:108:32: error: | |
libtorch-ffi > error: template argument 1 is invalid | |
libtorch-ffi > 108 | TORCH_API std::shared_ptr<Graph> lastExecutedOptimizedGraph(); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 108 | TORCH_API std::shared_ptr<Graph> lastExecutedOptimizedGraph(); | |
libtorch-ffi > | ^ | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h: In constructor ‘torch::GraphOptimizerEnabledGuard::GraphOptimizerEnabledGuard(bool)’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:118:20: error: | |
libtorch-ffi > error: ‘getGraphExecutorOptimize’ was not declared in this scope; did you mean ‘torch::jit::getGraphExecutorOptimize’? | |
libtorch-ffi > 118 | : old_state_(getGraphExecutorOptimize()) { | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | torch::jit::getGraphExecutorOptimize | |
libtorch-ffi > | | |
libtorch-ffi > 118 | : old_state_(getGraphExecutorOptimize()) { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/python/update_graph_executor_opt.h:6:16: error: | |
libtorch-ffi > note: ‘torch::jit::getGraphExecutorOptimize’ declared here | |
libtorch-ffi > 6 | TORCH_API bool getGraphExecutorOptimize(); | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 6 | TORCH_API bool getGraphExecutorOptimize(); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:119:5: error: | |
libtorch-ffi > error: ‘setGraphExecutorOptimize’ was not declared in this scope; did you mean ‘torch::jit::setGraphExecutorOptimize’? | |
libtorch-ffi > 119 | setGraphExecutorOptimize(state); | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | torch::jit::setGraphExecutorOptimize | |
libtorch-ffi > | | |
libtorch-ffi > 119 | setGraphExecutorOptimize(state); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/python/update_graph_executor_opt.h:5:16: error: | |
libtorch-ffi > note: ‘torch::jit::setGraphExecutorOptimize’ declared here | |
libtorch-ffi > 5 | TORCH_API void setGraphExecutorOptimize(bool o); | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 5 | TORCH_API void setGraphExecutorOptimize(bool o); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h: In destructor ‘torch::GraphOptimizerEnabledGuard::~GraphOptimizerEnabledGuard()’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:123:5: error: | |
libtorch-ffi > error: ‘setGraphExecutorOptimize’ was not declared in this scope; did you mean ‘torch::jit::setGraphExecutorOptimize’? | |
libtorch-ffi > 123 | setGraphExecutorOptimize(old_state_); | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | torch::jit::setGraphExecutorOptimize | |
libtorch-ffi > | | |
libtorch-ffi > 123 | setGraphExecutorOptimize(old_state_); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/python/update_graph_executor_opt.h:5:16: error: | |
libtorch-ffi > note: ‘torch::jit::setGraphExecutorOptimize’ declared here | |
libtorch-ffi > 5 | TORCH_API void setGraphExecutorOptimize(bool o); | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 5 | TORCH_API void setGraphExecutorOptimize(bool o); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h: At global scope: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:131:32: error: | |
libtorch-ffi > error: ‘Operation’ was not declared in this scope; did you mean ‘torch::jit::Operation’? | |
libtorch-ffi > 131 | GraphExecutor* getGradExecutor(Operation& op); | |
libtorch-ffi > | ^~~~~~~~~ | |
libtorch-ffi > | torch::jit::Operation | |
libtorch-ffi > | | |
libtorch-ffi > 131 | GraphExecutor* getGradExecutor(Operation& op); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/boxing/KernelFunction.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/dispatch/Dispatcher.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/types.h:12, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:6:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/stack.h:17:7: error: | |
libtorch-ffi > note: ‘torch::jit::Operation’ declared here | |
libtorch-ffi > 17 | class Operation { | |
libtorch-ffi > | ^~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 17 | class Operation { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:131:43: error: | |
libtorch-ffi > error: ‘op’ was not declared in this scope | |
libtorch-ffi > 131 | GraphExecutor* getGradExecutor(Operation& op); | |
libtorch-ffi > | ^~ | |
libtorch-ffi > | | |
libtorch-ffi > 131 | GraphExecutor* getGradExecutor(Operation& op); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:133:49: error: | |
libtorch-ffi > error: ‘Operation’ was not declared in this scope; did you mean ‘torch::jit::Operation’? | |
libtorch-ffi > 133 | GraphExecutor* getDifferentiableGraphOpExecutor(Operation& op); | |
libtorch-ffi > | ^~~~~~~~~ | |
libtorch-ffi > | torch::jit::Operation | |
libtorch-ffi > | | |
libtorch-ffi > 133 | GraphExecutor* getDifferentiableGraphOpExecutor(Operation& op); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/boxing/KernelFunction.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/dispatch/Dispatcher.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/types.h:12, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:6:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/stack.h:17:7: error: | |
libtorch-ffi > note: ‘torch::jit::Operation’ declared here | |
libtorch-ffi > 17 | class Operation { | |
libtorch-ffi > | ^~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 17 | class Operation { | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:133:60: error: | |
libtorch-ffi > error: ‘op’ was not declared in this scope | |
libtorch-ffi > 133 | GraphExecutor* getDifferentiableGraphOpExecutor(Operation& op); | |
libtorch-ffi > | ^~ | |
libtorch-ffi > | | |
libtorch-ffi > 133 | GraphExecutor* getDifferentiableGraphOpExecutor(Operation& op); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:144:1: error: | |
libtorch-ffi > error: expected declaration before ‘}’ token | |
libtorch-ffi > 144 | } // namespace torch | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 144 | } // namespace torch | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /usr/include/c++/11/bits/move.h:57, | |
libtorch-ffi > from /usr/include/c++/11/bits/stl_pair.h:59, | |
libtorch-ffi > from /usr/include/c++/11/bits/stl_algobase.h:64, | |
libtorch-ffi > from /usr/include/c++/11/vector:60, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:2:0: error: | |
libtorch-ffi > /usr/include/c++/11/type_traits: In instantiation of ‘struct std::is_trivially_destructible<torch::jit::GraphExecutor>’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:530:44: error: | |
libtorch-ffi > required by substitution of ‘template<class T> using OptionalBase = std::conditional_t<c10::detail_::is_arrayref<T>::value, c10::arrayref_optional_base<T>, typename std::conditional<(((std::is_trivially_destructible<_Tp>::value && std::is_trivially_copyable<_Tp>::value) && std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base<T> >::value) && std::is_copy_assignable<c10::trivially_copyable_optimization_optional_base<T> >::value), c10::trivially_copyable_optimization_optional_base<T>, typename std::conditional<std::is_trivially_destructible<_Tp>::value, c10::constexpr_optional_base<typename std::remove_const<_Tp>::type>, c10::optional_base<typename std::remove_const<_Tp>::type> >::type>::type> [with T = torch::jit::GraphExecutor]’ | |
libtorch-ffi > | | |
libtorch-ffi > 530 | std::is_trivially_destructible<T>::value && | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:549:7: error: | |
libtorch-ffi > required from ‘class c10::optional<torch::jit::GraphExecutor>’ | |
libtorch-ffi > | | |
libtorch-ffi > 549 | class optional : private OptionalBase<T> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/array:111:56: error: | |
libtorch-ffi > required from ‘struct std::array<c10::optional<torch::jit::GraphExecutor>, 4>’ | |
libtorch-ffi > | | |
libtorch-ffi > 111 | typename _AT_Type::_Type _M_elems; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:178:7: error: | |
libtorch-ffi > required from here | |
libtorch-ffi > | | |
libtorch-ffi > 178 | executors_; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/type_traits:1339:37: error: | |
libtorch-ffi > error: invalid use of incomplete type ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 1339 | __bool_constant<__has_trivial_destructor(_Tp)>> | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 1339 | __bool_constant<__has_trivial_destructor(_Tp)>> | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:9, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/interpreter.h:40:8: error: | |
libtorch-ffi > note: forward declaration of ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /usr/include/c++/11/bits/move.h:57, | |
libtorch-ffi > from /usr/include/c++/11/bits/stl_pair.h:59, | |
libtorch-ffi > from /usr/include/c++/11/bits/stl_algobase.h:64, | |
libtorch-ffi > from /usr/include/c++/11/vector:60, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:2:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/type_traits:1341:52: error: | |
libtorch-ffi > error: static assertion failed: template argument must be a complete class or an unbounded array | |
libtorch-ffi > 1341 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | |
libtorch-ffi > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 1341 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/type_traits:1341:52: error: | |
libtorch-ffi > note: ‘std::__is_complete_or_unbounded<std::__type_identity<torch::jit::GraphExecutor> >((std::__type_identity<torch::jit::GraphExecutor>{}, std::__type_identity<torch::jit::GraphExecutor>()))’ evaluates to false | |
libtorch-ffi > | | |
libtorch-ffi > 1341 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/SymIntArrayRef.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/TensorImpl.h:10, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/GeneratorImpl.h:8, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/Generator.h:22, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/CPUGeneratorImpl.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/Context.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/ATen.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/types.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:6:0: error: | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h: In substitution of ‘template<class T> using OptionalBase = std::conditional_t<c10::detail_::is_arrayref<T>::value, c10::arrayref_optional_base<T>, typename std::conditional<(((std::is_trivially_destructible<_Tp>::value && std::is_trivially_copyable<_Tp>::value) && std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base<T> >::value) && std::is_copy_assignable<c10::trivially_copyable_optimization_optional_base<T> >::value), c10::trivially_copyable_optimization_optional_base<T>, typename std::conditional<std::is_trivially_destructible<_Tp>::value, c10::constexpr_optional_base<typename std::remove_const<_Tp>::type>, c10::optional_base<typename std::remove_const<_Tp>::type> >::type>::type> [with T = torch::jit::GraphExecutor]’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:549:7: error: | |
libtorch-ffi > required from ‘class c10::optional<torch::jit::GraphExecutor>’ | |
libtorch-ffi > | | |
libtorch-ffi > 549 | class optional : private OptionalBase<T> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/array:111:56: error: | |
libtorch-ffi > required from ‘struct std::array<c10::optional<torch::jit::GraphExecutor>, 4>’ | |
libtorch-ffi > | | |
libtorch-ffi > 111 | typename _AT_Type::_Type _M_elems; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:178:7: error: | |
libtorch-ffi > required from here | |
libtorch-ffi > | | |
libtorch-ffi > 178 | executors_; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:530:44: error: | |
libtorch-ffi > error: ‘value’ is not a member of ‘std::is_trivially_destructible<torch::jit::GraphExecutor>’ | |
libtorch-ffi > 530 | std::is_trivially_destructible<T>::value && | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 530 | std::is_trivially_destructible<T>::value && | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /usr/include/c++/11/bits/move.h:57, | |
libtorch-ffi > from /usr/include/c++/11/bits/stl_pair.h:59, | |
libtorch-ffi > from /usr/include/c++/11/bits/stl_algobase.h:64, | |
libtorch-ffi > from /usr/include/c++/11/vector:60, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:2:0: error: | |
libtorch-ffi > /usr/include/c++/11/type_traits: In instantiation of ‘struct std::is_trivially_copyable<torch::jit::GraphExecutor>’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:531:13: error: | |
libtorch-ffi > required by substitution of ‘template<class T> using OptionalBase = std::conditional_t<c10::detail_::is_arrayref<T>::value, c10::arrayref_optional_base<T>, typename std::conditional<(((std::is_trivially_destructible<_Tp>::value && std::is_trivially_copyable<_Tp>::value) && std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base<T> >::value) && std::is_copy_assignable<c10::trivially_copyable_optimization_optional_base<T> >::value), c10::trivially_copyable_optimization_optional_base<T>, typename std::conditional<std::is_trivially_destructible<_Tp>::value, c10::constexpr_optional_base<typename std::remove_const<_Tp>::type>, c10::optional_base<typename std::remove_const<_Tp>::type> >::type>::type> [with T = torch::jit::GraphExecutor]’ | |
libtorch-ffi > | | |
libtorch-ffi > 531 | C10_IS_TRIVIALLY_COPYABLE(T) && | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:549:7: error: | |
libtorch-ffi > required from ‘class c10::optional<torch::jit::GraphExecutor>’ | |
libtorch-ffi > | | |
libtorch-ffi > 549 | class optional : private OptionalBase<T> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/array:111:56: error: | |
libtorch-ffi > required from ‘struct std::array<c10::optional<torch::jit::GraphExecutor>, 4>’ | |
libtorch-ffi > | | |
libtorch-ffi > 111 | typename _AT_Type::_Type _M_elems; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:178:7: error: | |
libtorch-ffi > required from here | |
libtorch-ffi > | | |
libtorch-ffi > 178 | executors_; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/type_traits:711:38: error: | |
libtorch-ffi > error: invalid use of incomplete type ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 711 | : public integral_constant<bool, __is_trivially_copyable(_Tp)> | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 711 | : public integral_constant<bool, __is_trivially_copyable(_Tp)> | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:9, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/interpreter.h:40:8: error: | |
libtorch-ffi > note: forward declaration of ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /usr/include/c++/11/bits/move.h:57, | |
libtorch-ffi > from /usr/include/c++/11/bits/stl_pair.h:59, | |
libtorch-ffi > from /usr/include/c++/11/bits/stl_algobase.h:64, | |
libtorch-ffi > from /usr/include/c++/11/vector:60, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:2:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/type_traits:713:52: error: | |
libtorch-ffi > error: static assertion failed: template argument must be a complete class or an unbounded array | |
libtorch-ffi > 713 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | |
libtorch-ffi > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 713 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/type_traits:713:52: error: | |
libtorch-ffi > note: ‘std::__is_complete_or_unbounded<std::__type_identity<torch::jit::GraphExecutor> >((std::__type_identity<torch::jit::GraphExecutor>{}, std::__type_identity<torch::jit::GraphExecutor>()))’ evaluates to false | |
libtorch-ffi > | | |
libtorch-ffi > 713 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Exception.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/Generator.h:11, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/CPUGeneratorImpl.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/Context.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/ATen.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/types.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:6:0: error: | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h: In substitution of ‘template<class T> using OptionalBase = std::conditional_t<c10::detail_::is_arrayref<T>::value, c10::arrayref_optional_base<T>, typename std::conditional<(((std::is_trivially_destructible<_Tp>::value && std::is_trivially_copyable<_Tp>::value) && std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base<T> >::value) && std::is_copy_assignable<c10::trivially_copyable_optimization_optional_base<T> >::value), c10::trivially_copyable_optimization_optional_base<T>, typename std::conditional<std::is_trivially_destructible<_Tp>::value, c10::constexpr_optional_base<typename std::remove_const<_Tp>::type>, c10::optional_base<typename std::remove_const<_Tp>::type> >::type>::type> [with T = torch::jit::GraphExecutor]’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:549:7: error: | |
libtorch-ffi > required from ‘class c10::optional<torch::jit::GraphExecutor>’ | |
libtorch-ffi > | | |
libtorch-ffi > 549 | class optional : private OptionalBase<T> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/array:111:56: error: | |
libtorch-ffi > required from ‘struct std::array<c10::optional<torch::jit::GraphExecutor>, 4>’ | |
libtorch-ffi > | | |
libtorch-ffi > 111 | typename _AT_Type::_Type _M_elems; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:178:7: error: | |
libtorch-ffi > required from here | |
libtorch-ffi > | | |
libtorch-ffi > 178 | executors_; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/macros/Macros.h:440:69: error: | |
libtorch-ffi > error: ‘value’ is not a member of ‘std::is_trivially_copyable<torch::jit::GraphExecutor>’ | |
libtorch-ffi > 440 | #define C10_IS_TRIVIALLY_COPYABLE(T) std::is_trivially_copyable<T>::value | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 440 | #define C10_IS_TRIVIALLY_COPYABLE(T) std::is_trivially_copyable<T>::value | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:531:13: error: | |
libtorch-ffi > note: in expansion of macro ‘C10_IS_TRIVIALLY_COPYABLE’ | |
libtorch-ffi > 531 | C10_IS_TRIVIALLY_COPYABLE(T) && | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 531 | C10_IS_TRIVIALLY_COPYABLE(T) && | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/SymIntArrayRef.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/TensorImpl.h:10, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/GeneratorImpl.h:8, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/Generator.h:22, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/CPUGeneratorImpl.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/Context.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/ATen.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/types.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:6:0: error: | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h: In instantiation of ‘union c10::constexpr_storage_t<torch::jit::GraphExecutor>’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:411:26: error: | |
libtorch-ffi > required from ‘struct c10::trivially_copyable_optimization_optional_base<torch::jit::GraphExecutor>’ | |
libtorch-ffi > | | |
libtorch-ffi > 411 | constexpr_storage_t<T> storage_; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/type_traits:946:30: error: | |
libtorch-ffi > required from ‘struct std::__is_constructible_impl<c10::trivially_copyable_optimization_optional_base<torch::jit::GraphExecutor>, const c10::trivially_copyable_optimization_optional_base<torch::jit::GraphExecutor>&>’ | |
libtorch-ffi > | | |
libtorch-ffi > 946 | : public __bool_constant<__is_constructible(_Tp, _Args...)> | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/type_traits:977:12: error: | |
libtorch-ffi > required from ‘struct std::__is_copy_constructible_impl<c10::trivially_copyable_optimization_optional_base<torch::jit::GraphExecutor>, true>’ | |
libtorch-ffi > | | |
libtorch-ffi > 977 | struct __is_copy_constructible_impl<_Tp, true> | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/type_traits:984:12: error: | |
libtorch-ffi > required from ‘struct std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base<torch::jit::GraphExecutor> >’ | |
libtorch-ffi > | | |
libtorch-ffi > 984 | struct is_copy_constructible | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:537:68: error: | |
libtorch-ffi > required by substitution of ‘template<class T> using OptionalBase = std::conditional_t<c10::detail_::is_arrayref<T>::value, c10::arrayref_optional_base<T>, typename std::conditional<(((std::is_trivially_destructible<_Tp>::value && std::is_trivially_copyable<_Tp>::value) && std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base<T> >::value) && std::is_copy_assignable<c10::trivially_copyable_optimization_optional_base<T> >::value), c10::trivially_copyable_optimization_optional_base<T>, typename std::conditional<std::is_trivially_destructible<_Tp>::value, c10::constexpr_optional_base<typename std::remove_const<_Tp>::type>, c10::optional_base<typename std::remove_const<_Tp>::type> >::type>::type> [with T = torch::jit::GraphExecutor]’ | |
libtorch-ffi > | | |
libtorch-ffi > 537 | trivially_copyable_optimization_optional_base<T>>::value && | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:549:7: error: | |
libtorch-ffi > required from ‘class c10::optional<torch::jit::GraphExecutor>’ | |
libtorch-ffi > | | |
libtorch-ffi > 549 | class optional : private OptionalBase<T> { | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//usr/include/c++/11/array:111:56: error: | |
libtorch-ffi > required from ‘struct std::array<c10::optional<torch::jit::GraphExecutor>, 4>’ | |
libtorch-ffi > | | |
libtorch-ffi > 111 | typename _AT_Type::_Type _M_elems; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:178:7: error: | |
libtorch-ffi > required from here | |
libtorch-ffi > | | |
libtorch-ffi > 178 | executors_; | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:195:5: error: | |
libtorch-ffi > error: ‘c10::constexpr_storage_t<T>::value_’ has incomplete type | |
libtorch-ffi > 195 | T value_; | |
libtorch-ffi > | ^~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 195 | T value_; | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:9, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/interpreter.h:40:8: error: | |
libtorch-ffi > note: forward declaration of ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:86:38: error: | |
libtorch-ffi > error: return type ‘struct torch::jit::GraphExecutorState’ is incomplete | |
libtorch-ffi > 86 | GraphExecutorState getDebugState() { | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 86 | GraphExecutorState getDebugState() { | |
libtorch-ffi > | ^ | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h: In member function ‘void torch::jit::GraphFunction::getDebugState()’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:87:24: error: | |
libtorch-ffi > error: invalid use of incomplete type ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 87 | return get_executor().getDebugState(); | |
libtorch-ffi > | ~~~~~~~~~~~~^~ | |
libtorch-ffi > | | |
libtorch-ffi > 87 | return get_executor().getDebugState(); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:9, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/interpreter.h:40:8: error: | |
libtorch-ffi > note: forward declaration of ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h: In member function ‘torch::jit::GraphExecutor& torch::jit::GraphFunction::get_executor()’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:114:47: error: | |
libtorch-ffi > error: invalid use of incomplete type ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 114 | executor = GraphExecutor(opt_graph, name); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 114 | executor = GraphExecutor(opt_graph, name); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:9, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/interpreter.h:40:8: error: | |
libtorch-ffi > note: forward declaration of ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:116:74: error: | |
libtorch-ffi > error: invalid use of incomplete type ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 116 | executor = GraphExecutor(opt_graph, name, *executor_execution_mode_); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | | |
libtorch-ffi > 116 | executor = GraphExecutor(opt_graph, name, *executor_execution_mode_); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:9, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/interpreter.h:40:8: error: | |
libtorch-ffi > note: forward declaration of ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/SymIntArrayRef.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/TensorImpl.h:10, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/core/GeneratorImpl.h:8, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/Generator.h:22, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/CPUGeneratorImpl.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/Context.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/ATen.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/types.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:6:0: error: | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h: In substitution of ‘template<class T> template<class U> using OptionalBase = std::conditional_t<c10::detail_::is_arrayref<U>::value, c10::arrayref_optional_base<U>, typename std::conditional<(((std::is_trivially_destructible<U>::value && std::is_trivially_copyable<U>::value) && std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base<U> >::value) && std::is_copy_assignable<c10::trivially_copyable_optimization_optional_base<U> >::value), c10::trivially_copyable_optimization_optional_base<U>, typename std::conditional<std::is_trivially_destructible<U>::value, c10::constexpr_optional_base<typename std::remove_const<ItTy>::type>, c10::optional_base<typename std::remove_const<ItTy>::type> >::type>::type> [with U = torch::jit::GraphExecutor; T = torch::jit::GraphExecutor]’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:583:40: error: | |
libtorch-ffi > required from ‘constexpr bool c10::optional<T>::initialized() const [with T = torch::jit::GraphExecutor]’ | |
libtorch-ffi > | | |
libtorch-ffi > 583 | return OptionalBase<T>::initialized(); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:733:23: error: | |
libtorch-ffi > required from ‘constexpr c10::optional<T>::operator bool() const [with T = torch::jit::GraphExecutor]’ | |
libtorch-ffi > | | |
libtorch-ffi > 733 | return initialized(); | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:107:17: error: | |
libtorch-ffi > required from here | |
libtorch-ffi > | | |
libtorch-ffi > 107 | if (executor) { | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:555:46: error: | |
libtorch-ffi > error: ‘value’ is not a member of ‘std::is_trivially_destructible<torch::jit::GraphExecutor>’ | |
libtorch-ffi > 555 | std::is_trivially_destructible<U>::value && | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 555 | std::is_trivially_destructible<U>::value && | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Exception.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/core/Generator.h:11, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/CPUGeneratorImpl.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/Context.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/ATen/ATen.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/types.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:6:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/macros/Macros.h:440:69: error: | |
libtorch-ffi > error: ‘value’ is not a member of ‘std::is_trivially_copyable<torch::jit::GraphExecutor>’ | |
libtorch-ffi > 440 | #define C10_IS_TRIVIALLY_COPYABLE(T) std::is_trivially_copyable<T>::value | |
libtorch-ffi > | ^~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 440 | #define C10_IS_TRIVIALLY_COPYABLE(T) std::is_trivially_copyable<T>::value | |
libtorch-ffi > | ^ | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/c10/util/Optional.h:556:15: error: | |
libtorch-ffi > note: in expansion of macro ‘C10_IS_TRIVIALLY_COPYABLE’ | |
libtorch-ffi > 556 | C10_IS_TRIVIALLY_COPYABLE(U) && | |
libtorch-ffi > | ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 556 | C10_IS_TRIVIALLY_COPYABLE(U) && | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h: In member function ‘virtual bool torch::jit::GraphFunction::call(torch::jit::Stack&, c10::optional<long unsigned int>, c10::function_ref<void(const torch::jit::Code&)>)’: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:126:19: error: | |
libtorch-ffi > error: invalid use of incomplete type ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 126 | f(get_executor().getPlanFor(stack, bailOut).code); | |
libtorch-ffi > | ~~~~~~~~~~~~^~ | |
libtorch-ffi > | | |
libtorch-ffi > 126 | f(get_executor().getPlanFor(stack, bailOut).code); | |
libtorch-ffi > | ^ | |
libtorch-ffi > In file included from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/graph_executor.h:9, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/function_impl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/method.h:7, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/object.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/api/module.h:4, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/serialize/archive.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h:5, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h:3, | |
libtorch-ffi > from /home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/api/include/torch/optim.h:3, | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0/ from /tmp/ghc634642_0/ghc_433.cpp:8:0: error: | |
libtorch-ffi > | |
libtorch-ffi > /tmp/stack-f6d557a95c25a2c7/libtorch-ffi-2.0.0.0//home/kenhkan/present/lib/hasktorch/deps/libtorch/include/torch/csrc/jit/runtime/interpreter.h:40:8: error: | |
libtorch-ffi > note: forward declaration of ‘struct torch::jit::GraphExecutor’ | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^~~~~~~~~~~~~ | |
libtorch-ffi > | | |
libtorch-ffi > 40 | struct GraphExecutor; | |
libtorch-ffi > | ^ | |
libtorch-ffi > `gcc' failed in phase `C Compiler'. (Exit code: 1) | |
Progress 189/191 | |
Error: [S-7282] | |
Stack failed to execute the build plan. | |
While executing the build plan, Stack encountered the error: | |
[S-7011] | |
While building package libtorch-ffi-2.0.0.0 (scroll up to its section to see the error) using: | |
/home/kenhkan/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_6HauvNHV_3.6.3.0_ghc-9.2.5 --verbose=1 --builddir=.stack-work/dist/x86_64-linux/ghc-9.2.5 build --ghc-options " -fdiagnostics-color=always" | |
Process exited with code: ExitFailure 1 | |
real 32m54.788s | |
user 70m58.438s | |
sys 2m58.716s | |
+ [[ 1 > 0 ]] | |
+ echo 'Build tch with profile failed' | |
Build tch with profile failed | |
+ exit 2 | |
Connection to kenitrade closed. | |
24-05-24 20:20:54:/Users/kenhkan/s/c/present$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment