$ python3 -m jittor.test.test_example
Downloading https://github.com/intel/mkl-dnn/releases/download/v1.0.2/mkldnn_lnx_1.0.2_cpu_gomp.tgz to /home/greatofdream/.cache/jittor/mkl/mkldnn_lnx_1.0.2_cpu_gomp.tg
z
[i 1206 07:27:52.364957 76 compile_extern.py:26] Downloading mkl...
File "/opt/gentoo/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/gentoo/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
__import__(pkg_name)
File "/opt/gentoo/usr/lib/python3.8/site-packages/jittor/__init__.py", line 19, in <module>
from . import compile_extern
File "/opt/gentoo/usr/lib/python3.8/site-packages/jittor/compile_extern.py", line 403, in <module>
setup_mkl()
File "/opt/gentoo/usr/lib/python3.8/site-packages/jittor/compile_extern.py", line 53, in setup_mkl
install_mkl(mkl_path)
File "/opt/gentoo/usr/lib/python3.8/site-packages/jittor/compile_extern.py", line 27, in install_mkl
download_url_to_local(url, filename, root_folder, "47187284ede27ad3bd64b5f0e7d5e730")
File "/opt/gentoo/usr/lib/python3.8/site-packages/jittor/lock.py", line 32, in inner
ret = func(*args, **kw)
File "/opt/gentoo/usr/lib/python3.8/site-packages/jittor/utils/misc.py", line 50, in download_url_to_local
raise e
File "/opt/gentoo/usr/lib/python3.8/site-packages/jittor/utils/misc.py", line 45, in download_url_to_local
urllib.request.urlretrieve(
File "/opt/gentoo/usr/lib/python3.8/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/opt/gentoo/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/opt/gentoo/usr/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/opt/gentoo/usr/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/opt/gentoo/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/opt/gentoo/usr/lib/python3.8/urllib/request.py", line 1397, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/opt/gentoo/usr/lib/python3.8/urllib/request.py", line 1358, in do_open
r = h.getresponse()
File "/opt/gentoo/usr/lib/python3.8/http/client.py", line 1348, in getresponse
response.begin()
File "/opt/gentoo/usr/lib/python3.8/http/client.py", line 316, in begin
version, status, reason = self._read_status()
File "/opt/gentoo/usr/lib/python3.8/http/client.py", line 285, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
github响应过慢,所以一直失败,我有以下几个问题
- 请问mkl对于jittor是必须的吗?
- 以及我可以直接从apt中安装libmkl-dev绕过它吗?或者以其它方式