Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Include parlai/clib/cuda/ngram_repeat_block_cuda_kernel.* (#4721)
Browse files Browse the repository at this point in the history
Include parlai/clib/cuda/ngram_repeat_block_cuda_kernel.* files, otherwise I can't seem to build models. For example, 
  parlai.core.agents.create_agent_from_mode_file('zoo:bb3/bb3_3B/model')
fails with
No such file or directory: ../clib/cuda/ngram_repeat_block_cuda.cpp
  • Loading branch information
thandal authored Aug 16, 2022
1 parent c17f8ed commit e1068ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
packages=find_packages(exclude=('data', 'docs', 'tests', 'parlai_internal*')),
install_requires=reqs,
include_package_data=True,
package_data={'': ['*.txt', '*.md', '*.opt']},
package_data={'': ['*.txt', '*.md', '*.opt', '*.cu', '*.cpp']},
entry_points={
"flake8.extension": ["PAI = parlai.utils.flake8:ParlAIChecker"],
"console_scripts": ["parlai=parlai.__main__:main"],
Expand Down

0 comments on commit e1068ab

Please sign in to comment.