Skip to content

Commit b50856b

Browse files
author
anyshu
committed
delete useless
1 parent 4a9e10f commit b50856b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/server/server-diffusion.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,6 @@ struct server_slot {
16441644
int32_t n_draft_accepted = 0; // Draft tokens actually accepted
16451645

16461646
// Diffusion-specific fields
1647-
bool is_diffusion_task = false;
16481647
std::vector<llama_token> diffusion_output_tokens;
16491648

16501649
void reset() {
@@ -1675,7 +1674,6 @@ struct server_slot {
16751674
n_draft_accepted = 0;
16761675

16771676
// clear diffusion fields
1678-
is_diffusion_task = false;
16791677
diffusion_output_tokens.clear();
16801678

16811679
// clear alora start
@@ -2671,7 +2669,6 @@ struct server_context {
26712669

26722670
// Handle diffusion-specific initialization
26732671
if (slot.task_type == SERVER_TASK_TYPE_DIFFUSION) {
2674-
slot.is_diffusion_task = true;
26752672
// Prepare diffusion output tokens buffer
26762673
slot.diffusion_output_tokens.resize(slot.params.diffusion_max_length);
26772674
}

0 commit comments

Comments
 (0)