{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/fast-wavenet-generation-algorithm","title":"Fast Wavenet Generation Algorithm","arxiv_id":"1611.09482","date":"2016-11-29","proceeding":null,"authors":["Tom Le Paine","Pooya Khorrami","Shiyu Chang","Yang Zhang","Prajit Ramachandran","Mark A. Hasegawa-Johnson","Thomas S. Huang"],"abstract":"This paper presents an efficient implementation of the Wavenet generation\nprocess called Fast Wavenet. Compared to a naive implementation that has\ncomplexity O(2^L) (L denotes the number of layers in the network), our proposed\napproach removes redundant convolution operations by caching previous\ncalculations, thereby reducing the complexity to O(L) time. Timing experiments\nshow significant advantages of our fast implementation over a naive one. While\nthis method is presented for Wavenet, the same scheme can be applied anytime\none wants to perform autoregressive generation or online prediction using a\nmodel with dilated convolution layers. The code for our method is publicly\navailable.","url_abs":"http://arxiv.org/abs/1611.09482v1","url_pdf":"http://arxiv.org/pdf/1611.09482v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"fast-wavenet-generation-algorithm","repo_url":"https://github.com/tomlepaine/fast-wavenet","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"fast-wavenet-generation-algorithm","repo_url":"https://github.com/L0SG/NanoFlow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"fast-wavenet-generation-algorithm","repo_url":"https://github.com/PhilippeNguyen/keras_wavenet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"fast-wavenet-generation-algorithm","repo_url":"https://github.com/caillonantoine/waveflow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"fast-wavenet-generation-algorithm","repo_url":"https://github.com/vincentherrmann/pytorch-wavenet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"fast-wavenet-generation-algorithm","repo_url":"https://github.com/zhong110020/fast-wavenet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"GPL-3.0"}}],"tasks":[],"methods":[{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"dilated-causal-convolution","method_name":"Dilated Causal Convolution"},{"method_slug":"dilated-convolution","method_name":"Dilated Convolution"},{"method_slug":"mixture-of-logistic-distributions","method_name":"Mixture of Logistic Distributions"},{"method_slug":"wavenet","method_name":"WaveNet"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1611.09482","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1611.09482"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zhong110020/fast-wavenet","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/L0SG/NanoFlow","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/caillonantoine/waveflow","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tomlepaine/fast-wavenet","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/PhilippeNguyen/keras_wavenet","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vincentherrmann/pytorch-wavenet","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":9},"by_repo_kind":{"listed":{"samples":10,"ran":1,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":1,"samples":[{"code_sha256_prefix":"1873a150e4da2814","entry":"get_default_args","repo":"PhilippeNguyen/keras_wavenet","repo_kind":"listed","path":"build_wavenet.py","file_url":"https://github.com/PhilippeNguyen/keras_wavenet/blob/HEAD/build_wavenet.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1873a150e4da2814"}},{"code_sha256_prefix":"a1ddadbc28367b84","entry":"constant_pad_1d","repo":"vincentherrmann/pytorch-wavenet","repo_kind":"listed","path":"wavenet_modules.py","file_url":"https://github.com/vincentherrmann/pytorch-wavenet/blob/HEAD/wavenet_modules.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a1ddadbc28367b84"}},{"code_sha256_prefix":"277f3c95db41dbdf","entry":"dilate","repo":"vincentherrmann/pytorch-wavenet","repo_kind":"listed","path":"wavenet_modules.py","file_url":"https://github.com/vincentherrmann/pytorch-wavenet/blob/HEAD/wavenet_modules.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"277f3c95db41dbdf"}},{"code_sha256_prefix":"1de1e388e64d573c","entry":"generate_audio","repo":"vincentherrmann/pytorch-wavenet","repo_kind":"listed","path":"wavenet_training.py","file_url":"https://github.com/vincentherrmann/pytorch-wavenet/blob/HEAD/wavenet_training.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1de1e388e64d573c"}},{"code_sha256_prefix":"19a14327d68b81a2","entry":"list_all_audio_files","repo":"vincentherrmann/pytorch-wavenet","repo_kind":"listed","path":"audio_data.py","file_url":"https://github.com/vincentherrmann/pytorch-wavenet/blob/HEAD/audio_data.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"19a14327d68b81a2"}},{"code_sha256_prefix":"3ead59772d893d37","entry":"load_latest_model_from","repo":"vincentherrmann/pytorch-wavenet","repo_kind":"listed","path":"wavenet_model.py","file_url":"https://github.com/vincentherrmann/pytorch-wavenet/blob/HEAD/wavenet_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3ead59772d893d37"}},{"code_sha256_prefix":"b1a0c2a7a8c0dbc7","entry":"load_to_cpu","repo":"vincentherrmann/pytorch-wavenet","repo_kind":"listed","path":"wavenet_model.py","file_url":"https://github.com/vincentherrmann/pytorch-wavenet/blob/HEAD/wavenet_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b1a0c2a7a8c0dbc7"}},{"code_sha256_prefix":"fee2210d0cb90734","entry":"make_dot","repo":"vincentherrmann/pytorch-wavenet","repo_kind":"listed","path":"visualize.py","file_url":"https://github.com/vincentherrmann/pytorch-wavenet/blob/HEAD/visualize.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fee2210d0cb90734"}},{"code_sha256_prefix":"e78fde3092be20c2","entry":"mu_law_encoding","repo":"vincentherrmann/pytorch-wavenet","repo_kind":"listed","path":"audio_data.py","file_url":"https://github.com/vincentherrmann/pytorch-wavenet/blob/HEAD/audio_data.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e78fde3092be20c2"}},{"code_sha256_prefix":"d3ef0c509f79c9b8","entry":"quantize_data","repo":"vincentherrmann/pytorch-wavenet","repo_kind":"listed","path":"audio_data.py","file_url":"https://github.com/vincentherrmann/pytorch-wavenet/blob/HEAD/audio_data.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d3ef0c509f79c9b8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}