Skip to content

Calling a remote function with a keyword argument fails #998

Closed
@salsasepp

Description

Not sure if this is a bug or a missing feature:

import ray

@ray.remote
def f(a):
    return a+1
    
ray.init()

f.remote(1)
f.remote(a=1)

The last line produces this error message when using ray 0.2.0:

Exception: The name 'a' is not a valid keyword argument for the function 'f'

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions