awslabs / dgl-ke

High performance, easy-to-use, and scalable package for learning large-scale knowledge graph embeddings.
https://dglke.dgl.ai/doc/
Apache License 2.0
1.26k stars 194 forks source link

Can not install dgl 0.4.3 #261

Closed AprLie closed 2 years ago

AprLie commented 2 years ago

When I try to install dgl 0.4.3 by pip3 install dgl==0.4.3, it shows that

ERROR: Could not find a version that satisfies the requirement dgl==0.4.3 (from versions: 0.1.0, 0.1.2, 0.1.3, 0.6.0, 0.6.0.post1, 0.6.1, 0.9.0)
ERROR: No matching distribution found for dgl==0.4.3

And if I install the latest dgl 0.9.0, it will report errors when running the example code.

How can I install dgl 0.4.3?

classicsong commented 2 years ago

Can you try pip3 install dgl==0.4.3post2

AprLie commented 2 years ago

image still can not install with the recommended command.

hmartiniano commented 2 years ago

Maybe try a different python version. With Python 3.7.12 I have successfully installed:

dgl==0.4.3 dglke==0.1.2

AprLie commented 2 years ago

It works, thanks a lot. One other question is that how to save model parameter(i.e., entity embedding and relation embedding) during training on multi-GPU for early stopping to find the model with best performance on validation set.