js1010 / cusim Goto Github PK
View Code? Open in Web Editor NEWSuperfast CUDA implementation of Word2Vec and Latent Dirichlet Allocation (LDA)
Home Page: https://cusim.readthedocs.io/en/latest/
License: Apache License 2.0
Superfast CUDA implementation of Word2Vec and Latent Dirichlet Allocation (LDA)
Home Page: https://cusim.readthedocs.io/en/latest/
License: Apache License 2.0
when trying to install via pip install cusim-0.0.2.tar.gz
I got this error as following:
no matching distribution found for setuptools>=1.3.2
while i have actually setuptools==41.4.0
Can you help?
I can't run it on Windows.
Does it only run on linux system?
Can we also get doc2vec implementation?
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting cusim
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/50/0d/3f7cde3e169d0949342af84ed4d0ab02d094191d7b927add4ce592145c32/cusim-0.0.2.tar.gz (364 kB)
ERROR: The tar file (C:\Users\admin\AppData\Local\Temp\pip-unpack-ih0m5zfp\cusim-0.0.2.tar.gz) has a file (C:\Users\admin\AppData\Local\Temp\pip-install-ullfmob7\cusim\cusim/aux.py) trying to install outside target directory (C:\Users\admin\AppData\Local\Temp\pip-install-ullfmob7\cusim)
python setup.py install gives me this error
Traceback (most recent call last):
File "setup.py", line 23, in
from cuda_setup import CUDA, BUILDEXT
File "/home/d/cusim/cuda_setup.py", line 260, in
assert CUDA is not None
AssertionError. I do have
(cuda_envi) bash-4.2$ whereis cuda
cuda: /usr/local/cuda
bash-4.2$ echo $CUDA_HOME
/usr/local/cuda/
In https://github.com/js1010/cusim/blob/main/cpp/src/utils/ioutils.cc the "not" logical operator should be replaced by "!"
cpp/src/utils\ioutils.cc(25): error C2065: 'not': undeclared identifier
cpp/src/utils\ioutils.cc(25): error C2146: syntax error: missing ')' before identifier 'err_cmt'
cpp/src/utils\ioutils.cc(25): error C2059: syntax error: ')'
cpp/src/utils\ioutils.cc(25): error C2143: syntax error: missing ';' before 'return'
cpp/src/utils\ioutils.cc(39): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
cpp/src/utils\ioutils.cc(72): error C2065: 'not': undeclared identifier
cpp/src/utils\ioutils.cc(72): error C2146: syntax error: missing ')' before identifier 'read_lines'
cpp/src/utils\ioutils.cc(72): error C2059: syntax error: ')'
cpp/src/utils\ioutils.cc(72): error C2143: syntax error: missing ';' before 'return'
cpp/src/utils\ioutils.cc(95): error C2065: 'not': undeclared identifier
cpp/src/utils\ioutils.cc(95): error C2146: syntax error: missing ')' before identifier 'word_idmap_'
cpp/src/utils\ioutils.cc(95): error C2059: syntax error: ')'
cpp/src/utils\ioutils.cc(95): error C2143: syntax error: missing ';' before 'continue'
cpp/src/utils\ioutils.cc(102): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data
cpp/src/utils\ioutils.cc(109): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
cpp/src/utils\ioutils.cc(154): error C2065: 'not': undeclared identifier
cpp/src/utils\ioutils.cc(154): error C2146: syntax error: missing ')' before identifier 'remain_lines_'
cpp/src/utils\ioutils.cc(154): error C2059: syntax error: ')'
cpp/src/utils\ioutils.cc(154): error C2146: syntax error: missing ';' before identifier 'fin_'
cpp/src/utils\ioutils.cc(163): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
cpp/src/utils\ioutils.cc(173): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
cpp/src/utils\ioutils.cc(202): error C2065: 'not': undeclared identifier
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.