We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb9460 commit 53fe345Copy full SHA for 53fe345
setup.py
@@ -3,7 +3,7 @@
3
setup(
4
name = 'vit-pytorch',
5
packages = find_packages(exclude=['examples']),
6
- version = '1.6.0',
+ version = '1.6.1',
7
license='MIT',
8
description = 'Vision Transformer (ViT) - Pytorch',
9
long_description_content_type = 'text/markdown',
vit_pytorch/__init__.py
@@ -1,10 +1,3 @@
1
-import torch
2
-from packaging import version
-
-if version.parse(torch.__version__) >= version.parse('2.0.0'):
- from einops._torch_specific import allow_ops_in_compiled_graph
- allow_ops_in_compiled_graph()
from vit_pytorch.vit import ViT
from vit_pytorch.simple_vit import SimpleViT
10
0 commit comments