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

Remove torch data from dgl dependency. #7667

Merged
merged 3 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docker/install/conda_env/torch_cpu_pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ requests[security]==2.28
scikit-learn
scipy
torch==2.3.0+cpu
torchdata
torcheval
torchmetrics
torch_geometric
Expand Down
1 change: 0 additions & 1 deletion docker/install/conda_env/torch_gpu_pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ requests[security]==2.28
scikit-learn
scipy
torch==2.3.0+cu121
torchdata
torcheval
torchmetrics
torch_geometric
Expand Down
3 changes: 0 additions & 3 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,11 @@ def get_lib_file_path(lib_name, backend=""):
"requests>=2.19.0",
"tqdm",
"psutil>=5.8.0",
"torchdata>=0.5.0",
"pandas",
"packaging",
"pyyaml",
"pydantic>=2.0",
]
if "DGLBACKEND" in os.environ and os.environ["DGLBACKEND"] != "pytorch":
install_requires.pop(install_requires.index("torchdata>=0.5.0"))

setup(
name="dgl" + os.getenv("DGL_PACKAGE_SUFFIX", ""),
Expand Down
1 change: 0 additions & 1 deletion script/dgl_dev.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ dependencies:
- scikit-learn
- scipy
- torch==__TORCH_VERSION__
- torchdata>=0.5.0
- torcheval
- torchmetrics
- torch_geometric
Expand Down
Loading