-
## Problem Description
To reproduce:
```python
import pyfolio as pf
import yfinance as yf
history = yf.Ticker("MGK").history("max")
returns = history.Close.pct_change()
pf.create_returns_…
-
'generator' object is not subscriptable
prompt_audio = (prompt_speech.numpy() * (2 ** 15)).astype(np.int16).tobytes()
prompt_speech_16k = torch.from_numpy(np.array(np.frombuffer(prompt_aud…
-
### bug描述 Describe the Bug
使用Paddle-gpu 20241016的daily包,运行下述代码出现如下报错,使用Paddle-gpu 3.0beta则可以正常运行。
![image](https://github.com/user-attachments/assets/5bead2ed-9ca6-40bf-869f-ad4610217cff)
测试代码:
im…
-
Section 1.3.1 seems to incorrectly indicate that the default PRNG is Mersenne not PCG64.
```
np.random: random numbers (Mersenne Twister PRNG):
```
This conflicts with the actual behavior:
…
-
s = magnetic shear
alpha_MHD = pressure gradient
To characterize any local equilibrium in tokamaks or stellarators, we can vary the s and/or α_MHD values while maintaining the local MHD force bala…
-
Dear developers, thank you for maintaining such a wonderful library. It is always a great help in my work.
I have found a small mistake that might lead to a bug, and I would appreciate it if you co…
-
Plots crossing the "-180/+180" wrapping longitude line have "ugly" lines appearing on them. Consider for example the dummy trajectory:
```python
# %%
import matplotlib.pyplot as plt
import num…
-
**Describe the bug**
Starting around v1.20, numpy has deprecated generic data types (np.float, np.bool, np.complex) in favor of standard python types (float, bool, complex). This is causing a flurry …
ad12 updated
4 months ago
-
- [ ] can we reduce file size
- [ ] without affecting training
- [ ] and requiring a ton of re-engineering of dataset prep / datapipe class
Currently we use a "just a bunch of files of approach",…
-
### Bug description
When using `==` `__eq__` or `!=` `__ne__` on numpy arrays from mojo like the following.
```mojo
from python import Python
def main():
var np = Python.import_module(…