File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -1644,7 +1644,6 @@ struct server_slot {
1644
1644
int32_t n_draft_accepted = 0 ; // Draft tokens actually accepted
1645
1645
1646
1646
// Diffusion-specific fields
1647
- bool is_diffusion_task = false ;
1648
1647
std::vector<llama_token> diffusion_output_tokens;
1649
1648
1650
1649
void reset () {
@@ -1675,7 +1674,6 @@ struct server_slot {
1675
1674
n_draft_accepted = 0 ;
1676
1675
1677
1676
// clear diffusion fields
1678
- is_diffusion_task = false ;
1679
1677
diffusion_output_tokens.clear ();
1680
1678
1681
1679
// clear alora start
@@ -2671,7 +2669,6 @@ struct server_context {
2671
2669
2672
2670
// Handle diffusion-specific initialization
2673
2671
if (slot.task_type == SERVER_TASK_TYPE_DIFFUSION) {
2674
- slot.is_diffusion_task = true ;
2675
2672
// Prepare diffusion output tokens buffer
2676
2673
slot.diffusion_output_tokens .resize (slot.params .diffusion_max_length );
2677
2674
}
You can’t perform that action at this time.
0 commit comments