File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,6 @@ def _update_remote_prefill_endpoints(self):
159
159
160
160
async def add_remote_prefill_ep (self , ep : str ):
161
161
add_remote_nixl_metadata_url = f"{ ep } /remote_nixl_metadata"
162
- get_remote_nixl_metadata_url = f"{ ep } /nixl_metadata"
163
162
metadata = NixlMetadataRequest (
164
163
metadata = self .nixl_metadata ().metadata ,
165
164
)
@@ -168,16 +167,6 @@ async def add_remote_prefill_ep(self, ep: str):
168
167
if resp .status != 200 :
169
168
raise ValueError (f"add local nixl metadata to remote failed with status: { resp .status } " )
170
169
171
- async with session .get (get_remote_nixl_metadata_url ) as response :
172
- if response .status != 200 :
173
- raise ValueError (f"get remote nixl metadata failed with status: { response .status } " )
174
- response_data = await response .json ()
175
- metadata = NixlMetadataResponse (** response_data )
176
- request = NixlMetadataRequest (
177
- metadata = metadata .metadata
178
- )
179
- await self .remote_nixl_metadata (request )
180
-
181
170
async def add_remote_prefill_eps (self , request : RemotePrefillEpRequest ):
182
171
if not request .endpoints or len (request .endpoints ) == 0 :
183
172
raise ValueError ("Empty URL" )
You can’t perform that action at this time.
0 commit comments