Skip to content

Commit

Permalink
copy over code from clip repo to fix openais JIT issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Mar 13, 2021
1 parent 23d1468 commit 9435bcb
Show file tree
Hide file tree
Showing 3 changed files with 641 additions and 106 deletions.
Loading

1 comment on commit 9435bcb

@NotNANtoN
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lucidrains May I ask why this switch to setting jit=False happened? I benchmarked it once and the jit model 1.35x faster.

In a similar vein - why copy-paste the CLIP repo in here instead of adding it to requirements and simply importing it?

Please sign in to comment.