Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release0.8.0 model_service_worker.py line 69 bug #2349

Closed
Z863058 opened this issue May 16, 2023 · 0 comments
Closed

Release0.8.0 model_service_worker.py line 69 bug #2349

Z863058 opened this issue May 16, 2023 · 0 comments

Comments

@Z863058
Copy link

Z863058 commented May 16, 2023

📚 The doc issue

    elif s_type == "tcp":
        self.sock_name = host_addr if host_addr is not None else "127.0.0.1"
        if port_num is None:
            raise ValueError("Wrong arguments passed. No socket port given.")
        self.port = int(port_num) + LOCAL_RANK
    else:
        raise ValueError("Incomplete data provided")

Suggest a potential alternative/fix

port_num要转成int

@Z863058 Z863058 changed the title model_service_worker.py line 69 Release0.8.0 model_service_worker.py line 69 bug May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants