Skip to content

[Bug] Inkling-2-Mini-GGUF fails to load on latest Unsloth Studio Docker Version. #18757

Open

Description

@NWSpitfire

Environment

Where are you using Unsloth?

  • Unsloth desktop application
  • Unsloth web UI (unsloth studio)
  • Unsloth CLI
  • Python package or notebook
  • Colab or Kaggle

Operating system and version: Ubuntu 24.04.4 LTS

GPU model(s) and accelerator backend: RTX 3090 24GB, Nvidia CUDA

Versions:
CUDA: 13.3,
Driver: 620.70.06,
Unsloth Version: dev
Package Version: 2026.11.7
llama.cpp Version: b12540-mix-c4017f9
Docker Image: unsloth/unsloth:latest

What happened?

When attempting to load any quant of the new Inkling-2-Mini-GGUF model, unsloth fails with the error Failed to load model: llama-server failed to start. Check that the GGUF file is valid and you have enough memory.

The "Estimated Memory Usage" Section also displays a memory footprint larger than the VRAM/System memory availability when context is set to auto. System has 40GB combined, memory usage is showing 58.72GB with f16 · 1,048,576 tokens · 4 slots KV Cache in auto mode. When manually setting context to f16 · 83,000 tokens · 4 slots, memory estimation fits in resources, but models still fail to start.

Steps to reproduce:

  1. Update to latest unsloth docker image and launch studio.
  2. Attempt to load any of the Inkling-2-Mini-GGUF models. Model should fail to load.
    2a. Manually set context until "Estimated Memory Usage" shows the usage to fit inside memory, then load. Model should still fail to load.

Expected behavior:
Model loads into GPU memory.

Actual behavior:
llama server fails to start with UI error Failed to load model: llama-server failed to start. Check that the GGUF file is valid and you have enough memory.

Model and operation involved:
Inkling-2-Mini-GGUF. Tested with UD-Q4_K_XL and UD-IQ4_XS

Diagnostics and logs

Desktop application

Click Copy Diagnostics on the error, startup, or update screen and paste the
result below:

