From 2fdc6f3cc996d880b4d8f683529607728a646e9c Mon Sep 17 00:00:00 2001 From: Ink Date: Mon, 6 Jan 2025 18:44:50 -0600 Subject: [PATCH] Package `bytelatent` as a module (#7) * make installable via pip * fix missing xformers deps * remove non-core dependencies * fix linting * fix isort --- setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..bb04da4 --- /dev/null +++ b/setup.py @@ -0,0 +1,11 @@ +from setuptools import find_packages, setup + +setup( + name="bytelatent", + version="0.1.0", + description="Byte Latent Transformer: Patches Scale Better Than Tokens", + author="Meta Platforms, Inc. and affiliates.", + url="https://github.com/facebookresearch/blt", + packages=find_packages(), + install_requires=["sentencepiece", "tiktoken", "xformers"], +)