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
代码: from x2paddle.convert import pytorch2paddle pytorch2paddle(module=model, save_dir="/home/zhaowenzhuo/project/2024/baidu_race_true/beam_retriever-main/output/best_checkpoint/checkpoint_best.pt", jit_type="trace", input_examples=(batch['input_ids'],batch['attention_mask'],batch['start_pos'], batch['end_pos'],batch['sentence_index'],batch['sentence_labels'],batch['answer_type']))
The text was updated successfully, but these errors were encountered:
存在自定义Python算子,是无法支持的
Sorry, something went wrong.
No branches or pull requests
问题描述
========= 2 OPs are not supported yet ===========
========== prim::PythonOp ============
========== aten::cross_entropy_loss ============
具体信息
deberta-v3-large-squad2:https://huggingface.co/deepset/deberta-v3-large-squad2
QA问答
来源框架版本(PyTorch/TF/ONNX/Caffe) => torch 1.13.1+cu116
The text was updated successfully, but these errors were encountered: