mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-02 23:32:48 +08:00
add error traceback info (#3419)
Some checks failed
Deploy GitHub Pages / deploy (push) Has been cancelled
Some checks failed
Deploy GitHub Pages / deploy (push) Has been cancelled
* add error traceback info * update error msg * update code --------- Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
This commit is contained in:
@@ -19,6 +19,7 @@ import concurrent.futures
|
||||
import json
|
||||
import queue
|
||||
import time
|
||||
import traceback
|
||||
|
||||
import numpy as np
|
||||
import paddle
|
||||
@@ -342,7 +343,7 @@ class CacheTransferManager:
|
||||
if self.rank == 0:
|
||||
self.cache_task_queue.barrier3.reset()
|
||||
except Exception as e:
|
||||
logger.info(f"do_data_transfer: error: {e}")
|
||||
logger.info(f"do_data_transfer: error: {e}, {str(traceback.format_exc())}")
|
||||
|
||||
def _transfer_data(
|
||||
self,
|
||||
|
Reference in New Issue
Block a user