-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
53 lines (50 loc) · 1.83 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
from setuptools import setup, find_packages
install_requires = [
'pytest>=6.0', # Test dependency, but included here to auto-install
'torch', # Test dependency
'numpy', # Test dependency
'jaxtyping', # Test dependency
'einops', # Test dependency
'fancy_einsum', # Test dependency
'plotly==5.19.0',
'timm', # Test dependency
'transformers', # Test dependency
'scikit-learn', # Test dependency
'datasets',
'line_profiler',
'matplotlib',
'wandb',
'kaleido',
'open-clip-torch',
]
setup(
name='vit-prisma',
version='2.0.0',
author='Sonia Joseph',
author_email='[email protected]',
description='A Vision Transformer library for mechanistic interpretability.',
long_description=open('docs/README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/soniajoseph/vit-prisma',
packages=find_packages(where='src'),
package_dir={'': 'src'},
package_data={
'vit_prisma': ['visualization/*.html', 'visualization/*.js'],
# Add other patterns here as needed
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
python_requires='>=3.6',
install_requires=install_requires,
keywords='vision-transformer, clip, multimodal, machine-learning, mechanistic interpretability',
zip_safe=False,
extras_require={
'sae': ['sae-lens==2.1.3'],
'arrow': ['pyarrow'] # to use: pip install -e .[sae] # as of 2.1.3, windows will require pip install sae-lens==2.1.3 --no-dependencies followed by manually installing needed packages
},
)