@@ -244,9 +244,6 @@ void ggml_backend_tensor_set_async(ggml_backend_t backend, struct ggml_tensor *
244244
245245void ggml_backend_tensor_get_async (ggml_backend_t backend, const struct ggml_tensor * tensor, void * data, size_t offset, size_t size) {
246246 if (tensor->data == NULL ) {
247- fprintf (stderr, " ERROR: Tensor '%s' data is NULL - cannot read tensor\n " ,
248- tensor->name ? tensor->name : " unnamed" );
249-
250247 // For output tensors that may not have been properly allocated
251248 if (tensor->flags & GGML_TENSOR_FLAG_OUTPUT) {
252249 fprintf (stderr, " Output tensor detected - this may indicate scheduling issue\n " );
@@ -280,16 +277,6 @@ void ggml_backend_tensor_set(struct ggml_tensor * tensor, const void * data, siz
280277 // tensor->name ? tensor->name : "unnamed");
281278 return ;
282279 }
283-
284- // Enhanced error message with tensor information
285- fprintf (stderr, " ERROR: Tensor buffer not set for tensor '%s' (op: %s, type: %s)\n " ,
286- tensor->name ? tensor->name : " unnamed" ,
287- ggml_op_name (tensor->op ),
288- ggml_type_name (tensor->type ));
289- if (tensor->view_src ) {
290- fprintf (stderr, " This is a view tensor with view_src: '%s'\n " ,
291- tensor->view_src ->name ? tensor->view_src ->name : " unnamed" );
292- }
293280 }
294281 GGML_ASSERT (buf != NULL && " tensor buffer not set" );
295282 GGML_ASSERT (tensor->data != NULL && " tensor not allocated" );
@@ -1679,12 +1666,6 @@ void ggml_backend_sched_set_tensor_backend(ggml_backend_sched_t sched, struct gg
16791666ggml_backend_t ggml_backend_sched_get_tensor_backend (ggml_backend_sched_t sched, struct ggml_tensor * node) {
16801667 int backend_index = tensor_backend_id (node);
16811668 if (backend_index == -1 ) {
1682- // Enhanced debugging for unassigned tensors
1683- fprintf (stderr, " ERROR: Tensor '%s' (op: %s, flags: 0x%x) has no backend assigned (backend_id = -1)\n " ,
1684- node->name ? node->name : " unnamed" ,
1685- ggml_op_name (node->op ),
1686- node->flags );
1687-
16881669 // Try to assign to CPU backend as fallback for output tensors
16891670 if (node->flags & GGML_TENSOR_FLAG_OUTPUT) {
16901671 fprintf (stderr, " Attempting to assign output tensor to CPU backend\n " );
0 commit comments