-
So my problem has been the following: I had to calculate the logsumexp of some numbers in logspace for accuracy reasons, but some of the elements of the array have negative sign. I implemented the fol…
-
## 🚀 Feature
scikit's implementation of logsumexp accepts a supplemental array of scaling factors that allow for subtraction instead of just addition.
https://docs.scipy.org/doc/scipy-0.19.0/referen…
fuzic updated
8 months ago
-
-
When trying to use the logsumexp() from autograd.scipy.misc, I got the following error:
Traceback (most recent call last):
File "C:/Leo/csc412/A2/q3.py", line 91, in
w = grad_descent(cost, …
-
In the latest version of scipy, logsumexp has been moved scipy.misc to scipy.special.
There also seems to be some change in functionality as this line in bayan_sigma caused a ValueError: 'object ar…
-
When I used fast_cross_entropy_loss instead of torch.nn.CrossEntropyLoss, this error happend.
`File "/mnt/fs/user/xingjinliang/unsloth/unsloth/kernels/cross_entropy_loss.py", line 318, in fast_cross…
-
hi, i notice that the logsumexp function in your project is not match with what's introduced in wikipedia : https://en.wikipedia.org/wiki/LogSumExp . Am I mis-understood ?
-
### 🐛 Describe the bug
I am trying to debug LLama3 8B on MI300X and noticed that end to end throughput was at 83TFLOPs so i profiled it and noticed that `torch.ops.aten._scaled_dot_product_flash_at…
-
https://github.com/markkho/msdm/blob/8bb0f88a0c28006a4e9e416027a1e59e2603f0c2/msdm/algorithms/vectorizedvalueiteration.py#L1
We should avoid scipy's softmax/logsumexp according to [Blanchard et al.…
-
poisson.stats.logcdf has underflow and overflow issues. This can be solved using logsumexp on an array of the individual poisson logpmf's.
Note: neither issue nor solution are exclusive to this sci…