Unverified Commit fa5d0bf6 authored by Liangsheng Yin's avatar Liangsheng Yin Committed by GitHub
Browse files

Remove wrong imports `from sglang.python` (#10493)

parent 16e93359
......@@ -29,8 +29,6 @@ import time
from http import HTTPStatus
from typing import Any, AsyncIterator, Callable, Dict, List, Optional, Union
import setproctitle
from sglang.srt.tracing.trace import process_tracing_init, trace_set_thread_info
# Fix a bug of Python threading
......
......@@ -30,11 +30,8 @@ import torch
from torch import nn
from transformers import PretrainedConfig
from sglang.python.sglang.srt.distributed.parallel_state import (
get_tensor_model_parallel_rank,
)
from sglang.python.sglang.srt.utils import add_prefix, make_layers
from sglang.srt.distributed import get_pp_group, get_tensor_model_parallel_world_size
from sglang.srt.distributed.parallel_state import get_tensor_model_parallel_rank
from sglang.srt.layers.activation import SiluAndMul
from sglang.srt.layers.layernorm import RMSNorm
from sglang.srt.layers.linear import (
......@@ -57,6 +54,7 @@ from sglang.srt.model_loader.weight_utils import (
default_weight_loader,
kv_cache_scales_loader,
)
from sglang.srt.utils import add_prefix, make_layers
class SolarMLP(nn.Module):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment