singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] chrishkchris edited a comment on issue #591: Dev branch cpu training problem (with conv and pool)
Date Thu, 20 Feb 2020 06:34:32 GMT
chrishkchris edited a comment on issue #591: Dev branch cpu training problem (with conv and
pool)
URL: https://github.com/apache/singa/issues/591#issuecomment-588630599
 
 
   > Hi @chrishkchris , I am still working on this issue, but I am encountering something
very weird.
   > I borrow the code from dnnl example and testing result shows similar performance compared
to mkldnn(conv forward in 5000microsec).
   > However, after some modification to the example code(just introducing Singa Tensor
dcslin/singa@06ec6ce), I still can get reasonable performance(conv forward in 5000 microsec).
But the weird part is, the result is not stable, out of 10 times testing, segmentation fault
appear ~6 times.
   > 
   > I run your example code but did not find any problem, it display mytestok. The last
segmentation fault of "double free" is due to freeing of variables.
   > [ RUN      ] MYTEST.Forward
   > [total]Time difference = 58228[mu s]
   > [avg]Time difference = 582[mu s]
   > mytestok
   > double free or corruption (!prev)
   > Aborted (core dumped)
   > 
   > 
   > do you how to fix this?
   
   Don't know, I tried by turning the tensor to pointer. Now it display:
   
   ```
   [total]Time difference = 53626[mu s]
   [avg]Time difference = 536[mu s]
   mytestok
   free(): invalid pointer
   Aborted (core dumped)
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message