Open ryantd opened 3 years ago
Bump
Can you add an assertion as assert args.has_edge_importance == False
in kvclient and kvserver, as this is a workaround. You did not implement has_edge_importance for distributed training.
Can you add an assertion as
assert args.has_edge_importance == False
in kvclient and kvserver
@classicsong May I have more explanations on this assertion? Why == False
?
In my opinion, the distributed training example should be done as expected without any raised errors. And for KEModel
class itself, it required the args.has_edge_importance
passing from kvclient.py
and kvserver.py
. So I think the argument has_edge_importance
in kvclient.py
and kvserver.py
, should be set explicitly by default.
There is an issue that will be raised in distributed training, like
Because the
has_edge_importance
argument is required for KEModel,kvserver.py
andkvclient.py
should have a default value of this, and then pass to theKEModel
in dglke/models/general_models.py