Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling segmented_maxsim.cpp #378

Open
yurkoff-mv opened this issue Nov 14, 2024 · 0 comments
Open

Error compiling segmented_maxsim.cpp #378

yurkoff-mv opened this issue Nov 14, 2024 · 0 comments

Comments

@yurkoff-mv
Copy link

When compiling segmented_maxsim.cpp, error C2131 occurs:

E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(61): error C2131: ��ࠦ���� �� ��।������ ����⠭⮩
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(61): note: ᡮ� �맢�� �⥭��� ��६����� ��� �ப� �� ����⢮�����
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(61): note: �. �ᯮ�짮����� "ndocs"
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(62): error C3863: ⨯ ���ᨢ� "int64_t [ndocs+1]" ���� �������砥��
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(63): error C2672: "std::partial_sum": �� ������� ᮮ⢥������� ��ॣ�㦥���� �㭪��
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\include\numeric(272): note: ����� ���� "_OutIt std::partial_sum(_InIt,_InIt,_OutIt)"
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(63): note: ���� �� ᯥ樠����樨 �㭪樨-蠡���� "_OutIt std::partial_sum(_InIt,_InIt,_OutIt)"
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(63): note: �� ᫥���騬� ��㬥�⠬� 蠡����:
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(63): note: "_InIt=T *"
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(63): note: "_OutIt=int64_t [ndocs+1]"
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\include\numeric(272): note: �㭪�� �����頥� ���ᨢ
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\include\numeric(243): note: ���       "_OutIt std::partial_sum(const _InIt,const _InIt,_OutIt,_BinOp)"
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(63): note: "_OutIt std::partial_sum(const _InIt,const _InIt,_OutIt,_BinOp)": ��������� ��㬥��� 4 - 3 �।��⠢����
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(65): error C2131: ��ࠦ���� �� ��।������ ����⠭⮩
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(65): note: ᡮ� �맢�� �⥭��� ��६����� ��� �ப� �� ����⢮�����
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(65): note: �. �ᯮ�짮����� "nthreads"
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(66): error C2131: ��ࠦ���� �� ��।������ ����⠭⮩
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(66): note: ᡮ� �맢�� �⥭��� ��६����� ��� �ப� �� ����⢮�����
E:\rag\env\Lib\site-packages\colbert\modeling\segmented_maxsim.cpp(66): note: �. �ᯮ�짮����� "nthreads"
ninja: build stopped: subcommand failed.

-Platform OS: Windows 10 Professional
-Compiler: cl 14.38.33130
-No GPU

pip freeze:

Package                                 Version
--------------------------------------- ------------
aiohappyeyeballs                        2.4.3       
aiohttp                                 3.10.10     
aiosignal                               1.3.1       
annotated-types                         0.7.0       
anyio                                   4.6.2.post1 
async-timeout                           4.0.3       
attrs                                   24.2.0      
beautifulsoup4                          4.12.3      
bitarray                                3.0.0       
blinker                                 1.9.0       
catalogue                               2.0.10      
certifi                                 2024.8.30   
charset-normalizer                      3.4.0       
click                                   8.1.7
colbert-ai                              0.2.19
colorama                                0.4.6
dataclasses-json                        0.6.7
datasets                                3.1.0
Deprecated                              1.2.14
dill                                    0.3.8
dirtyjson                               1.0.8
distro                                  1.9.0
exceptiongroup                          1.2.2
faiss-cpu                               1.9.0
fast-pytorch-kmeans                     0.2.0.1
filelock                                3.16.1
filetype                                1.2.0
Flask                                   3.0.3
frozenlist                              1.5.0
fsspec                                  2024.9.0
git-python                              1.0.3
gitdb                                   4.0.11
GitPython                               3.1.43
greenlet                                3.1.1
h11                                     0.14.0
httpcore                                1.0.6
httpx                                   0.27.2
httpx-sse                               0.4.0
huggingface-hub                         0.26.2
idna                                    3.10
itsdangerous                            2.2.0
Jinja2                                  3.1.4
jiter                                   0.7.1
joblib                                  1.4.2
jsonpatch                               1.33
jsonpointer                             3.0.0
langchain                               0.3.7
langchain-community                     0.3.7
langchain-core                          0.3.17
langchain-huggingface                   0.1.2
langchain-openai                        0.2.8
langchain-text-splitters                0.3.2
langsmith                               0.1.142
llama-cloud                             0.1.5
llama-index                             0.11.23
llama-index-agent-openai                0.3.4
llama-index-cli                         0.3.1
llama-index-core                        0.11.23
llama-index-embeddings-openai           0.2.5
llama-index-indices-managed-llama-cloud 0.4.2
llama-index-legacy                      0.9.48.post4
llama-index-llms-openai                 0.2.16
llama-index-multi-modal-llms-openai     0.2.3
llama-index-program-openai              0.2.0
llama-index-question-gen-openai         0.2.0
llama-index-readers-file                0.3.0
llama-index-readers-llama-parse         0.3.0
llama-parse                             0.5.14
llvmlite                                0.43.0
MarkupSafe                              3.0.2
marshmallow                             3.23.1
multidict                               6.1.0
multiprocess                            0.70.16
mypy-extensions                         1.0.0
nest-asyncio                            1.6.0
networkx                                3.4.2
ninja                                   1.11.1.1
nltk                                    3.9.1
numba                                   0.60.0
numpy                                   1.26.4
onnx                                    1.17.0
openai                                  1.54.4
orjson                                  3.10.11
packaging                               24.2
pandas                                  2.2.3
pillow                                  11.0.0
pip                                     24.3.1
propcache                               0.2.0
protobuf                                5.28.3
pyarrow                                 18.0.0
pydantic                                2.9.2
pydantic_core                           2.23.4
pydantic-settings                       2.6.1
pynndescent                             0.5.13
pynvml                                  11.5.3
pypdf                                   5.1.0
python-dateutil                         2.9.0.post0
python-dotenv                           1.0.1
pytz                                    2024.2
PyYAML                                  6.0.2
RAGatouille                             0.0.8.post4
regex                                   2024.11.6
requests                                2.32.3
requests-toolbelt                       1.0.0
safetensors                             0.4.5
scikit-learn                            1.5.2
scipy                                   1.14.1
sentence-transformers                   2.7.0
setuptools                              72.1.0
six                                     1.16.0
smmap                                   5.0.1
sniffio                                 1.3.1
soupsieve                               2.6
SQLAlchemy                              2.0.35
srsly                                   2.4.8
striprtf                                0.0.26
tenacity                                8.5.0
threadpoolctl                           3.5.0
tiktoken                                0.8.0
tokenizers                              0.20.3
torch                                   1.13.1+cu117
tqdm                                    4.67.0
transformers                            4.46.2
typing_extensions                       4.12.2
typing-inspect                          0.9.0
tzdata                                  2024.2
ujson                                   5.10.0
umap-learn                              0.5.7
urllib3                                 2.2.3
voyager                                 2.0.9
Werkzeug                                3.1.3
wheel                                   0.45.0
wrapt                                   1.16.0
xxhash                                  3.5.0
yarl                                    1.17.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant