"git@developer.sourcefind.cn:change/sglang.git" did not exist on "b1e5a33ae337d20e35e966b8d82a02a913d32689"
Unverified Commit 269983db authored by chwan-rice's avatar chwan-rice Committed by GitHub
Browse files

[Fix] typo (#2265)



* upd

* upd

* upd

* upd

* upd

* fix OpenMP compatibility issues

* typo

* partition

* misc

* fix typo

* num_parts=1

* import torch

* long

* print info

* print info

* print info

* upd

* remove debug code

* revert partition.py

* fix cut count

* fix cut count

* Revert "fix cut count"

This reverts commit 10926b4fd48f45c8f1ddb58be7db6c22e653effd.

* Revert "fix cut count"

This reverts commit 76465283bef093a2b4209ad70dd15d2437b2ec8a.

* type of deprecate

* typo in deprecate info

* fix typo

* use cv for partitioning

* CE

* no message

* revert

* typo

* no message

* no message

* no message

* practice

* dmlc-core

* DGLGraph
Co-authored-by: default avataryzh119 <expye@outlook.com>
Co-authored-by: default avatarJinjing Zhou <VoVAllen@users.noreply.github.com>
Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
parent d06c5403
......@@ -184,7 +184,7 @@ if __name__ == '__main__':
parser.add_argument("--n-epochs", type=int, default=200,
help="number of training epochs")
parser.add_argument("--log-every", type=int, default=100,
help="number of training epochs")
help="the frequency to save model")
parser.add_argument("--batch-size", type=int, default=20,
help="batch size")
parser.add_argument("--psize", type=int, default=1500,
......@@ -202,7 +202,7 @@ if __name__ == '__main__':
parser.add_argument("--self-loop", action='store_true',
help="graph self-loop (default=False)")
parser.add_argument("--use-pp", action='store_true',
help="whether to use percomputation")
help="whether to use precomputation")
parser.add_argument("--normalize", action='store_true',
help="whether to use normalized feature")
parser.add_argument("--use-val", action='store_true',
......
......@@ -230,7 +230,7 @@ if __name__ == '__main__':
else:
device = th.device('cpu')
# load reddit data
# load data
data = DglNodePropPredDataset(name='ogbn-products')
splitted_idx = data.get_idx_split()
train_idx, val_idx, test_idx = splitted_idx['train'], splitted_idx['valid'], splitted_idx['test']
......
......@@ -224,7 +224,7 @@ class CitationGraphDataset(DGLBuiltinDataset):
"""
@property
def graph(self):
deprecate_property('dataset.graph', 'dataset.g')
deprecate_property('dataset.graph', 'dataset[0]')
return self._graph
@property
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment