Skip to content

problem in file demo_MMada_mmu_cache.py with empty output #7

@thanhtam712

Description

@thanhtam712

When I run file demo_MMada_mmu_cache.py, the script executes without any errors but produces no output.

self.sptids_dict: {'<|soi|>': tensor([126084]), '<|eoi|>': tensor([126085]), '<|sov|>': tensor([126086]), '<|eov|>': tensor([126087]), '<|t2i|>': tensor([126088]), '<|mmu|>': tensor([126089]), '<|t2v|>': tensor([126090]), '<|v2v|>': tensor([126091]), '<|lvg|>': tensor([126092]), '[iPAD]': tensor([126093]), '<|r2i|>': tensor([126094]), '<|soa|>': tensor([126095]), '<|eoa|>': tensor([126096]), '<|its2ita|>': tensor([126097]), '<|sot|>': tensor([126080]), '<|eot|>': tensor([126081]), '<|end_header_id|>': tensor([126347]), '<|eot_id|>': tensor([126348]), '<|start_header_id|>': tensor([126346])}
Processed image shape: torch.Size([1, 3, 256, 256])
Input ids shape: torch.Size([1, 771]), Attention mask shape: torch.Size([1, 771])
Testing with cache enabled
Cache settings: prompt_interval_steps=20, gen_interval_steps=5, transfer_ratio=0.25,prompt length 771
        Generation time: 139.6353 seconds
Generated description: ['']

Could you please check if there’s something missing or if I need to modify any arguments to get the expected results?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions