Skip to content

Eval bug: using -devd CUDA0 on draft-dspark causes model to crash #26475

Description

@wallentri88

Name and Version

latest master

Operating systems

Linux

GGML backends

CUDA

Hardware

nvidia gpus

Models

deepseek flash 0731

Problem description & steps to reproduce

load deepseek with tensor split, then load dspark model with -devd CUDA0

First Bad Commit

No response

Relevant log output

ggml/src/ggml-backend.cpp:898: pre-allocated tensor (output.weight) in a buffer (CUDA8) that cannot run the operation (NONE)

#1  0x000072260eb38683 in ggml_print_backtrace ()
#2  0x000072260eb3882b in ggml_abort ()
#3  0x000072260eb5216c in ggml_backend_sched_backend_id_from_cur(ggml_backend_sched*, ggml_tensor*)
#4  0x000072260eb53c84 in ggml_backend_sched_split_graph ()
#5  0x000072260ece3ad9 in llama_context::graph_reserve(unsigned int, unsigned int, unsigned int, llama_memory_context_i const*, bool, unsigned long*)
#6  0x000072260ece3c0a in llama_context::resolve_fused_ops(llama_memory_context_i const*, unsigned int)::{lambda(llm_fused_op_probe const&, bool&)#1}::operator()(llm_fused_op_probe const&, bool&) const ()
#7  0x000072260ece3eaf in llama_context::resolve_fused_ops(llama_memory_context_i const*, unsigned int)
#8  0x000072260ece455c in llama_context::sched_reserve()
#9  0x000072260ece7449 in llama_context::llama_context(llama_model const&, llama_context_params)
#10 0x000072260ece8799 in llama_init_from_model ()
#11 0x000072260f250d5c in common_speculative_init_result::common_speculative_init_result(common_params&, llama_model*, llama_context*)
#12 0x000072260f251036 in common_speculative_init_from_params(common_params&, llama_model*, llama_context*) 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions