Comments (1)
Code has been refactored within the Issue22 branch. Code compiles, but there is a runtime error involving Tensor allocation.
For example, when running ./test_nodes:
terminate called after throwing an instance of 'util::Exception'
what(): /home/lanes/Marian/src/tensor.h:403 in const marian::Shape& marian::Tensor::shape() > const threw util::Exception because `!pimpl_'.
Tensor has not been allocatedProgram received signal SIGABRT, Aborted.
0x00007fffea7d15f7 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.17-106.el7_2.8.x86_64 libgcc-4.8.5-4.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64
(gdb) bt
#0 0x00007fffea7d15f7 in raise () from /lib64/libc.so.6
#1 0x00007fffea7d2ce8 in abort () from /lib64/libc.so.6
#2 0x00007fffeb0d69d5 in __gnu_cxx::__verbose_terminate_handler() () from /lib64/libstdc++.so.6
#3 0x00007fffeb0d4946 in ?? () from /lib64/libstdc++.so.6
#4 0x00007fffeb0d4973 in std::terminate() () from /lib64/libstdc++.so.6
#5 0x00007fffeb0d4b93 in __cxa_throw () from /lib64/libstdc++.so.6
#6 0x0000000000411246 in marian::Tensor::shape (this=this@entry=0x7fffffffdff0) at /home/lanes/Marian/src/tensor.h:403
#7 0x00000000004121e0 in operator() (__closure=) at /home/lanes/Marian/src/expression_operators.h:147
#8 std::_Function_handler<float (), std::shared_ptrmarian::DifferentiableNode marian::mean<marian::keywords::Keyword<2232387322u, int> >(std::shared_ptrmarian::DifferentiableNode, marian::keywords::Keyword<2232387322u, int>)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/4.8.2/functional:2056
#9 0x0000000000479347 in operator() (this=0x7fffffffe070) at /usr/include/c++/4.8.2/functional:2471
#10 marian::ExpressionGraphNode::allocate (this=0x16763190, batchSize=) at /home/lanes/Marian/src/node.cu:27
#11 0x000000000041dec9 in marian::ExpressionGraph::forward (this=0x16762170, batch=std::shared_ptr (count 2, weak 0) 0x8280790) at /home/lanes/Marian/src/expression_graph.h:120
#12 0x0000000000407914 in main (argc=, argv=) at /home/lanes/Marian/src/test_nodes.cu:77
from marian-dev.
Related Issues (20)
- Compilation error on gcc 12: pointer used after ‘void operator delete(void*, std::size_t)’
- Doesn't compile on clang 16.0.6 due to issue in sentencepiece
- Doubt regarding scoring method,F0
- Cost nan
- Portable marian binary for the recent versions of ubuntu (20.04 and newer)
- Curand error 203 in wsl
- fp16 does not work on CPU HOT 2
- -DCOMPILE_TESTS is broken on ubuntu 22.04 HOT 1
- Cmake cannot find cuBLASLt
- marian embed --compute-similarity errors out HOT 2
- Multithread Translation HOT 1
- High RAM usage with factors+shuffle-in-ram: false
- Per-factor embedding dimensions when concatenating
- Setting optimizer-delay to 0 prevents makes the trainining process stall with no error
- [Feature Request] Decoder-only Marian models
- GCC 12 compilation warning: withCommas integer wraparound
- intrusive_ptr not threadsafe
- Training Optimization Question
- zstandard support in input files
- Training fails on Vertex AI (GCP) due to NCCL error on A100 GPUs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marian-dev.