0.00.070.656 I srv  llama_server: initializing ...
0.00.070.669 I cmn  common_param: common_params_print_info: build 12540 (b5445889d) with GNU 11.4.0 for Linux x86_64 (Compiled by the Unsloth team)
0.00.070.670 I cmn  common_param: common_params_print_info: verbosity = 4 (adjust with the `-lv N` CLI arg)
0.00.070.670 I cmn  common_param: device_info:
0.00.164.990 I cmn  common_param:   - CUDA0   : NVIDIA GeForce RTX 3090 (24122 MiB, 23857 MiB free)
0.00.164.997 I cmn  common_param:   - CPU     : Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (15899 MiB, 15899 MiB free)
0.00.165.053 I cmn  common_param: system_info: n_threads = 6 (n_threads_batch = 6) / 6 | CUDA : ARCHS = 700,750,800,860,890,900,1000,1200 | USE_GRAPHS = 1 | FA_QUANTS = q4_0-q4_0,q8_0-q8_0,f16-f16,bf16-bf16,f8_e4m3-f8_e4m3 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
0.00.165.104 I srv  init_listene: running without SSL
0.00.165.119 I srv  init_listene: api_keys: ****PWos
0.00.165.502 I srv          init: using 8 threads for HTTP server
0.00.168.394 I mtmd_model_loader: model name:   Inkling-2-Mini
0.00.168.399 I mtmd_model_loader: description:
0.00.168.403 I mtmd_model_loader: GGUF version: 3
0.00.168.406 I mtmd_model_loader: alignment:    32
0.00.168.406 I mtmd_model_loader: n_tensors:    422
0.00.168.409 I mtmd_model_loader: n_kv:         19
0.00.168.409 I
0.00.168.414 I mtmd_model_loader: has vision encoder
0.00.168.487 I srv    load_model: loading model '/workspace/.cache/huggingface/hub/models--unsloth--Inkling-2-Mini-GGUF/snapshots/ae9327c5fbc7333116ba32eee78bb5d2bbefae4f/Inkling-2-Mini-UD-Q4_K_XL.gguf'
0.00.168.488 I srv    load_model: local path '/workspace/.cache/huggingface/hub/models--unsloth--Inkling-2-Mini-GGUF/snapshots/ae9327c5fbc7333116ba32eee78bb5d2bbefae4f/Inkling-2-Mini-UD-Q4_K_XL.gguf'
0.00.204.290 I srv    load_model: [mtmd] estimated worst-case memory usage of mmproj is 727.29 MiB (took 35.76 ms)
0.00.204.309 I cmn  common_fit_a: fitting params to device memory ...
0.00.204.309 I cmn  common_fit_a: (for bugs during this step try to reproduce them with -fit off, or provide --verbose logs if the bug only occurs with -fit on)
0.00.204.333 I common_params_fit_impl: getting device memory data for initial parameters:
0.00.560.720 E llama_model_load: error loading model: check_tensor_dims: tensor 'blk.24.attn_q.weight' not found
0.00.560.728 E llama_model_load_from_file_impl: failed to load model
0.00.560.759 E common_fit_params: encountered an error while trying to fit params to free device memory: failed to load model
0.00.560.763 I common_fit_params: fitting params to free memory took 0.36 seconds
0.00.613.841 I llama_model_loader: loaded meta data with 62 key-value pairs and 734 tensors from /workspace/.cache/huggingface/hub/models--unsloth--Inkling-2-Mini-GGUF/snapshots/ae9327c5fbc7333116ba32eee78bb5d2bbefae4f/Inkling-2-Mini-UD-Q4_K_XL.gguf (version GGUF V3 (latest))
0.00.613.861 I llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
0.00.613.864 I llama_model_loader: - kv   0:                       general.architecture str              = inkling2
0.00.613.864 I llama_model_loader: - kv   1:                               general.type str              = model
0.00.613.864 I llama_model_loader: - kv   2:                               general.name str              = Inkling-2-Mini
0.00.613.865 I llama_model_loader: - kv   3:                         general.size_label str              = 128x1.8B
0.00.613.866 I llama_model_loader: - kv   4:                       inkling2.block_count u32              = 48
0.00.613.866 I llama_model_loader: - kv   5:                    inkling2.context_length u32              = 1048576
0.00.613.867 I llama_model_loader: - kv   6:                  inkling2.embedding_length u32              = 2304
0.00.613.867 I llama_model_loader: - kv   7:               inkling2.feed_forward_length u32              = 1152
0.00.613.870 I llama_model_loader: - kv   8:              inkling2.attention.head_count arr[i32,48]      = [24, 24, 24, 24, 24, 24, 24, 24, 24, ...
0.00.613.872 I llama_model_loader: - kv   9:           inkling2.attention.head_count_kv arr[i32,48]      = [8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, ...
0.00.613.875 I llama_model_loader: - kv  10:  inkling2.attention.layer_norm_rms_epsilon f32              = 0.000001
0.00.613.875 I llama_model_loader: - kv  11:                      inkling2.expert_count u32              = 128
0.00.613.875 I llama_model_loader: - kv  12:                 inkling2.expert_used_count u32              = 8
0.00.613.876 I llama_model_loader: - kv  13:              inkling2.attention.key_length u32              = 128
0.00.613.877 I llama_model_loader: - kv  14:            inkling2.attention.value_length u32              = 128
0.00.613.877 I llama_model_loader: - kv  15:                         inkling2.num_loops u32              = 3
0.00.613.877 I llama_model_loader: - kv  16:                   inkling2.loop.core_start u32              = 6
0.00.613.878 I llama_model_loader: - kv  17:                     inkling2.loop.core_end u32              = 18
0.00.613.878 I llama_model_loader: - kv  18:                    inkling2.loop.gate_rank u32              = 64
0.00.613.878 I llama_model_loader: - kv  19:                        inkling2.vocab_size u32              = 201024
0.00.613.879 I llama_model_loader: - kv  20:               inkling2.vocab_size_unpadded u32              = 200058
0.00.613.879 I llama_model_loader: - kv  21:        inkling2.expert_feed_forward_length u32              = 1152
0.00.613.880 I llama_model_loader: - kv  22:          inkling2.attention.key_length_swa u32              = 128
0.00.613.880 I llama_model_loader: - kv  23:        inkling2.attention.value_length_swa u32              = 128
0.00.613.880 I llama_model_loader: - kv  24:              inkling2.rope.dimension_count u32              = 0
0.00.613.880 I llama_model_loader: - kv  25:          inkling2.attention.sliding_window u32              = 1024
0.00.613.882 I llama_model_loader: - kv  26:  inkling2.attention.sliding_window_pattern arr[bool,48]     = [true, true, true, true, true, false,...
0.00.613.882 I llama_model_loader: - kv  27:                 inkling2.shortconv.l_cache u32              = 4
0.00.613.883 I llama_model_loader: - kv  28:              inkling2.expert_weights_scale f32              = 8.000000
0.00.613.884 I llama_model_loader: - kv  29:              inkling2.activation.situ_beta f32              = 4.000000
0.00.613.885 I llama_model_loader: - kv  30:       inkling2.activation.situ_linear_beta f32              = 25.000000
0.00.613.885 I llama_model_loader: - kv  31:               inkling2.attn_res.block_size u32              = 6
0.00.613.886 I llama_model_loader: - kv  32:           inkling2.final_logit_softcapping f32              = 30.000000
0.00.613.886 I llama_model_loader: - kv  33:         inkling2.attention.relative_length u32              = 16
0.00.613.886 I llama_model_loader: - kv  34:         inkling2.attention.relative_extent u32              = 1024
0.00.613.887 I llama_model_loader: - kv  35:                 inkling2.attention.qk_clip f32              = 22.627417
0.00.613.888 I llama_model_loader: - kv  36:           inkling2.attention.relative_clip f32              = 8.000000
0.00.613.888 I llama_model_loader: - kv  37:         inkling2.attention.log_scale_floor u32              = 8192
0.00.613.889 I llama_model_loader: - kv  38:         inkling2.attention.log_scale_alpha f32              = 0.100000
0.00.613.889 I llama_model_loader: - kv  39:                       tokenizer.ggml.model str              = gpt2
0.00.613.889 I llama_model_loader: - kv  40:                         tokenizer.ggml.pre str              = inkling2
0.00.613.891 I llama_model_loader: - kv  41:                      tokenizer.ggml.tokens arr[str,200058]  = ["!", "\"", "#", "$", "%", "&", "'", ...
0.00.613.892 I llama_model_loader: - kv  42:                  tokenizer.ggml.token_type arr[i32,200058]  = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
0.00.613.893 I llama_model_loader: - kv  43:                      tokenizer.ggml.merges arr[str,424413]  = ["i n", "e r", "t h", "a n", "o n", "...
0.00.613.894 I llama_model_loader: - kv  44:                tokenizer.ggml.eos_token_id u32              = 200006
0.00.613.894 I llama_model_loader: - kv  45:                tokenizer.ggml.eot_token_id u32              = 200006
0.00.613.895 I llama_model_loader: - kv  46:               tokenizer.ggml.add_bos_token bool             = false
0.00.613.895 I llama_model_loader: - kv  47:               tokenizer.ggml.add_eos_token bool             = false
0.00.613.895 I llama_model_loader: - kv  48:                tokenizer.ggml.clean_spaces bool             = false
0.00.613.896 I llama_model_loader: - kv  49:               general.quantization_version u32              = 2
0.00.613.896 I llama_model_loader: - kv  50:                          general.file_type u32              = 7
0.00.613.896 I llama_model_loader: - kv  51:                      quantize.imatrix.file str              = imatrix_unsloth.gguf
0.00.613.897 I llama_model_loader: - kv  52:                   quantize.imatrix.dataset str              = unsloth_calibration_Inkling-2-Mini.co...
0.00.613.897 I llama_model_loader: - kv  53:             quantize.imatrix.entries_count u32              = 392
0.00.613.898 I llama_model_loader: - kv  54:              quantize.imatrix.chunks_count u32              = 892
0.00.613.899 I llama_model_loader: - kv  55:                    tokenizer.chat_template str              = {%- set effort_map = {"none": 0.0, "m...
0.00.613.899 I llama_model_loader: - kv  56:                           general.basename str              = Inkling-2-Mini
0.00.613.900 I llama_model_loader: - kv  57:            tokenizer.ggml.padding_token_id u32              = 199999
0.00.613.900 I llama_model_loader: - kv  58:                      general.sampling.temp f32              = 1.000000
0.00.613.900 I llama_model_loader: - kv  59:                     general.sampling.top_k i32              = 0
0.00.613.901 I llama_model_loader: - kv  60:                     general.sampling.top_p f32              = 1.000000
0.00.613.901 I llama_model_loader: - kv  61:                     general.sampling.min_p f32              = 0.000000
0.00.613.902 I llama_model_loader: - type  f32:  508 tensors
0.00.613.902 I llama_model_loader: - type q8_0:  154 tensors
0.00.613.907 I llama_model_loader: - type bf16:   32 tensors
0.00.613.908 I llama_model_loader: - type nvfp4:   40 tensors
0.00.613.909 I print_info: file format = GGUF V3 (latest)
0.00.613.909 I print_info: file type   = Q8_0
0.00.613.910 I print_info: file size   = 16.41 GiB (5.41 BPW)
0.00.618.421 I llama_prepare_model_devices: using device CUDA0 (NVIDIA GeForce RTX 3090) (0000:01:00.0) - 23857 MiB free
0.00.762.043 I load: 45 unused tokens
0.00.807.956 I load: printing all EOG tokens:
0.00.807.959 I load:   - 199999 ('<|endoftext|>')
0.00.807.960 I load:   - 200006 ('<|content_model_end_sampling|>')
0.00.808.355 I load: special tokens cache size = 60
0.00.830.712 I load: token to piece cache size = 1.2012 MB
0.00.830.722 I print_info: arch                  = inkling2
0.00.830.722 I print_info: vocab_only            = 0
0.00.830.722 I print_info: no_alloc              = 0
0.00.830.722 I print_info: n_ctx_train           = 1048576
0.00.830.723 I print_info: n_embd_inp            = 2304
0.00.830.723 I print_info: n_embd                = 2304
0.00.830.723 I print_info: n_embd_out            = 2304
0.00.830.723 I print_info: n_layer               = 48
0.00.830.724 I print_info: n_layer_all           = 48
0.00.830.729 I print_info: n_head                = 24
0.00.830.730 I print_info: n_head_kv             = 8
0.00.830.730 I print_info: n_rot                 = 0
0.00.830.730 I print_info: n_swa                 = 1024
0.00.830.731 I print_info: is_swa_any            = 1
0.00.830.731 I print_info: non_causal_type       = 0
0.00.830.731 I print_info: n_embd_head_k         = 128
0.00.830.731 I print_info: n_embd_head_v         = 128
0.00.830.732 I print_info: n_gqa                 = 3
0.00.830.734 I print_info: n_embd_k_gqa          = 1024
0.00.830.735 I print_info: n_embd_v_gqa          = 1024
0.00.830.736 I print_info: f_norm_eps            = 0.0e+00
0.00.830.737 I print_info: f_norm_rms_eps        = 1.0e-06
0.00.830.737 I print_info: f_clamp_kqv           = 0.0e+00
0.00.830.737 I print_info: f_max_alibi_bias      = 0.0e+00
0.00.830.737 I print_info: f_logit_scale         = 0.0e+00
0.00.830.738 I print_info: f_attn_scale          = 0.0e+00
0.00.830.738 I print_info: f_attn_value_scale    = 0.0000
0.00.830.739 I print_info: n_ff                  = 1152
0.00.830.739 I print_info: n_expert              = 128
0.00.830.739 I print_info: n_expert_used         = 8
0.00.830.739 I print_info: n_expert_groups       = 0
0.00.830.739 I print_info: n_group_used          = 0
0.00.830.740 I print_info: causal attn           = 1
0.00.830.740 I print_info: pooling type          = -1
0.00.830.740 I print_info: rope type             = -1
0.00.830.740 I print_info: rope scaling          = linear
0.00.830.741 I print_info: freq_base_train       = 10000.0
0.00.830.742 I print_info: freq_scale_train      = 1
0.00.830.742 I print_info: freq_base_swa         = 10000.0
0.00.830.742 I print_info: freq_scale_swa        = 1
0.00.830.743 I print_info: n_embd_head_k_swa     = 128
0.00.830.743 I print_info: n_embd_head_v_swa     = 128
0.00.830.743 I print_info: n_rot_swa             = 0
0.00.830.743 I print_info: n_ctx_orig_yarn       = 1048576
0.00.830.743 I print_info: rope_yarn_log_mul     = 0.0000
0.00.830.743 I print_info: rope_finetuned        = unknown
0.00.830.745 I print_info: model type            = ?B
0.00.830.746 I print_info: model params          = 26.07 B
0.00.830.746 I print_info: general.name          = Inkling-2-Mini
0.00.830.746 I print_info: vocab type            = BPE
0.00.830.747 I print_info: n_vocab               = 200058
0.00.830.747 I print_info: n_merges              = 424413
0.00.830.747 I print_info: EOS token             = 200006 '<|content_model_end_sampling|>'
0.00.830.747 I print_info: EOT token             = 200006 '<|content_model_end_sampling|>'
0.00.830.748 I print_info: PAD token             = 199999 '<|endoftext|>'
0.00.830.748 I print_info: LF token              = 198 'Ċ'
0.00.830.748 I print_info: EOG token             = 199999 '<|endoftext|>'
0.00.830.748 I print_info: EOG token             = 200006 '<|content_model_end_sampling|>'
0.00.830.749 I print_info: max token length      = 92
0.00.832.585 I load_tensors: loading model tensors, this can take a while... (load_mode = mmap)
0.00.895.670 E llama_model_load: error loading model: check_tensor_dims: tensor 'blk.24.attn_q.weight' not found
0.00.895.675 E llama_model_load_from_file_impl: failed to load model
0.00.895.680 E cmn  common_init_: failed to load model '/workspace/.cache/huggingface/hub/models--unsloth--Inkling-2-Mini-GGUF/snapshots/ae9327c5fbc7333116ba32eee78bb5d2bbefae4f/Inkling-2-Mini-UD-Q4_K_XL.gguf'
0.00.895.684 E srv    load_model: failed to load model, '/workspace/.cache/huggingface/hub/models--unsloth--Inkling-2-Mini-GGUF/snapshots/ae9327c5fbc7333116ba32eee78bb5d2bbefae4f/Inkling-2-Mini-UD-Q4_K_XL.gguf'
0.00.895.685 I srv    operator(): operator(): cleaning up before exit...
0.00.896.239 E srv  server_run_i: exiting due to model loading error
[studio] attempt end reason=exited exit_code=1

If Copy Diagnostics is unavailable, attach the newest relevant files from:

  • Windows: %USERPROFILE%\.unsloth\studio\
  • Linux/macOS: ~/.unsloth/studio/

Useful files include:

  • tauri.log and, if relevant, tauri.log.1
  • logs/install-*.log, logs/update-*.log, logs/repair-*.log, or logs/backend-*.log
  • The newest logs/server/server-*.log

Unsloth web UI

Attach the newest relevant items:

  • Linux/macOS/Windows: ~/.unsloth/studio/logs/server/server-*.log
    (use %USERPROFILE%\.unsloth\studio\logs\server\ on Windows)
  • Linux/macOS shortcut launches only: ~/.local/share/unsloth/studio.log
  • Terminal output if Unsloth was launched from a terminal
  • Browser Console errors for browser-only problems

If you configured UNSLOTH_STUDIO_HOME or STUDIO_HOME, look under
<CUSTOM_STUDIO_HOME>/logs/ instead.

Model-specific logs, if applicable

  • GGUF/llama.cpp: newest ~/.unsloth/studio/logs/llama-server/*.log
  • Diffusion GGUF: newest ~/.unsloth/studio/logs/diffusion-server/*.log
  • Training resume/checkpoint bug: relevant trainer_state.json

Python package or notebook, if applicable

Paste the complete traceback and minimal reproduction:

# Remove all tokens and private data.

Also include Python, Unsloth, unsloth_zoo, PyTorch, Transformers, and TRL
versions, plus nvidia-smi output when applicable.

Additional context

Activity

  1. added
    feature request
    on Nov 21, 2026
  2. debojyoti-dev commented on Nov 21, 2026

    @debojyoti-dev
    Contributor

    Thanks for the detailed log. I looked into this and it appears to already be in progress upstream:

    A similar report (#18690) was resolved by updating to v0.1.922-beta with llama.cpp b12588-mix-c0c3de8 or newer, so it may be worth pulling the latest Docker image and checking the llama.cpp version under Settings > Engines. Once the PRs above land and a new llama.cpp prebuild ships, both quants you tried should load.

    cc @danielhanchen

  3. NWSpitfire commented on Nov 21, 2026

    @NWSpitfire
    Author

    That's good to know, I pulled the 'latest' tag of the image (thinking it was the latest build haha), but checking the docker hub now I see the 'v0.1.922-beta' tag is newer by about 5 hours. I will pull that down as suggested and check it has the newer llama.cpp version to test while we wait for the new PRs to merge.

    Thank you

  4. NWSpitfire commented on Nov 21, 2026

    @NWSpitfire
    Author

    Just pulled v0.1.922-beta tab and can confirm that the model now loads and works, albeit at ~1/3 the tokens/s compared to my usual Gemma 4 26B (51.7tok/s vs 160tok/s), with the same 169k context. Happy it now works, thanks!

  5. indrajeetapache commented on Nov 21, 2026

    @indrajeetapache
    Contributor

    @danielhanchen Validated — real load failure on older llama.cpp, but no Studio PR needed from me.

    What was wrong

    Log shows check_tensor_dims: tensor 'blk.24.attn_q.weight' not found on inkling2 (looped layout) with llama.cpp b12540. That binary couldn’t load the earlier looped Inkling-2 GGUF layout yet — not a bad GGUF / OOM from the UI estimate.

    Status

    Safe to close unless something still fails on v0.1.922-beta+ after a full unsloth studio update / pulling that image tag (not only :latest if Hub lags).

  6. NWSpitfire commented on Nov 21, 2026

    @NWSpitfire
    Author

    I've been testing it and it is working well, except I have had it crash the llama server (at about 80k context) with the error "lost connection to the model server. It may have crashed". I tried retry but it then failed with "400: No model loaded".

    I'll go through the logs shortly and reload the model to see if that recovers it.

    This was the "UD-IQ4_XS" quant

  7. NWSpitfire commented on Nov 21, 2026

    @NWSpitfire
    Author

    Interestingly, the cause of the server crash appears to be a CUDA error: Out of memory. However, i was only at ~49.3% of context according to the unsloth UI, and the live monitor only showed 22.9GiB out of 24GiB used (if that matters?).

    I unloaded (the UI still showed the model as loaded), then reloaded the model again, and hit retry in the chat error message to attempt to continue generation from where it failed and it finished successfully, so not sure why it failed first time.

    Partial logs from llama-server:

    97.25.286.594 I slot launch_slot_: id  0 | task 36986 | processing task, is_child = 0
    97.25.286.595 I slot process_sing: id  1 | task -1 | saving idle slot to prompt cache
    97.25.286.596 I slot prompt_clear: id  1 | task -1 | clearing prompt with 0 tokens
    97.25.286.599 I slot process_sing: id  2 | task -1 | saving idle slot to prompt cache
    97.25.286.599 I slot prompt_clear: id  2 | task -1 | clearing prompt with 0 tokens
    97.25.286.599 I slot process_sing: id  3 | task -1 | saving idle slot to prompt cache
    97.25.286.600 I slot prompt_clear: id  3 | task -1 | clearing prompt with 0 tokens
    97.25.286.605 I slot   operator(): id  0 | task 36986 | new prompt, n_ctx_slot = 162304, n_keep = 0, task.n_tokens = 79094
    97.25.287.069 I slot   operator(): id  0 | task 36986 | cached n_tokens = 79088, memory_seq_rm [79088, end)
    97.25.287.078 I slot create_check: id  0 | task 36986 | erasing context checkpoint too close to an earlier one (pos_min = 78541, pos_max = 78541, n_tokens = 78542, size = 163.670 MiB)
    97.25.338.957 I slot create_check: id  0 | task 36986 | created context checkpoint 2 of 2 (pos_min = 79087, pos_max = 79087, n_tokens = 79088, size = 163.670 MiB)
    97.25.387.428 I slot   operator(): id  0 | task 36986 | cached n_tokens = 79090, memory_seq_rm [79090, end)
    97.25.401.454 I slot init_sampler: id  0 | task 36986 | init sampler, took 14.00 ms, tokens: text = 78080, total = 79094
    97.25.401.457 W slot create_check: id  0 | task 36986 | erasing old context checkpoint (pos_min = 78519, pos_max = 78519, n_tokens = 78520, size = 163.670 MiB)
    97.25.450.855 I slot create_check: id  0 | task 36986 | created context checkpoint 2 of 2 (pos_min = 79089, pos_max = 79089, n_tokens = 79090, size = 163.670 MiB)
    97.25.523.375 I spec        begin: ngram_mod occupancy = 64548/4194304 (0.02)
    97.26.304.485 I slot print_timing: id  0 | task 36986 | prompt eval time =     237.36 ms /     6 tokens (   39.56 ms per token,    25.28 tokens per second)
    97.26.304.488 I slot print_timing: id  0 | task 36986 |        eval time =     780.51 ms /    53 tokens (   15.01 ms per token,    66.62 tokens per second)
    97.26.304.489 I slot print_timing: id  0 | task 36986 |       total time =    1017.87 ms /    59 tokens
    97.26.304.490 I slot print_timing: id  0 | task 36986 |    graphs reused =      34997
    97.26.304.490 I slot print_timing: id  0 | task 36986 |   graph reallocs =        322    /    39        (same size) / (changed size)
    97.26.304.507 I slot print_timing: id  0 | task 36986 | draft acceptance = 0.56250 (   36 accepted /    64 generated), mean len = 37.00
    97.26.304.508 I slot print_timing: id  0 | task 36986 |      acc per pos = (1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 1.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000)
    97.26.304.529 I spec common_specu: statistics        ngram-mod: #calls(b,g,a) =   88  35716    262, #gen drafts =    262, #acc drafts =   262, #gen tokens =  16703, #acc tokens =  4400, #mean acc len = 17.79, #acc rate/pos = (1.000, 0.866, 0.786, 0.737, 0.691, 0.656, 0.637, 0.611, 0.584, 0.515, 0.439, 0.416, 0.405, 0.385, 0.370, 0.359, 0.351, 0.344, 0.328, 0.302, 0.260, 0.252, 0.244, 0.237, 0.237, 0.225, 0.202, 0.191, 0.176, 0.172, 0.168, 0.160, 0.160, 0.160, 0.160, 0.156, 0.153, 0.145, 0.134, 0.130, 0.130, 0.126, 0.122, 0.118, 0.118, 0.115, 0.115, 0.107, 0.103, 0.095, 0.095, 0.092, 0.088, 0.084, 0.084, 0.084, 0.084, 0.080, 0.076, 0.076, 0.076, 0.076, 0.073, 0.073), dur(b,g,a) = 232.504, 75.163, 7.665 ms
    97.26.306.688 I slot      release: id  0 | task 36986 | stop processing: n_tokens = 79146, truncated = 0
    97.26.308.458 I srv  update_slots: all slots are idle
    97.27.770.888 I srv  server_strea: conv_id= (empty=1)
    97.28.171.914 I slot       select: id  0 | task -1 |  - checking sim = 0.997 (79146/79411) > 0.100
    97.28.171.916 I slot       select: id  1 | task -1 |  - skipping, slot is empty
    97.28.171.916 I slot       select: id  2 | task -1 |  - skipping, slot is empty
    97.28.171.916 I slot       select: id  3 | task -1 |  - skipping, slot is empty
    97.28.171.917 I slot       select: id  0 | task -1 | selected slot by LCP similarity, f_sim_best = 0.997 (> 0.100 thold), f_keep = 1.000
    97.28.172.216 I slot launch_slot_: id  0 | task -1 | sampler chain: logits -> penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> top-p -> ?min-p -> ?xtc -> temp-ext -> dist
    97.28.172.222 I slot launch_slot_: id  0 | task -1 | sampler params:
    	repeat_last_n = 64, repeat_penalty = 1.000, frequency_penalty = 0.000, presence_penalty = 1.500
    	dry_multiplier = 0.000, dry_base = 1.750, dry_allowed_length = 2, dry_penalty_last_n = 64
    	top_k = 20, top_p = 0.800, min_p = 0.000, xtc_probability = 0.000, xtc_threshold = 0.100, typical_p = 1.000, top_n_sigma = -1.000, temp = 0.700
    	mirostat = 0, mirostat_lr = 0.100, mirostat_ent = 5.000, adaptive_target = -1.000, adaptive_decay = 0.900
    97.28.172.225 I slot launch_slot_: id  0 | task 37005 | processing task, is_child = 0
    97.28.172.226 I slot process_sing: id  1 | task -1 | saving idle slot to prompt cache
    97.28.172.227 I slot prompt_clear: id  1 | task -1 | clearing prompt with 0 tokens
    97.28.172.230 I slot process_sing: id  2 | task -1 | saving idle slot to prompt cache
    97.28.172.230 I slot prompt_clear: id  2 | task -1 | clearing prompt with 0 tokens
    97.28.172.230 I slot process_sing: id  3 | task -1 | saving idle slot to prompt cache
    97.28.172.230 I slot prompt_clear: id  3 | task -1 | clearing prompt with 0 tokens
    97.28.172.235 I slot   operator(): id  0 | task 37005 | new prompt, n_ctx_slot = 162304, n_keep = 0, task.n_tokens = 79411
    97.28.172.698 I slot   operator(): id  0 | task 37005 | cached n_tokens = 79146, memory_seq_rm [79146, end)
    97.28.172.712 I slot create_check: id  0 | task 37005 | erasing context checkpoint too close to an earlier one (pos_min = 79089, pos_max = 79089, n_tokens = 79090, size = 163.670 MiB)
    97.28.222.838 I slot create_check: id  0 | task 37005 | created context checkpoint 2 of 2 (pos_min = 79145, pos_max = 79145, n_tokens = 79146, size = 163.670 MiB)
    97.28.231.342 I sched_graph_realloc: graph reallocation: nodes = 12778 (changed = 0), splits = 2, n_same = 323, n_diff = 39
    97.28.327.626 I slot   operator(): id  0 | task 37005 | cached n_tokens = 79168, memory_seq_rm [79168, end)
    97.28.327.667 W slot create_check: id  0 | task 37005 | erasing old context checkpoint (pos_min = 79087, pos_max = 79087, n_tokens = 79088, size = 163.670 MiB)
    97.28.390.968 I slot create_check: id  0 | task 37005 | created context checkpoint 2 of 2 (pos_min = 79167, pos_max = 79167, n_tokens = 79168, size = 163.670 MiB)
    97.28.439.360 I slot   operator(): id  0 | task 37005 | cached n_tokens = 79170, memory_seq_rm [79170, end)
    97.28.439.374 I slot encode_mtmd_: id  0 | task 37005 | encoding mtmd batch from idx = 79170, n_chunks = 1
    97.28.465.739 I decoding image batch 1/1, n_tokens_batch = 240
    97.28.794.223 I image decoded (batch 1/1) in 328 ms
    97.28.808.337 I slot init_sampler: id  0 | task 37005 | init sampler, took 13.94 ms, tokens: text = 78157, total = 79411
    97.28.879.464 I spec        begin: ngram_mod occupancy = 64581/4194304 (0.02)
    97.29.073.781 I cmn  common_reaso: activated, budget=2147483647 tokens
    97.29.161.233 I cmn  common_reaso: activated, budget=2147483647 tokens
    97.29.908.766 I cmn  common_reaso: deactivated (natural end)
    /home/runner/work/llama.cpp/llama.cpp/src/ggml/src/ggml-cuda/ggml-cuda.cu:122: CUDA error
    97.31.064.945 E CUDA error: out of memory
    97.31.064.949 E   current device: 0, in function ggml_cuda_graph_launch_chunk at /home/runner/work/llama.cpp/llama.cpp/src/ggml/src/ggml-cuda/ggml-cuda.cu:3604
    97.31.064.949 E   cudaGraphInstantiate(&graph->instances[idx].handle, cuda_graph, nullptr, nullptr, 0)
    /opt/unsloth/llama.cpp/libggml-base.so.1(+0x1743b)[0x7aa3c139243b]
    /opt/unsloth/llama.cpp/libggml-base.so.1(+0x178bf)[0x7aa3c13928bf]
    /opt/unsloth/llama.cpp/libggml-base.so.1(ggml_abort+0x152)[0x7aa3c1392a92]
    /opt/unsloth/llama.cpp/libggml-cuda.so(+0x32a206)[0x7aa39bb46206]
    /opt/unsloth/llama.cpp/libggml-cuda.so(+0x34066a)[0x7aa39bb5c66a]
    /opt/unsloth/llama.cpp/libggml-cuda.so(+0x34450f)[0x7aa39bb6050f]
    /opt/unsloth/llama.cpp/libggml-base.so.1(ggml_backend_sched_graph_compute_async+0x7e8)[0x7aa3c13b2728]
    /opt/unsloth/llama.cpp/libllama.so.1(_ZN13llama_context13graph_computeEP11ggml_cgraphb+0xdb)[0x7aa3c16efb2b]
    /opt/unsloth/llama.cpp/libllama.so.1(_ZN13llama_context14process_ubatchERK12llama_ubatch14llm_graph_typeP22llama_memory_context_iR11ggml_status+0x11c)[0x7aa3c16f226c]
    /opt/unsloth/llama.cpp/libllama.so.1(_ZN13llama_context6decodeERK15llama_batch_ext14llm_graph_type+0x852)[0x7aa3c16fd5b2]
    /opt/unsloth/llama.cpp/libllama-server-impl.so(_ZNSt17_Function_handlerIFvvEZN19server_context_impl6decodeERiiEUlvE_E9_M_invokeERKSt9_Any_data+0x52)[0x7aa3c27eb8a2]
    /opt/unsloth/llama.cpp/libllama-server-impl.so(_ZN12server_queue14yield_to_queueEOSt8functionIFvvEE+0xab)[0x7aa3c2791f7b]
    /opt/unsloth/llama.cpp/libllama-server-impl.so(_ZN19server_context_impl6decodeERii+0x1b7)[0x7aa3c2802a47]
    /opt/unsloth/llama.cpp/libllama-server-impl.so(_ZN19server_context_impl12update_slotsEv+0x4a6)[0x7aa3c2806e76]
    /opt/unsloth/llama.cpp/libllama-server-impl.so(_ZN12server_queue10start_loopEl+0x128)[0x7aa3c2792a08]
    /opt/unsloth/llama.cpp/libllama-server-impl.so(+0x10a403)[0x7aa3c271e403]
    /opt/unsloth/llama.cpp/libllama-server-impl.so(_Z12llama_serveriPPc+0x149)[0x7aa3c271e959]
    /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca)[0x7aa3c21751ca]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7aa3c217528b]
    /opt/unsloth-studio/llama.cpp/llama-server(+0x22f5)[0x5c43c63f02f5]
    [studio] attempt end reason=exited exit_code=-6
    
  8. stguller commented on Nov 22, 2026

    @stguller

    Can confirm this also reproduces on Windows 11 with upstream llama.cpp \�12600\ (win-cuda-13.5-x64) when loading \Inkling-2-Mini-UD-IQ3_XXS.gguf.

    The GGUF metadata sets \inkling2.block_count = 48, but the tensor directory contains only 24 physical layers (\�lk.0\ to \�lk.23), so tensor validation fails at \�lk.24.attn_q.weight.

    Tracked upstream in llama.cpp here: ggml-org/llama.cpp#32826

  9. danielhanchen commented on Nov 23, 2026

    @danielhanchen
    Member

    This should be fixed now - please update unsloth and the llama.cpp binaries! We just did an update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfeature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions