Skip to content

Commit

Permalink
remove ftfy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayan Shaw committed Oct 26, 2023
1 parent 2cf9bab commit b555a81
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/test_autotokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,4 @@ def print_prime(n):


if __name__ == '__main__':
try:
dist = pkg_resources.get_distribution('ftfy')
except pkg_resources.DistributionNotFound:
raise Exception("WARNING: ftfy is not installed - it is required for parity between CLIPTokenizer and CLIPTokenizerFast.")
unittest.main()

0 comments on commit b555a81

Please sign in to comment.