forked from mrq/DL-Art-School
New benchmark numbers
This commit is contained in:
parent
784b96c059
commit
39fd755baa
|
@ -231,8 +231,15 @@ def register_vqvae3_hard_switch(opt_net, opt):
|
||||||
|
|
||||||
|
|
||||||
def performance_test():
|
def performance_test():
|
||||||
|
# For breadth=32:
|
||||||
|
# Custom_cuda_naive: 28.9s
|
||||||
|
# Torch_native: 29.2s
|
||||||
|
#
|
||||||
|
# For breadth=8
|
||||||
|
# Custom_cuda_naive: 18.4s
|
||||||
|
# Torch_native: 10s
|
||||||
cfg = {
|
cfg = {
|
||||||
'mode': 'lambda2',
|
'mode': 'lambda',
|
||||||
'breadth': 8,
|
'breadth': 8,
|
||||||
'hard_enabled': True,
|
'hard_enabled': True,
|
||||||
'dropout': 0.4
|
'dropout': 0.4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user