pypi cupy 6.0.0a1
v6.0.0a1

latest releases: 14.2.0, 14.1.1, 14.1.0...
8 years ago

This is the release note of v6.0.0a1. See here for the complete list of solved issues and merged PRs.

Highlights

  • Improved support of random sampling functions (cupy.random.*); see the list below for details.

New Features

  • Support astype in fused functions (#1586)
  • Add float16 and float64 support for scatter_add (#1707, #1684, thanks @uchida!)
  • Add random sampling functions
    • cupy.random.hypergeometric (#1625)
    • cupy.random.logistic (#1626)
    • cupy.random.logseries (#1628)
    • cupy.random.power (#1629)
    • cupy.random.rayleigh (#1630)
    • cupy.random.triangular (#1631)
    • cupy.random.wald (#1632)
    • cupy.random.weibull (#1633)
    • cupy.random.negative_binomial (#1635)
    • cupy.random.noncentral_chisquare (#1637)
    • cupy.random.noncentral_f (#1637)

Enhancements

  • Update ndimage to support SciPy 1.0+ (#1606)
  • Improve reduction code for performance (#1668)
  • Device comparison with non-Device class (#1672)
  • Fix ufunc performance degradation (#1714)
  • Code enhancements
    • Minor refactoring in random kernels (#1641)
    • Reorder definitions of distribution kernels (#1681)
    • Update einsum optimization routine (#1718)
    • Remove unnecessary intermediate data in FP16 atomicAdd (#1706)

Bug Fixes

  • Fix float16 nextafter (#1665, thanks @toru-fukaya!)
  • Fix NVRTC error in cupy.random.hypergeometric (#1688)
  • Fix cupy.random.rand to not generate 1 (#1701)
  • Fix comparison with NumPy scalar (#1727)
  • Fix ndarray.__iter__ to raise TypeError correctly for 0-d arrays (#1697)
  • Add complex support in solve (#1524, #1674 thanks @boeddeker!)

Documentation

  • Fix typo in docstring for cupy.linalg.slogdet (#1667, thanks @fiarabbit!)
  • Add licenses of distribution kernels from numpy (#1680)
  • Fix math docs of cupy.random (#1685)
  • Explain that -ftz=true affects nextafter (#1717)
  • Drop support for CUDA 7.0 / 7.5 (#1722)
  • Add support for NumPy 1.15 in docs (#1728)
  • Add Python 3.7 support to installation docs (#1739)

Installation

  • Reorganize setup requirements (#1478)
  • Update base docker image (#1723)

Tests

  • Tentatively skip failing test_nextafter_combination (#1687)
  • Compare distributions between cupy and numpy by two-sample K-S test (#1300)
  • Improve floating point tests (#1673)
  • Mark slow cupy.random tests (#1677)
  • Add more K-S tests (#1678)
  • Minor fixes to cupy.random tests (#1679)
  • Fix TestRandintDtype was slow (#1682)
  • Ignore scipy<1.0 is warned by using deprecated feature of numpy>=1.15 (#1702)
  • Workaround for test failure when Python 3.4 + SciPy 0.x + NumPy 0.15 (#1732)
  • Fix test for Python 3.7 (#1743)

Others

  • Add header file generated by Cython to gitignore (#1700)

Don't miss a new cupy release

NewReleases is sending notifications on new releases.