ggerganov / ggml

Tensor library for machine learning
MIT License
11.26k stars 1.05k forks source link

vulkan: add dryrun support to sin and cos ops #947

Closed smeso closed 2 months ago

smeso commented 2 months ago

sin and cos failed test-backend-ops because they tried to dereference a context pointer that is null on dry runs.

This commit prevents that segfault.