We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've been trying to run TinyBERT with OpenCL as the backend, but it fails because aten::index_select isn't implemented.
Running this code gives me the error message as shown in the attached log file
import torch torch.ops.load_library("/usr/local/lib/libpt_ocl.so") torch.ops.load_library("/usr/local/lib/libdlprim_core.so") torch.utils.rename_privateuse1_backend('ocl') from transformers import pipeline pipe = pipeline( model="Intel/dynamic_tinybert", task="text-generation", ) pipe.model = pipe.model.to("ocl:0") out = pipe("Hello world") print(out)
log.txt
The text was updated successfully, but these errors were encountered:
The error is RuntimeError: Running sums are expected to be present caused by LayerNorm, the index_select is automatically substituted by CPU version.
RuntimeError: Running sums are expected to be present
LayerNorm
index_select
Nowadays I work on LayerNorm support as it central thing in many implementations
Sorry, something went wrong.
No branches or pull requests
I've been trying to run TinyBERT with OpenCL as the backend, but it fails because aten::index_select isn't implemented.
Running this code gives me the error message as shown in the attached log file
log.txt
The text was updated successfully, but these errors were encountered: