RosettaCommons / RosettaCommons/RFdiffusion

Error When Setup

Open
#209 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.1k
Forks
644
PR merge metrics
No merged PRs in 30d

Description

installing RFdiffusion...
installing ColabDesign...
downloading RFdiffusion params...
/content/RFdiffusion/util.py:255: UserWarning: Using torch.cross without specifying the dim arg is deprecated.
Please either pass the dim explicitly or simply use torch.linalg.cross.
The default value of dim will change to agree with that of linalg.cross in a future release. (Triggered internally at ../aten/src/ATen/native/Cross.cpp:63.)
Z = torch.cross(Xn, Yn)

ModuleNotFoundError Traceback (most recent call last)
in

/content/RFdiffusion/inference/utils.py in
6 import torch
7 import torch.nn.functional as nn
----> 8 from diffusion import get_beta_schedule
9 from scipy.spatial.transform import Rotation as scipy_R
10 from util import rigid_from_3_points

1 frames
/content/RFdiffusion/util_module.py in
5 from opt_einsum import contract as einsum
6 import copy
----> 7 import dgl
8 from util import base_indices, RTs_by_torsion, xyzs_in_base_frame, rigid_from_3_points
9

ModuleNotFoundError: No module named 'dgl'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Colab setup and start with inference/utils.py and util_module.py, where the traceback reaches the missing dgl import. Check the installation steps and dependency declarations mentioned by the setup, then verify that the same environment can import these modules without ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.