Package bytelatent as a module (#7)
Some checks failed
Lint with Black / lint (push) Has been cancelled
Lint with isort / lint (push) Has been cancelled

* make installable via pip

* fix missing xformers deps

* remove non-core dependencies

* fix linting

* fix isort
This commit is contained in:
Ink 2025-01-06 18:44:50 -06:00 committed by GitHub
parent 9065bb1cce
commit 2fdc6f3cc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

11
setup.py Normal file
View file

@ -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"],
)