{"action":"opened","issue":{"url":"https://api.github.com/repos/szagoruyko/nnpack.torch/issues/5","repository_url":"https://api.github.com/repos/szagoruyko/nnpack.torch","labels_url":"https://api.github.com/repos/szagoruyko/nnpack.torch/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/szagoruyko/nnpack.torch/issues/5/comments","events_url":"https://api.github.com/repos/szagoruyko/nnpack.torch/issues/5/events","html_url":"https://github.com/szagoruyko/nnpack.torch/issues/5","id":197098827,"number":5,"title":"Error in NNPACK: cdata<enum nnp_status>: 51 (nnp_initialize)","user":{"login":"bobbens","id":54677,"avatar_url":"https://avatars.githubusercontent.com/u/54677?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbens","html_url":"https://github.com/bobbens","followers_url":"https://api.github.com/users/bobbens/followers","following_url":"https://api.github.com/users/bobbens/following{/other_user}","gists_url":"https://api.github.com/users/bobbens/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbens/subscriptions","organizations_url":"https://api.github.com/users/bobbens/orgs","repos_url":"https://api.github.com/users/bobbens/repos","events_url":"https://api.github.com/users/bobbens/events{/privacy}","received_events_url":"https://api.github.com/users/bobbens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-22T05:42:44Z","updated_at":"2016-12-22T05:42:44Z","closed_at":null,"body":"Hello,\r\nI just installed NNPACK of latest git and nnpack.torch and am geting the following error:\r\n```\r\n$ th\r\n\r\n  ______             __   |  Torch7                                        \r\n /_  __/__  ________/ /   |  Scientific computing for Lua.\r\n  / / / _ \\/ __/ __/ _ \\  |  Type ? for help                               \r\n /_/  \\___/_/  \\__/_//_/  |  https://github.com/torch        \r\n                          |  http://torch.ch                 \r\n\r\nth> require 'nnpack'\r\n/home/esimo/torch/install/share/lua/5.1/trepl/init.lua:384: /home/esimo/torch/install/share/lua/5.1/nnpack/init.lua:11: Error in NNPACK: cdata<enum nnp_status>: 51 (nnp_initialize)\r\nstack traceback:\r\n        [C]: in function 'error'\r\n        /home/esimo/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'\r\n        [string \"_RESULT={require 'nnpack'}\"]:1: in main chunk\r\n        [C]: in function 'xpcall'\r\n        /home/esimo/torch/install/share/lua/5.1/trepl/init.lua:651: in function 'repl'\r\n        ...simo/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk\r\n        [C]: at 0x00405d50\r\n```\r\nI'm assuming the API changed or something. Would it be possible to know what revision of NNPACK was last used with nnpack.torch to know compatibility?\r\n\r\nBy the way, I had to change the last lines of ffi.lua to the following so it uses the system nnpack.so and not a local one.\r\n```\r\nlocal C = ffi.load'nnpack'\r\n--local C = ffi.load'./libnnpack.so'\r\n```\r\nThanks."}}
{"actor":{"display_login":"bobbens"}}