Giter Club home page Giter Club logo

Comments (5)

neka-nat avatar neka-nat commented on June 15, 2024

Hi,
Does RMM work when used by itself?
https://docs.rapids.ai/api/rmm/stable/basics.html

import rmm

pool = rmm.mr.PoolMemoryResource(
    rmm.mr.ManagedMemoryResource(),
    initial_pool_size=2**30,
    maximum_pool_size=2**32
)
rmm.mr.set_current_device_resource(pool)

from cupoch.

ducktrA avatar ducktrA commented on June 15, 2024

RMM itself does work when using rapids-ai RMM module. To my surprise cupoch referenced rmm module did not compile as it complained about outdated make. Somehow this doesnt feel right.

from cupoch.

neka-nat avatar neka-nat commented on June 15, 2024

I have increased the version of RMM, so please try it with the latest master. (I don't use c++17, so it is not the latest RMM)

from cupoch.

ducktrA avatar ducktrA commented on June 15, 2024

i did check out and built it. still the same issue. btw, the upper rmm test hit a rmm module cupoch obviously did not compile against.

i remove my manually installed rmm (pip uninstall rmm)

Traceback (most recent call last):
File "examples/python/basic/benchmarks.py", line 5, in
cph.initialize_allocator(cph.PoolAllocation, 1000000000)
MemoryError: std::bad_alloc: RMM failure at:/home/adolf/cupoch/third_party/rmm/include/rmm/mr/device/pool_memory_resource.hpp:179: Maximum pool size exceeded

from cupoch.

ducktrA avatar ducktrA commented on June 15, 2024

same on develop branch

from cupoch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.