Full-Vocabulary OPD
Hi, thanks for the great work. Could you provide some guidance on how to implement full-vocab OPD?
Hi! @HansSunY Thanks for your interest! We previously experimented with an approximate approach using top-30 logits with vLLM as the teacher instance. Using a larger k may lead to OOM, though this doesn't necessarily mean any k > 30 will cause issues. We also tried initializing the teacher instance via FSDP (the reasoning being that, without attention efficiency optimizations, vLLM's paged attention and continuous batching may not offer significant advantages for prefill tasks), but OOM issues arose with longer sequences. Our exploration on this problem has been fairly limited, but it's a really interesting problem. Feel free to continue the discussion if you'd like to dig deeper into full-vocab OPD implementation!