Closed ornithos closed 1 year ago
Hi there. Have the same issue.
Good idea to fix this! Did pinning only python
and pytorch-lightning
solve all version issues for you?
I pinned everything in the environment.yml file so this doesn't happen again. I created a new environment with the pinned versions and tested extractive training and inference and it seems to work.
Thanks for this project @HHousen and the great docs!
I've been playing around with Getting Started and encountered a couple of errors, one of which was addressed here (the
strict=False
fix).Something which I haven't found anywhere yet is the following stacktrace, which after digging through Pytorch Lightning (PL) releases appears to be an error due to a refactor at version 1.7.0.
Since this is a breaking change in PL and
TransformerSum
is somewhat old I feel the best fix is just to downgradepytorch-lightning
as follows:I also needed to specify
python==3.10
in the environment definition since PL doesn't work under 3.11 yet. Perhaps other users would be helped by specifying these versions within theenvironment.yml
file?