Tianbing Xu
Tianbing Xu
support swap of the content of Matrix, e.g. swap two parameters like: para->getBuf(PARAMETER_SNAPSHOT_VALUE)->deepSwap(*para->getBuf(PARAMETER_VALUE)). https://github.com/PaddlePaddle/Paddle/pull/565
We need to simplify unit test a little bit by adding paddle_test_util static lib. This is a supporting work to https://github.com/PaddlePaddle/Paddle/pull/1003 and https://github.com/PaddlePaddle/Paddle/pull/1009 The possible gains could be: 1. For...
In `void CpuMatrix::mul(CpuSparseMatrix* a, MatBType* b, MatCType* c, real scaleAB, real scaleT)`, (math/Matrix.cpp), we are using `static ThreadLocal threadLocalColArray` to do add in multi-threading settings. https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/math/Matrix.cpp#L2723 ```cpp 2750 if (a->getValueType()...
Hi, all: I am trying to test running TRL's sft (https://github.com/huggingface/trl/blob/main/examples/scripts/sft.py) on my EC2 redspot machine. It failed with dumped core. After debugging, I find that it failed at inner_training_loop...