File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1127,16 +1127,11 @@ static void llama_sampler_k_shift_free(struct llama_sampler * smpl) {
11271127    delete  (llama_sampler_k_shift *) smpl->ctx ;
11281128}
11291129
1130- static  void  llama_sampler_k_shift_reset (struct  llama_sampler  * smpl) {
1131-     auto  * ctx = (llama_sampler_k_shift *) smpl->ctx ;
1132-     ctx->k_set  = false ;
1133- }
1134- 
11351130static  struct  llama_sampler_i  llama_sampler_k_shift_i = {
11361131    /*  .name   = */   llama_sampler_k_shift_name,
11371132    /*  .accept = */   nullptr ,
11381133    /*  .apply  = */   llama_sampler_k_shift_apply,
1139-     /*  .reset  = */   llama_sampler_k_shift_reset ,
1134+     /*  .reset  = */   nullptr ,
11401135    /*  .clone  = */   llama_sampler_k_shift_clone,
11411136    /*  .free   = */   llama_sampler_k_shift_free,
11421137};
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments