Skip to content
New issue

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

AttributeError: module 'paddle.fluid.core_avx.ops' has no attribute 'fused_gemm_epilogue' #344

Open
qfduli opened this issue Sep 6, 2024 · 0 comments

Comments

@qfduli
Copy link

qfduli commented Sep 6, 2024

helixfold,在DCU上,按README_DCU搭的环境,报以下错误

Traceback (most recent call last):
File "run_helixfold.py", line 377, in
main(args)
File "run_helixfold.py", line 277, in main
random_seed=random_seed)
File "", line 2, in predict_structure
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/fluid/dygraph/base.py", line 356, in _decorate_function
return func(*args, **kwargs)
File "run_helixfold.py", line 138, in predict_structure
prediction = _forward_with_precision(processed_feature_dict)
File "run_helixfold.py", line 133, in _forward_with_precision
return_representations=True)
File "/public/home/qfduli3/fold/helix/helixfold/alphafold_paddle/model/model.py", line 249, in predict
compute_loss=False)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 929, in call
return self._dygraph_call_func(*inputs, **kwargs)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 914, in _dygraph_call_func
outputs = self.forward(*inputs, **kwargs)
File "/public/home/qfduli3/fold/helix/helixfold/alphafold_paddle/model/modules.py", line 230, in forward
ret = _run_single_recycling(prev, recycle_idx, compute_loss=False)
File "/public/home/qfduli3/fold/helix/helixfold/alphafold_paddle/model/modules.py", line 194, in _run_single_recycling
ensemble_representations=ensemble_representations)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 929, in call
return self._dygraph_call_func(*inputs, **kwargs)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 914, in _dygraph_call_func
outputs = self.forward(*inputs, **kwargs)
File "/public/home/qfduli3/fold/helix/helixfold/alphafold_paddle/model/modules.py", line 316, in forward
representations = self.evoformer(batch0)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 929, in call
return self._dygraph_call_func(*inputs, **kwargs)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 914, in _dygraph_call_func
outputs = self.forward(*inputs, **kwargs)
File "/public/home/qfduli3/fold/helix/helixfold/alphafold_paddle/model/modules.py", line 1647, in forward
preprocess_1d = self.preprocess_1d(batch['target_feat'])
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 929, in call
return self._dygraph_call_func(*inputs, **kwargs)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 914, in _dygraph_call_func
outputs = self.forward(*inputs, **kwargs)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/incubate/nn/layer/fused_linear.py", line 95, in forward
self.transpose_weight, self.name)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/incubate/nn/functional/fused_matmul_bias.py", line 108, in fused_linear
return fused_matmul_bias(x, weight, bias, False, transpose_weight, name)
File "/public/home/qfduli3/conda-envs/paddle_dcu/lib/python3.7/site-packages/paddle/incubate/nn/functional/fused_matmul_bias.py", line 60, in fused_matmul_bias
return _C_ops.fused_gemm_epilogue(x, y, bias, 'trans_x', transpose_x,
AttributeError: module 'paddle.fluid.core_avx.ops' has no attribute 'fused_gemm_epilogue'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant