[Ascend][Feat] Add Ascend sampling backend (#12692)
Co-authored-by: ronnie_zheng <zl19940307@163.com>
This commit is contained in:
co-authored by
ronnie_zheng
parent
2aec8b6e1b
commit
10592e9c08
@@ -2706,7 +2706,7 @@ class ServerArgs:
|
||||
parser.add_argument(
|
||||
"--sampling-backend",
|
||||
type=str,
|
||||
choices=["flashinfer", "pytorch"],
|
||||
choices=["flashinfer", "pytorch", "ascend"],
|
||||
default=ServerArgs.sampling_backend,
|
||||
help="Choose the kernels for sampling layers.",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user