flyinghu
flyinghu
How to use a custom PyPi server? I try use `pipreqs ./ --encoding=utf-8 --force --pypi-server https://pypi.tuna.tsinghua.edu.cn/simple`, but "requirements.txt" is emtpy
#### Description of Change Returns SUCCESS after successful switchValuesCArray #### References #### Checklist - [x] Added description of change - [x] Added file name matches [carray.c](https://github.com/TheAlgorithms/C/blob/master/data_structures/array/carray.c) - [ ] Added...
🐣 **Is your feature request related to a problem? Please describe.** I'm always frustrated when I use get or post method. I must use "async with" to use get or...
The visualization failed because the python debug type was changed to "debugpy" after vscode was updated.
[throughput_hook.py](https://github.com/InternLM/xtuner/blob/main/xtuner/engine/hooks/throughput_hook.py) 中仅仅计算一个`micro batch size`的`tgs`,能否添加一个`global batch size` 的 `tgs`输出 当`accumulative_counts > 1`时,在最后一个梯度累计`iter`,由于比其他`iter`多一个`optim.step()`操作,因此直接通过`micro batch size`输出的`tgs`求均值,会导致比实际`tgs`大,尤其在`optim offload`并且`accumulative_counts`较小时 例如考虑单机单卡情况,`accumulative_counts`为`2`时,假设`batch size`为`1`,`sequence_len`为`s`,第一个`iter tgs`为 $\frac{s}{t_1}$,第二个`iter tgs`为 $\frac{s}{t_2}$ ,如果直接计算两个`iter tgs`均值,那么`gbs tgs`为 $\frac{(\frac{s}{t_1} + \frac{s}{t_2})}{2} = \frac{s (t_1+ t_2)}{2t_1t_2}$...
 