{"action":"opened","number":1186,"pull_request":{"url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/1186","id":93500467,"html_url":"https://github.com/kaldi-asr/kaldi/pull/1186","diff_url":"https://github.com/kaldi-asr/kaldi/pull/1186.diff","patch_url":"https://github.com/kaldi-asr/kaldi/pull/1186.patch","issue_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/1186","number":1186,"state":"open","locked":false,"title":"WIP/help needed: Looped computation","user":{"login":"danpovey","id":3298747,"avatar_url":"https://avatars.githubusercontent.com/u/3298747?v=3","gravatar_id":"","url":"https://api.github.com/users/danpovey","html_url":"https://github.com/danpovey","followers_url":"https://api.github.com/users/danpovey/followers","following_url":"https://api.github.com/users/danpovey/following{/other_user}","gists_url":"https://api.github.com/users/danpovey/gists{/gist_id}","starred_url":"https://api.github.com/users/danpovey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpovey/subscriptions","organizations_url":"https://api.github.com/users/danpovey/orgs","repos_url":"https://api.github.com/users/danpovey/repos","events_url":"https://api.github.com/users/danpovey/events{/privacy}","received_events_url":"https://api.github.com/users/danpovey/received_events","type":"User","site_admin":false},"body":"This pull request represents some work I have been doing to support decoding in nnet3 in a way that naturally allows re-use of previously computed things.  This is done right inside the nnet3 compilation process, so we don't have to mess around externally with additional outputs and inputs.\r\n\r\nIt's applicable to decoding with TDNNs and LSTMs (and should be particularly helpful for LSTMs, because it avoids the need to extend the chunk with left context).\r\nI haven't yet implemented the \"online\" decoding with this.. that can be done later.\r\nThe point this is at, is that all the C++ code is implemented, and tested based on automated tests, but I haven't modified any scripts or run any of the examples.\r\nThis is not just about testing new code paths, but existing code could in theory crash, because I made a lot of changes to core nnet3 stuff.\r\nBecause I have made the 'looped' computation available by adding a new binary (nnet3-latgen-faster-looped), nnet3 decoding-script changes would be required to make use of this: probably an option --looped-computation [true|false] that would trigger a branch in the script.  Note: the options --extra-left-context and --extra-right-context are not present in nnet3-latgen-faster-looped.  There is a config --extra-left-context-initial (extra left context for the first chunk), but I hope it won't be necessary to use or won't make much difference.\r\n\r\nI am hoping someone can help me test this and do the script-level changes.  @tomkocse?  @vijayaditya, do you have any suggestion about this?","created_at":"2016-11-14T02:42:13Z","updated_at":"2016-11-14T02:42:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/1186/commits","review_comments_url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/1186/comments","review_comment_url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/1186/comments","statuses_url":"https://api.github.com/repos/kaldi-asr/kaldi/statuses/95590f3d0e2a1e57946dffdb1e31fe008c51835d","head":{"label":"danpovey:looped_computation","ref":"looped_computation","sha":"95590f3d0e2a1e57946dffdb1e31fe008c51835d","user":{"login":"danpovey","id":3298747,"avatar_url":"https://avatars.githubusercontent.com/u/3298747?v=3","gravatar_id":"","url":"https://api.github.com/users/danpovey","html_url":"https://github.com/danpovey","followers_url":"https://api.github.com/users/danpovey/followers","following_url":"https://api.github.com/users/danpovey/following{/other_user}","gists_url":"https://api.github.com/users/danpovey/gists{/gist_id}","starred_url":"https://api.github.com/users/danpovey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpovey/subscriptions","organizations_url":"https://api.github.com/users/danpovey/orgs","repos_url":"https://api.github.com/users/danpovey/repos","events_url":"https://api.github.com/users/danpovey/events{/privacy}","received_events_url":"https://api.github.com/users/danpovey/received_events","type":"User","site_admin":false},"repo":{"id":34285091,"name":"kaldi","full_name":"danpovey/kaldi","owner":{"login":"danpovey","id":3298747,"avatar_url":"https://avatars.githubusercontent.com/u/3298747?v=3","gravatar_id":"","url":"https://api.github.com/users/danpovey","html_url":"https://github.com/danpovey","followers_url":"https://api.github.com/users/danpovey/followers","following_url":"https://api.github.com/users/danpovey/following{/other_user}","gists_url":"https://api.github.com/users/danpovey/gists{/gist_id}","starred_url":"https://api.github.com/users/danpovey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpovey/subscriptions","organizations_url":"https://api.github.com/users/danpovey/orgs","repos_url":"https://api.github.com/users/danpovey/repos","events_url":"https://api.github.com/users/danpovey/events{/privacy}","received_events_url":"https://api.github.com/users/danpovey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danpovey/kaldi","description":"dan povey's local copy of kadi-asr/kaldi","fork":true,"url":"https://api.github.com/repos/danpovey/kaldi","forks_url":"https://api.github.com/repos/danpovey/kaldi/forks","keys_url":"https://api.github.com/repos/danpovey/kaldi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danpovey/kaldi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danpovey/kaldi/teams","hooks_url":"https://api.github.com/repos/danpovey/kaldi/hooks","issue_events_url":"https://api.github.com/repos/danpovey/kaldi/issues/events{/number}","events_url":"https://api.github.com/repos/danpovey/kaldi/events","assignees_url":"https://api.github.com/repos/danpovey/kaldi/assignees{/user}","branches_url":"https://api.github.com/repos/danpovey/kaldi/branches{/branch}","tags_url":"https://api.github.com/repos/danpovey/kaldi/tags","blobs_url":"https://api.github.com/repos/danpovey/kaldi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danpovey/kaldi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danpovey/kaldi/git/refs{/sha}","trees_url":"https://api.github.com/repos/danpovey/kaldi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danpovey/kaldi/statuses/{sha}","languages_url":"https://api.github.com/repos/danpovey/kaldi/languages","stargazers_url":"https://api.github.com/repos/danpovey/kaldi/stargazers","contributors_url":"https://api.github.com/repos/danpovey/kaldi/contributors","subscribers_url":"https://api.github.com/repos/danpovey/kaldi/subscribers","subscription_url":"https://api.github.com/repos/danpovey/kaldi/subscription","commits_url":"https://api.github.com/repos/danpovey/kaldi/commits{/sha}","git_commits_url":"https://api.github.com/repos/danpovey/kaldi/git/commits{/sha}","comments_url":"https://api.github.com/repos/danpovey/kaldi/comments{/number}","issue_comment_url":"https://api.github.com/repos/danpovey/kaldi/issues/comments{/number}","contents_url":"https://api.github.com/repos/danpovey/kaldi/contents/{+path}","compare_url":"https://api.github.com/repos/danpovey/kaldi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danpovey/kaldi/merges","archive_url":"https://api.github.com/repos/danpovey/kaldi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danpovey/kaldi/downloads","issues_url":"https://api.github.com/repos/danpovey/kaldi/issues{/number}","pulls_url":"https://api.github.com/repos/danpovey/kaldi/pulls{/number}","milestones_url":"https://api.github.com/repos/danpovey/kaldi/milestones{/number}","notifications_url":"https://api.github.com/repos/danpovey/kaldi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danpovey/kaldi/labels{/name}","releases_url":"https://api.github.com/repos/danpovey/kaldi/releases{/id}","deployments_url":"https://api.github.com/repos/danpovey/kaldi/deployments","created_at":"2015-04-20T20:37:58Z","updated_at":"2016-07-20T06:20:19Z","pushed_at":"2016-11-14T02:33:31Z","git_url":"git://github.com/danpovey/kaldi.git","ssh_url":"git@github.com:danpovey/kaldi.git","clone_url":"https://github.com/danpovey/kaldi.git","svn_url":"https://github.com/danpovey/kaldi","homepage":"","size":105769,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":5,"default_branch":"master"}},"base":{"label":"kaldi-asr:master","ref":"master","sha":"463ef75eea339e22dcbf1da06c3d13323cbbcbf2","user":{"login":"kaldi-asr","id":11650082,"avatar_url":"https://avatars.githubusercontent.com/u/11650082?v=3","gravatar_id":"","url":"https://api.github.com/users/kaldi-asr","html_url":"https://github.com/kaldi-asr","followers_url":"https://api.github.com/users/kaldi-asr/followers","following_url":"https://api.github.com/users/kaldi-asr/following{/other_user}","gists_url":"https://api.github.com/users/kaldi-asr/gists{/gist_id}","starred_url":"https://api.github.com/users/kaldi-asr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaldi-asr/subscriptions","organizations_url":"https://api.github.com/users/kaldi-asr/orgs","repos_url":"https://api.github.com/users/kaldi-asr/repos","events_url":"https://api.github.com/users/kaldi-asr/events{/privacy}","received_events_url":"https://api.github.com/users/kaldi-asr/received_events","type":"Organization","site_admin":false},"repo":{"id":34275045,"name":"kaldi","full_name":"kaldi-asr/kaldi","owner":{"login":"kaldi-asr","id":11650082,"avatar_url":"https://avatars.githubusercontent.com/u/11650082?v=3","gravatar_id":"","url":"https://api.github.com/users/kaldi-asr","html_url":"https://github.com/kaldi-asr","followers_url":"https://api.github.com/users/kaldi-asr/followers","following_url":"https://api.github.com/users/kaldi-asr/following{/other_user}","gists_url":"https://api.github.com/users/kaldi-asr/gists{/gist_id}","starred_url":"https://api.github.com/users/kaldi-asr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaldi-asr/subscriptions","organizations_url":"https://api.github.com/users/kaldi-asr/orgs","repos_url":"https://api.github.com/users/kaldi-asr/repos","events_url":"https://api.github.com/users/kaldi-asr/events{/privacy}","received_events_url":"https://api.github.com/users/kaldi-asr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaldi-asr/kaldi","description":"This is now the official location of the Kaldi project.","fork":false,"url":"https://api.github.com/repos/kaldi-asr/kaldi","forks_url":"https://api.github.com/repos/kaldi-asr/kaldi/forks","keys_url":"https://api.github.com/repos/kaldi-asr/kaldi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaldi-asr/kaldi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaldi-asr/kaldi/teams","hooks_url":"https://api.github.com/repos/kaldi-asr/kaldi/hooks","issue_events_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/events{/number}","events_url":"https://api.github.com/repos/kaldi-asr/kaldi/events","assignees_url":"https://api.github.com/repos/kaldi-asr/kaldi/assignees{/user}","branches_url":"https://api.github.com/repos/kaldi-asr/kaldi/branches{/branch}","tags_url":"https://api.github.com/repos/kaldi-asr/kaldi/tags","blobs_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaldi-asr/kaldi/statuses/{sha}","languages_url":"https://api.github.com/repos/kaldi-asr/kaldi/languages","stargazers_url":"https://api.github.com/repos/kaldi-asr/kaldi/stargazers","contributors_url":"https://api.github.com/repos/kaldi-asr/kaldi/contributors","subscribers_url":"https://api.github.com/repos/kaldi-asr/kaldi/subscribers","subscription_url":"https://api.github.com/repos/kaldi-asr/kaldi/subscription","commits_url":"https://api.github.com/repos/kaldi-asr/kaldi/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaldi-asr/kaldi/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaldi-asr/kaldi/contents/{+path}","compare_url":"https://api.github.com/repos/kaldi-asr/kaldi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaldi-asr/kaldi/merges","archive_url":"https://api.github.com/repos/kaldi-asr/kaldi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaldi-asr/kaldi/downloads","issues_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues{/number}","pulls_url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls{/number}","milestones_url":"https://api.github.com/repos/kaldi-asr/kaldi/milestones{/number}","notifications_url":"https://api.github.com/repos/kaldi-asr/kaldi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaldi-asr/kaldi/labels{/name}","releases_url":"https://api.github.com/repos/kaldi-asr/kaldi/releases{/id}","deployments_url":"https://api.github.com/repos/kaldi-asr/kaldi/deployments","created_at":"2015-04-20T17:23:16Z","updated_at":"2016-11-14T00:07:00Z","pushed_at":"2016-11-14T02:42:13Z","git_url":"git://github.com/kaldi-asr/kaldi.git","ssh_url":"git@github.com:kaldi-asr/kaldi.git","clone_url":"https://github.com/kaldi-asr/kaldi.git","svn_url":"https://github.com/kaldi-asr/kaldi","homepage":"http://kaldi-asr.org","size":151213,"stargazers_count":1285,"watchers_count":1285,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":647,"mirror_url":null,"open_issues_count":89,"forks":647,"open_issues":89,"watchers":1285,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/1186"},"html":{"href":"https://github.com/kaldi-asr/kaldi/pull/1186"},"issue":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/issues/1186"},"comments":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/issues/1186/comments"},"review_comments":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/1186/comments"},"review_comment":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/1186/commits"},"statuses":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/statuses/95590f3d0e2a1e57946dffdb1e31fe008c51835d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":15,"additions":4804,"deletions":2030,"changed_files":52}}
{"actor":{"display_login":"danpovey"}}