xiaoshideta

Results comments of xiaoshideta

1.For a detailed comparison, please refer to the two papers above. Briefly, Prefix-Cache accelerates inference by fixing all KV caches before the current generation block. 2.The results in Figure 1...

3.The identical 81.0% accuracy values are not caused by a copy-paste error. These results were independently obtained from separate runs of the three methods. We agree that prefix caching may...

There is corresponding visualization code available, which mainly operates on the saved attention `.pt` files. You can use `visual_attention.py` for visualization (you need to first save the attention data you...

For Dream, you can find this part in the sample section of generation_utils_block.py: if (x[:, current_block_start:current_block_end] == eos).any(). We added early exit functionality when enabling kv multiplexing. For LLaDA, you...

> Hi [@xiaoshideta](https://github.com/xiaoshideta) , > > Thank you for sharing your experimental results. The prompt is directly copied from [FlexPrefill](https://github.com/ByteDance-Seed/FlexPrefill/blob/main/tests/example_data.json). The reason this version results in greater latency (for both...

> > Thank you very much for your kind reply! I have one small follow-up question. Could you please let me know which repository was used to test the scores...

bash accelerate launch --main_process_port 29510 eval.py --model dream \ --model_args pretrained=${model},max_new_tokens=512,diffusion_steps=512,temperature=0.2,top_p=0.95,add_bos_token=true,escape_until=true,use_sparsed=true,sparsed_skip=0.2,sparsed_select=0.5,sparsed_block_size=32 \ --tasks humaneval \ --num_fewshot 0 \ --batch_size 1 \ --output_path evals_results/humaneval_512 \ --log_samples \ --confirm_run_unsafe_code

However, if I set `sparsed_block_size` to 128, it runs normally. But since your paper specifies using 32 as the block size for the HumanEval evaluation, I’m not sure which part...

torch==2.5.1,transformers==4.46.2,follow Dream

@INV-WZQ thanks,I will have a try