Stateful Distributed Computing in Python with Ray Actors

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024

ความคิดเห็น • 12

  • @cansucandan4124
    @cansucandan4124 3 ปีที่แล้ว +1

    Thanks! I can't wait for you to share more videos about Ray for more practice.

  • @TheDevildragon95
    @TheDevildragon95 3 ปีที่แล้ว +1

    Good introduction to the topic, now I will be able to migrate my application to a distributed system.

  • @jamesmckeown2746
    @jamesmckeown2746 3 ปีที่แล้ว +3

    Thanks for the clear explanations! I'd be interested to see an example of recovery in a multi node cluster where a node fails and its actors are recovered on another node.

  • @dantedt3931
    @dantedt3931 2 ปีที่แล้ว +1

    This is good. Would like to see more videos on Ray.

  • @timharris72
    @timharris72 2 ปีที่แล้ว +1

    This was a really good explanation. Thanks for posting this!

  • @feifeizhang7757
    @feifeizhang7757 2 ปีที่แล้ว

    Very informative video. Short and clear!

  • @ramirotapia2217
    @ramirotapia2217 2 ปีที่แล้ว +1

    Amazing
    i was searching for this explanation.
    is there a way to make only a method inside a class remote? maybe thinking to override the remote method accordingly

    • @JonathanDinu
      @JonathanDinu  2 ปีที่แล้ว +1

      hmmmm, I actually haven't tried that ever. You can try using a regular (un-decorated) Python class but then use the @ray.remote decorator just on a single method of the class. The thing to keep in mind though is what variables/state from the main class the remote method might access.

  • @skysavani7095
    @skysavani7095 2 ปีที่แล้ว +1

    Thanks for the clear explanations! can you please make a video for how to debug code with ray

  • @mojtabatorabi3724
    @mojtabatorabi3724 2 ปีที่แล้ว

    thanks for the content.
    I have a question
    how can I set a timeout for executing a task for a given Actor ?

  • @jnevercast
    @jnevercast 2 ปีที่แล้ว

    are there any guarantees when you call ray.get() to get age, that all of the grow_older invocations have resolved? I presume yes for each actor (keeping in-line with each actor is syncronous)

    • @JonathanDinu
      @JonathanDinu  2 ปีที่แล้ว

      yeah that is the case for a specific actor but not guaranteed between actors necessarily. To synchronize between actors you usually pass object references between them using remote() function calls.