Closed dan-jacobson closed 3 weeks ago
Hey @dan-jacobson, I'm not sure it's transformers
, I have reason to believe it's torch
:grin:
Can you let me know if doing import xgboost
followed by import torch
fails?
Or, another potential thing to look into: uninstall torch
and install tensorflow
as a backend for pipelines; now do the same: import xgboost and pipeline. Does that still fail?
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
System Info
transformers
version: 4.44.2Who can help?
@Rocketknight1, @amyeroberts, @qubvel
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
This fails silently in my terminal. For some reason I can't get a good error. In VSCode I can sometimes get:
[1] 88800 segmentation fault python
.Interestingly, it's the order of
xgboost
/transformers
import that matters. This works on my machine:A couple other things I noticed:
model
specific. I was able to get failures using multipledinov2
models, as well as the base model,google/vit-base-patch16-224
.pipelines
. I triedtask="feature-extraction"
and that worked. I haven't exhaustively tried otherpipelines
.Expected behavior
I expected my
pipeline
to load.