Skip to content

Commit d5420e2

Browse files
authored
Remove faster_generation demo dir from packages. (#2154)
1 parent d66c832 commit d5420e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ def get_package_data_files(package, data, package_dir=None):
5353
long_description_content_type="text/plain",
5454
url="https://github.com/PaddlePaddle/PaddleNLP",
5555
packages=setuptools.find_packages(
56-
where='.', exclude=('examples*', 'tests*', 'applications*', 'faster_tokenizers*', 'model_zoo*')),
56+
where='.',
57+
exclude=('examples*', 'tests*', 'applications*', 'faster_tokenizers*',
58+
'faster_generation*', 'model_zoo*')),
5759
package_data={
5860
'paddlenlp.ops': get_package_data_files('paddlenlp.ops', [
5961
'CMakeLists.txt', 'README.md', 'cmake', 'faster_transformer',

0 commit comments

Comments
 (0)