Open dan-jacobson opened 2 days 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?
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.