Skip to content

Conversation

@Burton2000
Copy link
Contributor

When using tensors larger than 1d clamp operation does not work due to the restriction of returning if ith is not 0.

When using tensors larger than 1d clamp operation does not work due to the restriction of returning if ith is not 0.
@github-actions github-actions bot added the ggml changes relating to the ggml tensor library for machine learning label Feb 12, 2025
@ggerganov
Copy link
Member

Hm, better remove the restriction instead?

@Burton2000
Copy link
Contributor Author

Happy to do that as well, let me check and repush.

@Burton2000
Copy link
Contributor Author

Yep that seems to work as well!

@ggerganov ggerganov merged commit 748ee9f into ggml-org:master Feb 12, 2025
46 checks passed
@Burton2000 Burton2000 deleted the patch-2 branch February 12, 2025 14:02
Animaxx added a commit to Animaxx/llama.cpp that referenced this pull request Feb 12, 2025
tinglou pushed a commit to tinglou/llama.cpp that referenced this pull request Feb 13, 2025
* Bug fix for clamp_f32

When using tensors larger than 1d clamp operation does not work due to the restriction of returning if ith is not 0.

* Bug fix for clamp_f32

* Bug fix for clamp_f32
orca-zhang pushed a commit to orca-zhang/llama.cpp that referenced this pull request Feb 26, 2025
* Bug fix for clamp_f32

When using tensors larger than 1d clamp operation does not work due to the restriction of returning if ith is not 0.

* Bug fix for clamp_f32

* Bug fix for clamp_f32
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
* Bug fix for clamp_f32

When using tensors larger than 1d clamp operation does not work due to the restriction of returning if ith is not 0.

* Bug fix for clamp_f32

* Bug fix for clamp_f32
mglambda pushed a commit to mglambda/llama.cpp that referenced this pull request Mar 8, 2025
* Bug fix for clamp_f32

When using tensors larger than 1d clamp operation does not work due to the restriction of returning if ith is not 0.

* Bug fix for clamp_f32

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

Labels

ggml changes relating to the ggml tensor library for machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants