Skip to content

Instantly share code, notes, and snippets.

Avatar

Kenichi Maehashi kmaehashi

View GitHub Profile
View README.md
View generated.patch
diff -Naru generated_before/cupy.cuda.MemoryHook.rst generated/cupy.cuda.MemoryHook.rst
--- generated_before/cupy.cuda.MemoryHook.rst 2018-05-18 16:28:30.075413246 +0900
+++ generated/cupy.cuda.MemoryHook.rst 2018-05-18 16:31:06.047833627 +0900
@@ -18,6 +18,10 @@
+ .. automethod:: __enter__
+
+
View cupy_test_noslow.txt
=================================== FAILURES ===================================
___________________ TestEinSumError.test_irregular_ellipsis4 ___________________
cupy/testing/helper.py:490: in test_func
accept_error=accept_error)
cupy/testing/helper.py:51: in _check_cupy_numpy_error
self.fail('Only cupy raises error\n\n' + cupy_tb)
E AssertionError: Only cupy raises error
E
E Traceback (most recent call last):
E File "/home/kenichi/Development/cupy/cupy/testing/helper.py", line 469, in test_func
View cupy_doctest.txt
sphinx-build -b doctest -d build/doctrees source build/doctest
Running Sphinx v1.6.5
Initializing Spelling Checker
loading pickled environment... done
[autosummary] generating autosummary for: compatibility.rst, contribution.rst, index.rst, install.rst, license.rst, overview.rst, reference/binary.rst, reference/creation.rst, reference/cuda.rst, reference/difference.rst, ..., reference/random.rst, reference/routines.rst, reference/sorting.rst, reference/sparse.rst, reference/statistics.rst, reference/testing.rst, reference/ufunc.rst, tutorial/basic.rst, tutorial/index.rst, tutorial/kernel.rst
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 351 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
running tests...
View chainer_test.txt
=================================== FAILURES ===================================
______________ TestUnnamedVariableToString_param_1.test_repr_cpu _______________
self = <chainer.testing.parameterized.TestUnnamedVariableToString_param_1 testMethod=test_repr_cpu>
def test_repr_cpu(self):
> self.assertEqual(repr(self.x), self.repr)
E AssertionError: Parameterized test failed.
E
E Base test method: TestUnnamedVariableToString.test_repr_cpu
View chainer_doctest.txt
sphinx-build -b doctest -d build/doctrees source build/doctest
Running Sphinx v1.6.5
Initializing Spelling Checker
loading pickled environment... done
[autosummary] generating autosummary for: comparison.rst, compatibility.rst, contribution.rst, index.rst, install.rst, license.rst, reference/caffe.rst, reference/check.rst, reference/core.rst, reference/core/configuration.rst, ..., tutorial/ptb.rst, tutorial/recurrentnet.rst, tutorial/train.rst, tutorial/train_loop.rst, tutorial/trainer.rst, tutorial/type_check.rst, tutorial/various_tasks.rst, tutorial/word2vec.rst, tutorial/writenet.rst, upgrade.rst
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 437 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
running tests...
View output.txt
% pip install -e . -vvv --no-cache
Obtaining file:///home/kenichi/Development/cupy
Running setup.py (path:/home/kenichi/Development/cupy/setup.py) egg_info for package from file:///home/kenichi/Development/cupy
Running command python setup.py egg_info
Options: {'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
-------- Configuring Module: cuda --------
cc1plus: warning: command line option -Wstrict-prototypes is valid for C/ObjC but not for C++
cc1plus: warning: command line option -Wstrict-prototypes is valid for C/ObjC but not for C++
cc1plus: warning: command line option -Wstrict-prototypes is valid for C/ObjC but not for C++
@kmaehashi
kmaehashi / jubakit.rst
Last active Aug 28, 2017
jubatus 1.0.5 release note candidate
View jubakit.rst

Release 0.6.0 (2017-08-28)

  • New Features
    • Add --transform option to jubamodel command (#75, #83)
  • Improvements
    • Fix library version for Python 2.6 (#88, #91)
@kmaehashi
kmaehashi / jubatus.rst
Last active Jun 26, 2017
jubatus 1.0.4 release note
View jubatus.rst

Release 1.0.4 - 2017/06/26

  • Improvements
    • anomaly: imporve get_status to return additional metrics (#1194, #1203)
    • Remove workaround code in RPM package builder (#1195, #1202)
  • Bug fixes
    • Fix output of ORB plugin (#1196, #1201)
View mt_gpu.py
# -*- coding: utf-8 -*-
import cupy
import threading
import random
import sys
# enable memory pool
cupy.cuda.memory.set_allocator(cupy.cuda.memory.MemoryPool().malloc)
You can’t perform that action at this time.