- 博客(3)
- 收藏
- 关注
原创 pycuda学习笔记(二)
1.pycuda._driver.LogicError: cuDeviceGet failed: initialization error报错怎么办?Traceback (most recent call last):File “/usr/lib/python3.6/multiprocessing/process.py”, line 258, in _bootstrapself.run()File “/usr/lib/python3.6/multiprocessing/process.py”, li
2021-04-15 00:00:03 1528 2
原创 pytcuda学习笔记(一)
1.为什么不直接使用pycuda.autoinit?import pycuda.autoinit答:自动初始化很多时候不好使,比如多线程等。2.能正常运行,退出时候报错,什么原因?PyCUDA ERROR: The context stack was not empty upon module cleanup.A context was still active when the context stack was beingcleaned up. At this point in our
2021-04-14 23:31:23 9935 6
原创 bert部署
bert部署服务端保存模型"""=========================EXPORT MODEL========================"""def serving_input_receiver_fn(): """An input receiver that expects a serialized tf.Example.""" reciever_ten...
2020-04-29 15:30:25 453
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人