You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "D:\wenda\wenda\wenda.py", line 50, in load_model
LLM.load_model()
File "D:\wenda\wenda\llms\llm_rwkv.py", line 307, in load_model
from rwkv.model import RWKV # pip install rwkv
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\rwkv\model.py", line 29, in
load(
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\utils\cpp_extension.py", line 1284, in load
return _jit_compile(
^^^^^^^^^^^^^
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\utils\cpp_extension.py", line 1509, in _jit_compile
_write_ninja_file_and_build_library(
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\utils\cpp_extension.py", line 1624, in _write_ninja_file_and_build_library
_run_ninja_build(
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension 'wkv_cuda'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
eycheck.h
D:\wenda\vc\VC\Tools\MSVC\14.35.32215\include\cassert(9): fatal error C1083: 无法打开包括文件: “assert.h”: No such file or directory
[2/3] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output operators.cuda.o.d -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -DTORCH_EXTENSION_NAME=wkv_cuda -DTORCH_API_INCLUDE_EXTENSION_H -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\include -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\include\torch\csrc\api\include -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\include\TH -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Include -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 "-t 4" -std=c++17 --use_fast_math -O3 --extra-device-vectorization -c D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\rwkv\cuda\operators.cu -o operators.cuda.o
FAILED: operators.cuda.o
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc --generate-dependencies-with-compile --dependency-output operators.cuda.o.d -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -DTORCH_EXTENSION_NAME=wkv_cuda -DTORCH_API_INCLUDE_EXTENSION_H -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\include -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\include\torch\csrc\api\include -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\include\TH -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -ID:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Include -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 "-t 4" -std=c++17 --use_fast_math -O3 --extra-device-vectorization -c D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\rwkv\cuda\operators.cu -o operators.cuda.o
operators.cu
operators.cu
D:\wenda\vc\VC\Tools\MSVC\14.35.32215\include\crtdefs.h(10): fatal error C1083: �������ļ�: ��corecrt.h��: No such file or directory
operators.cu
D:\wenda\vc\VC\Tools\MSVC\14.35.32215\include\crtdefs.h(10): fatal error C1083: �������ļ�: ��corecrt.h��: No such file or directory
ninja: build stopped: subcommand failed.
Exception in thread Thread-2 (load_model):
Traceback (most recent call last):
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build
subprocess.run(
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "D:\wenda\wenda\wenda.py", line 50, in load_model
LLM.load_model()
File "D:\wenda\wenda\llms\llm_rwkv.py", line 307, in load_model
from rwkv.model import RWKV # pip install rwkv
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\rwkv\model.py", line 29, in
load(
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\utils\cpp_extension.py", line 1284, in load
return _jit_compile(
^^^^^^^^^^^^^
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\utils\cpp_extension.py", line 1509, in _jit_compile
_write_ninja_file_and_build_library(
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\utils\cpp_extension.py", line 1624, in _write_ninja_file_and_build_library
_run_ninja_build(
File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension 'wkv_cuda'
Beta Was this translation helpful? Give feedback.
All reactions