提交 646829b8 编写于 作者: M Megvii Engine Team

ci(pytest): use common method install pip package

GitOrigin-RevId: 87162b8b56c177ee38ba2c23a028f32b0888db4d
上级 9edce7e2
...@@ -87,6 +87,9 @@ setup_kwargs = dict( ...@@ -87,6 +87,9 @@ setup_kwargs = dict(
'data': [ 'data': [
'scipy', 'scipy',
], ],
'ci': [
'pytest==5.3.0',
],
}, },
cmdclass={'build_ext': build_ext}, cmdclass={'build_ext': build_ext},
) )
......
...@@ -35,7 +35,6 @@ void throw_fork_cuda_exc() { ...@@ -35,7 +35,6 @@ void throw_fork_cuda_exc() {
// call chain: // call chain:
// python -> fork() -> pthread_atfork -> CudaCheckOnFork -> // python -> fork() -> pthread_atfork -> CudaCheckOnFork ->
// ForkAfterCudaError::throw_ // ForkAfterCudaError::throw_
GILManager a;
mgb_log_warn("try to raise python exception for fork after cuda"); mgb_log_warn("try to raise python exception for fork after cuda");
PyErr_SetString(PyExc_SystemError, "fork after cuda has been initialized"); PyErr_SetString(PyExc_SystemError, "fork after cuda has been initialized");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册