Git Product home page Git Product logo

Comments (8)

slabasan avatar slabasan commented on September 21, 2024 1

Looks like we also have an issue reporting this #372. Thank you @Jokeren for reporting this, we'll look into this issue and keep you posted.

from hatchet.

bhatele avatar bhatele commented on September 21, 2024

cc: @cscully-allison

@Jokeren I am curious about the new database. Is the raw format json or are you converting the raw format to a json that hatchet's from_literal function can read?

from hatchet.

Jokeren avatar Jokeren commented on September 21, 2024

We are writing a calling context tree in memory directly to a json file. It could be read directly by hatchet's from_literal function.

from hatchet.

Jokeren avatar Jokeren commented on September 21, 2024

@cscully-allison Hi, just wonder if this problem has been resolved?

from hatchet.

slabasan avatar slabasan commented on September 21, 2024

@Jokeren Any idea where in the filter function this is hanging when num_procs>1? How long did the filter function take to process this file when num_procs=1?

from hatchet.

Jokeren avatar Jokeren commented on September 21, 2024

Any idea where in the filter function this is hanging when num_procs>1?

Haven't looked into that yet. I'll try and attach a call stack at where the process is hanging.

How long did the filter function take to process this file when num_procs=1?

A few minutes.

from hatchet.

slabasan avatar slabasan commented on September 21, 2024

Thanks @Jokeren! At my end, I'll also use hatchet's internal profiling tool that @cscully-allison added to debug where this is hanging.

from hatchet.

Jokeren avatar Jokeren commented on September 21, 2024

Hi @slabasan , this seems to the be call stack where hatchet is hanging.

File "test.py", line 4, in
g_range_filtered = g_range.filter(lambda x: x['GINS (I)'] > 0.0)
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/hatchet/graphframe.py", line 379, in filter
returned_frames.append(queue.get())
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/multiprocess/queues.py", line 100, in get
res = self._recv_bytes()
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/multiprocess/connection.py", line 219, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/multiprocess/connection.py", line 417, in _recv_bytes
buf = self._recv(4)
File "/home/kz21/GVProf/gvprof/spack/opt/spack/linux-rhel8-zen/gcc-8.3.1/miniconda3-4.9.2-mj647a4iulmnlilwwhwbdjkqqsm4ujyc/lib/python3.8/site-packages/multiprocess/connection.py", line 382, in _recv
chunk = read(handle, remaining)

from hatchet.

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.