Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
81549361 committed Dec 8, 2024
1 parent 95c3494 commit b752b49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/sglang/launch_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,9 @@ def register_service(client,service_name,service_ip,service_port,cluster_name,he
client = nacos.NacosClient(NACOS_SERVER, namespace=NAMESPACE, username=config['nacos']['username'], password=config['nacos']['password'])
SERVICE_NAME = config['nacos']['service_name']
HEALTH_CHECK_INTERVAL = int(config['nacos']['health_check_interval'])
HTTP_PROXY = config['server']['http_proxy']
HTTP_PROXY = config.getboolean('server', 'http_proxy')
DOMAIN = config['server']['domain']
PROTOCOL = config['server']['protocol']

# Parse AutoDLServiceURL
autodl_url = os.environ.get('AutoDLServiceURL')
AutoDLContainerUUID = os.environ.get('AutoDLContainerUUID')
Expand Down

0 comments on commit b752b49

Please sign in to comment.