RosettaCommons / RosettaCommons/RFdiffusion
_cdist_backward requires X2 to be contiguous
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 644
- PR merge metrics
- No merged PRs in 30d
Description
Hi - I am trying to build some structural elements around a scaffold (1wj2.pdb, A430-466). Currently, I've been playing around with some options, but I am getting a random error during execution. When I request 30 backbones, as described below, I am able to generate 10-20 of them but eventually I will get this error:
'''
torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
File "/projects/b1107/allan/software/anaconda3/envs/SE3nv/lib/python3.9/site-packages/torch/autograd/init.py", line 147, in backward
Variable._execution_engine.run_backward(
RuntimeError: _cdist_backward requires X2 to be contiguous
'''
I am not sure if this is pointing out that some RF trajectory didn't find a solution, or something else.
Currently, I don't know if there is an option to retry, or skip in case a trajectory fails for some reason. This prevents me to expand my efforts to generate more diverse backbones set.
Any suggestion?
python3 /projects/b1107/allan/software/RFdiffusion/scripts/run_inference.py inference.output_prefix=run1_rfd/run1a_design inference.input_pdb=../1wj2.pdb 'contigmap.contigs=[10-20/A430-466/15-25]' inference.num_designs=30 denoiser.noise_scale_ca=0 denoiser.noise_scale_frame=0 potentials.guide_scale=1 'potentials.guiding_potentials=["type:substrate_contacts,s:1,r_0:8,rep_r_0:5.0,rep_s:2,rep_r_min:1"]' potentials.substrate=ZN inference.ckpt_override_path='/projects/b1107/allan/software/RFdiffusion/models/ActiveSite_ckpt.pt'
Best,
Állan
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by reproducing the supplied command through scripts/run_inference.py and inspect the reported torch.autograd backward failure. Done means determining whether the non-contiguous X2 error is caused by a failed trajectory or another execution path, then documenting a concrete retry or skip option if one exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100