Skip to content

Commit

Permalink
correct sdist MANIFEST, unittest for parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
ummae committed Sep 3, 2019
1 parent 294cf26 commit e1d8d60
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion MANIFEST.in
Expand Up @@ -2,9 +2,13 @@ include cuda_setup.py
include CMakeLists.txt
include requirements.txt
include tests/res/*.json
recursive-exclude buffalo/ *.cpp
recursive-exclude buffalo/ *.cpp
recursive-include buffalo/ *.pyx
recursive-include buffalo/ *.hpp
recursive-include include/ *.hpp
recursive-include include/ *.cuh
recursive-include lib/ *.cc
recursive-include lib/ *.cu

recursive-include 3rd/n2/ *
recursive-include 3rd/json11/ *
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -31,7 +31,7 @@
master_doc = 'index'

# The full version, including alpha/beta/rc tags
release = '1.0.5'
release = '1.0.6'


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/intro.rst
Expand Up @@ -20,7 +20,7 @@ Plus, Buffalo provides a variety of convenient features for research and product
Installation
------------

Type `pip install buffalo`.
Type `sudo pip install buffalo`.


Requirements
Expand All @@ -39,7 +39,7 @@ From source code
$> cd buffalo
$> git submodule update --init
$> pip install -r requirements.txt
$> python setup.py install
$> sudo python setup.py install # need root permission
Basic Usage
Expand Down
3 changes: 2 additions & 1 deletion tests/parallel/test_algo.py
Expand Up @@ -49,6 +49,7 @@ def get_ml100k_mm_opt(self):
data_opt.input.main = self.ml_100k + 'main'
data_opt.input.uid = self.ml_100k + 'uid'
data_opt.input.iid = self.ml_100k + 'iid'
data_opt.data.use_cache = True
data_opt.data.path = './ml100k.h5py'
return data_opt

Expand Down Expand Up @@ -144,7 +145,7 @@ def test04_text8_most_similar(self):

self.assertTrue(naive_elapsed > par_elapsed * 3.0)

def test05_topk(self):
def test05_topk_MT(self):
set_log_level(2)
data_opt = self.get_ml100k_mm_opt()
opt = ALSOption().get_default_option()
Expand Down

0 comments on commit e1d8d60

Please sign in to comment.