Your current environment
The output of python collect_env.py
🐛 Describe the bug
from dataclasses import dataclass
import uuid
@dataclass
class Foo:
id: str = str(uuid.uuid4())
if __name__ == "__main__":
for _ in range(2):
foo = Foo()
print(foo.id)
for _ in range(2):
print(str(uuid.uuid4()))
or b5880c9
We decorate KVTransferConfig with dataclass and provide engine_id: str(uuid.uuid4()), this means if we create the config multiple times, the engine_id is actually identical. See above reproduction script.
This could be pitfall if people generate the config in a central place and launch multiple servers, like ray-project/ray#53092
Before submitting a new issue...
Your current environment
The output of
python collect_env.py🐛 Describe the bug
or b5880c9
We decorate
KVTransferConfigwithdataclassand provideengine_id: str(uuid.uuid4()), this means if we create the config multiple times, theengine_idis actually identical. See above reproduction script.This could be pitfall if people generate the config in a central place and launch multiple servers, like ray-project/ray#53092
Before submitting a new issue...