Skip to content

Commit

Permalink
chore: style
Browse files Browse the repository at this point in the history
  • Loading branch information
Zymrael committed Feb 23, 2024
1 parent 477f73c commit a5ac127
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 17 deletions.
24 changes: 12 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
from setuptools import setup, find_packages
from setuptools import find_packages, setup

with open('README.md') as f:
with open("README.md") as f:
readme = f.read()

with open('requirements.txt') as f:
requirements = f.read().split('\n')
with open("requirements.txt") as f:
requirements = f.read().split("\n")

setup(
name='stripedhyena',
version='0.2.1',
description='Model and inference code for beyond Transformer architectures',
name="stripedhyena",
version="0.2.1",
description="Model and inference code for beyond Transformer architectures",
long_description=readme,
long_description_content_type='text/markdown',
author='Michael Poli',
url='http://github.com/togethercomputer/stripedhyena',
license='Apache-2.0',
long_description_content_type="text/markdown",
author="Michael Poli",
url="http://github.com/togethercomputer/stripedhyena",
license="Apache-2.0",
packages=find_packages(where="stripedhyena"),
install_requires=requirements,
)
)
1 change: 0 additions & 1 deletion test/test_backward.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import torch
import torch.nn as nn
import yaml

from src.layers import RMSNorm
from src.model import StripedHyena
from src.utils import dotdict
Expand Down
3 changes: 1 addition & 2 deletions test/test_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
import torch
import torch.nn as nn
import yaml
from torch.autograd import grad

from src.layers import RMSNorm
from src.model import StripedHyena
from src.utils import dotdict
from torch.autograd import grad

try:
from flashfftconv import FlashFFTConv
Expand Down
1 change: 0 additions & 1 deletion test/test_numerics.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import torch
import torch.nn as nn
import yaml

from src.layers import RMSNorm
from src.utils import dotdict

Expand Down
1 change: 0 additions & 1 deletion test/test_prefill.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import torch
import torch.nn as nn
import yaml

from src.layers import RMSNorm
from src.model import StripedHyena
from src.utils import dotdict
Expand Down

0 comments on commit a5ac127

Please sign in to comment.