text
stringlengths
0
1.16k
['2', '3', '4', '1', '5', '8', '7', '29'] tensor([5.1881e-01, 1.8218e-01, 3.8186e-02, 2.3392e-01, 1.8038e-02, 3.5521e-03,
5.1683e-03, 1.4199e-04], device='cuda:2', grad_fn=<SelectBackward0>)
ๆœ€ๅŽ็š„ๆฆ‚็އๅˆ†ๅธƒไธบ: {True: tensor(0.5188, device='cuda:2', grad_fn=<DivBackward0>), False: tensor(0.4812, device='cuda:2', grad_fn=<DivBackward0>), 'Execute Error': tensor(-1.1921e-07, device='cuda:2', grad_fn=<DivBackward0>)}
[2024-10-23 14:48:16,722] [INFO] [logging.py:96:log_dist] [Rank 0] rank=0 time (ms) | optimizer_allgather: 1.35 | optimizer_gradients: 0.33 | optimizer_step: 0.32
[2024-10-23 14:48:16,722] [INFO] [logging.py:96:log_dist] [Rank 0] rank=0 time (ms) | forward_microstep: 5084.98 | backward_microstep: 12613.26 | backward_inner_microstep: 4839.83 | backward_allreduce_microstep: 7773.21 | step_microstep: 7.99
[2024-10-23 14:48:16,722] [INFO] [logging.py:96:log_dist] [Rank 0] rank=0 time (ms) | forward: 5085.00 | backward: 12613.25 | backward_inner: 4839.87 | backward_allreduce: 7773.14 | step: 8.01
1%| | 28/4844 [07:00<19:30:19, 14.58s/it]Registering VQA_lavis step
Registering EVAL step
Registering RESULT step
ANSWER0=VQA(image=LEFT,question='Is there a hound standing on a hard surface in the image?')
ANSWER1=EVAL(expr='{ANSWER0}')
FINAL_ANSWER=RESULT(var=ANSWER1)
Registering VQA_lavis step
Registering VQA_lavis step
Registering EVAL step
Registering RESULT step
Registering EVAL step
Registering RESULT step
Registering VQA_lavis step
Registering EVAL step
Registering RESULT step
ANSWER0=VQA(image=LEFT,question='How many Samoyed puppies are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} == 3')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([7, 3, 448, 448])
ANSWER0=VQA(image=RIGHT,question='How many animals are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} >= 2')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([7, 3, 448, 448])
ANSWER0=VQA(image=LEFT,question='How many warthogs are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} <= 1')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([13, 3, 448, 448])
torch.Size([13, 3, 448, 448])
question: ['Is there a hound standing on a hard surface in the image?'], responses:['yes']
question: ['How many Samoyed puppies are in the image?'], responses:['3']
[('yes', 0.1298617250866936), ('congratulations', 0.12464161604141298), ('no', 0.12445222599225532), ('honey', 0.12437056445881921), ('solid', 0.12422595371654564), ('right', 0.12419889376311324), ('candle', 0.12414264780165109), ('chocolate', 0.12410637313950891)]
[['yes', 'congratulations', 'no', 'honey', 'solid', 'right', 'candle', 'chocolate']]
[('3', 0.12809209985493852), ('4', 0.12520382509374006), ('1', 0.1251059160028928), ('5', 0.12483070991268265), ('8', 0.12458076282181878), ('2', 0.12413212281858195), ('6', 0.1241125313968017), ('12', 0.12394203209854344)]
[['3', '4', '1', '5', '8', '2', '6', '12']]
torch.Size([7, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1866
torch.Size([7, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1869
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1866
question: ['How many animals are in the image?'], responses:['2']
question: ['How many warthogs are in the image?'], responses:['2']
[('2', 0.12961991198727602), ('3', 0.12561270547489775), ('4', 0.12556127085987287), ('1', 0.1254920833223361), ('5', 0.12407835939022728), ('8', 0.124024076973589), ('7', 0.12288810153923228), ('29', 0.12272349045256851)]
[['2', '3', '4', '1', '5', '8', '7', '29']]
[('2', 0.12961991198727602), ('3', 0.12561270547489775), ('4', 0.12556127085987287), ('1', 0.1254920833223361), ('5', 0.12407835939022728), ('8', 0.124024076973589), ('7', 0.12288810153923228), ('29', 0.12272349045256851)]
[['2', '3', '4', '1', '5', '8', '7', '29']]
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1867
torch.Size([13, 3, 448, 448]) knan debug pixel values shape
torch.Size([13, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1866
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1866
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1867
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1867
tensor([5.9353e-01, 2.0237e-02, 3.8321e-01, 1.0615e-03, 1.9057e-04, 5.2907e-04,
9.8977e-05, 1.1488e-03], device='cuda:0', grad_fn=<SoftmaxBackward0>)
yes *************
['yes', 'congratulations', 'no', 'honey', 'solid', 'right', 'candle', 'chocolate'] tensor([5.9353e-01, 2.0237e-02, 3.8321e-01, 1.0615e-03, 1.9057e-04, 5.2907e-04,
9.8977e-05, 1.1488e-03], device='cuda:0', grad_fn=<SelectBackward0>)
ๆœ€ๅŽ็š„ๆฆ‚็އๅˆ†ๅธƒไธบ: {True: tensor(0.5935, device='cuda:0', grad_fn=<DivBackward0>), False: tensor(0.3832, device='cuda:0', grad_fn=<DivBackward0>), 'Execute Error': tensor(0.0233, device='cuda:0', grad_fn=<DivBackward0>)}
tensor([0.8142, 0.0757, 0.0288, 0.0106, 0.0015, 0.0628, 0.0050, 0.0015],
device='cuda:2', grad_fn=<SoftmaxBackward0>)
3 *************
['3', '4', '1', '5', '8', '2', '6', '12'] tensor([0.8142, 0.0757, 0.0288, 0.0106, 0.0015, 0.0628, 0.0050, 0.0015],
device='cuda:2', grad_fn=<SelectBackward0>)
ANSWER0=VQA(image=RIGHT,question='How many dogs are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} >= 3')
FINAL_ANSWER=RESULT(var=ANSWER1)
ๆœ€ๅŽ็š„ๆฆ‚็އๅˆ†ๅธƒไธบ: {True: tensor(0.8142, device='cuda:2', grad_fn=<DivBackward0>), False: tensor(0.1858, device='cuda:2', grad_fn=<DivBackward0>), 'Execute Error': tensor(0., device='cuda:2', grad_fn=<DivBackward0>)}
ANSWER0=VQA(image=LEFT,question='How many dogs are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} >= 2')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([7, 3, 448, 448])
torch.Size([7, 3, 448, 448])
question: ['How many dogs are in the image?'], responses:['3']
question: ['How many dogs are in the image?'], responses:['1']
[('3', 0.12809209985493852), ('4', 0.12520382509374006), ('1', 0.1251059160028928), ('5', 0.12483070991268265), ('8', 0.12458076282181878), ('2', 0.12413212281858195), ('6', 0.1241125313968017), ('12', 0.12394203209854344)]
[['3', '4', '1', '5', '8', '2', '6', '12']]
[('1', 0.12829009354978346), ('3', 0.12529928082343206), ('4', 0.12464806219229535), ('8', 0.12460015878893425), ('6', 0.12451220062887247), ('12', 0.124338487048427), ('2', 0.12420459433498025), ('47', 0.12410712263327517)]
[['1', '3', '4', '8', '6', '12', '2', '47']]
torch.Size([7, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1860
torch.Size([7, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1860
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1860
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1860
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1860
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1860
tensor([8.6062e-01, 6.6341e-02, 1.5757e-02, 4.8534e-02, 5.1156e-03, 1.7140e-03,
1.8240e-03, 8.8659e-05], device='cuda:1', grad_fn=<SoftmaxBackward0>)
2 *************
['2', '3', '4', '1', '5', '8', '7', '29'] tensor([8.6062e-01, 6.6341e-02, 1.5757e-02, 4.8534e-02, 5.1156e-03, 1.7140e-03,
1.8240e-03, 8.8659e-05], device='cuda:1', grad_fn=<SelectBackward0>)
ๆœ€ๅŽ็š„ๆฆ‚็އๅˆ†ๅธƒไธบ: {True: tensor(0.9515, device='cuda:1', grad_fn=<DivBackward0>), False: tensor(0.0485, device='cuda:1', grad_fn=<DivBackward0>), 'Execute Error': tensor(5.9605e-08, device='cuda:1', grad_fn=<DivBackward0>)}
ANSWER0=VQA(image=RIGHT,question='How many dogs are in the image?')