@@ -104,8 +104,8 @@ REFL_FIELD( params)
104
104
REFL_FIELD( mirostat_mu)
105
105
REFL_FIELD( grammar)
106
106
REFL_FIELD( parsed_grammar)
107
- REFL_FIELD( prev)
108
- REFL_FIELD( cur)
107
+ // REFL_FIELD( prev) // TODO fixme has null data
108
+ // REFL_FIELD( cur)
109
109
REFL_END
110
110
111
111
REFL_TYPE(llama_token_data )
@@ -415,10 +415,10 @@ REFL_FIELD( t_p_eval_us )
415
415
REFL_FIELD( n_sample )
416
416
REFL_FIELD( n_p_eval )
417
417
REFL_FIELD( n_eval )
418
- REFL_FIELD( logits)
418
+ // REFL_FIELD( logits) crash
419
419
REFL_FIELD( logits_all )
420
420
REFL_FIELD( embedding)
421
- REFL_FIELD( work_buffer)
421
+ // REFL_FIELD( work_buffer)
422
422
REFL_FIELD( buf_compute)
423
423
REFL_FIELD( buf_alloc)
424
424
REFL_FIELD( alloc )
@@ -492,7 +492,7 @@ REFL_END
492
492
493
493
494
494
REFL_TYPE(llama_logit_info)
495
- REFL_FIELD(logits)
495
+ // REFL_FIELD(logits)
496
496
REFL_FIELD(n_vocab)
497
497
REFL_END
498
498
@@ -621,7 +621,9 @@ namespace runtime2
621
621
}
622
622
else if constexpr (detail::is_ostream_printable_v<CharT, T>) {
623
623
// type supports printing natively, just use that
624
- os << value;
624
+
625
+ os << value;
626
+
625
627
}
626
628
else {
627
629
debug_detailed (os, value, depth);
@@ -640,14 +642,15 @@ namespace runtime2
640
642
if (!compact) os << ' \n ' ;
641
643
int new_depth = next_depth (depth);
642
644
indent (os, new_depth);
643
-
644
- debug_impl (os, *it, new_depth);
645
- if (std::next (it, 1 ) != end) {
645
+
646
+ debug_impl (os, *it, new_depth);
647
+ if (std::next (it, 1 ) != end) {
646
648
os << " , " ;
647
- }
648
- else if (!compact) {
649
+ }
650
+ else if (!compact) {
649
651
os << ' \n ' ;
650
- }
652
+ }
653
+
651
654
}
652
655
653
656
indent (os, depth);
0 commit comments