Conversation
|
+1 on this, max versions of dependencies shouldn't be specified in library code (unless library is known to be incompatible with a specific version) ...it just makes life awkward for consumers of the library |
| # Copyright (C) 2022 Apple Inc. All Rights Reserved. | ||
| # | ||
|
|
||
| import einops |
There was a problem hiding this comment.
this looks like a 3rd party dependency that needs adding to requirements.txt + setup.py ?
|
The shape mismatch errors should be fixed in the models and not in the tests. The test_distilbert.py will pass by adding a pre_hook in DistilBertForSequenceClassification's I think the same needs to be done for all the models that create |
No description provided.