CLIP/clip
James Thewlis a1d071733d
Fix torch._C.Node attribute access (#372)
Attribute access with subscripting would previously work
due to patching in https://github.com/pytorch/pytorch/pull/82511
but this has been removed.

This commit uses the fix proposed in https://github.com/pytorch/pytorch/pull/82628
to define a helper method to call the appropriate access method.
2023-07-08 02:26:30 -07:00
..
__init__.py Make the repo installable as a package (#26) 2021-01-30 03:05:01 +09:00
bpe_simple_vocab_16e6.txt.gz Make the repo installable as a package (#26) 2021-01-30 03:05:01 +09:00
clip.py Fix torch._C.Node attribute access (#372) 2023-07-08 02:26:30 -07:00
model.py Removed another unused f-string (#276) 2022-07-27 12:42:37 -07:00
simple_tokenizer.py Make the repo installable as a package (#26) 2021-01-30 03:05:01 +09:00