Skip to content

Commit

Permalink
remove tmp files
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaochenyang20 committed Nov 28, 2024
1 parent 4b689f2 commit 9f09920
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 958 deletions.
3 changes: 1 addition & 2 deletions python/sglang/srt/model_executor/model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,7 @@ def update_parameter_from_distributed(self, name, dtype, shape, empty_cache=Fals
weights = torch.empty(shape, dtype=target_dtype, device=self.device)

torch.distributed.broadcast(weights, src=0, group=self._model_update_group)
weights_dat = [(name, weights)]
self.model.load_weights(weights_dat)
self.model.load_weights([(name, weights)])
if empty_cache:
torch.cuda.empty_cache()

Expand Down
447 changes: 0 additions & 447 deletions test/srt/stderr.txt

This file was deleted.

25 changes: 0 additions & 25 deletions test/srt/stdout.txt

This file was deleted.

36 changes: 0 additions & 36 deletions test/srt/test.log2

This file was deleted.

101 changes: 0 additions & 101 deletions test/srt/test_custom_process_group.py

This file was deleted.

132 changes: 0 additions & 132 deletions test/srt/test_custom_process_group_wraper.py

This file was deleted.

85 changes: 0 additions & 85 deletions test/srt/test_engine_init_parameter_update_group.py

This file was deleted.

Loading

0 comments on commit 9f09920

Please sign in to comment.