[FOLLOWUP] Use base test to avoid patch everwhere (#1634)
### What this PR does / why we need it? Use base test to avoid patch everwhere. Followup here: https://github.com/vllm-project/vllm-ascend/pull/1566 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? ut ci passed - vLLM version: v0.9.2 - vLLM main: https://github.com/vllm-project/vllm/commit/8d0a01a5f2b53794e4bc6b734d7b63cb8a9b7d7d Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
This commit is contained in:
1 parent
33e1ea4d1a
commit
5f0b42e414
8 files changed
+18
-24
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
import torch
|
||||
|
||||
from tests.ut.base import TestBase
|
||||
from vllm_ascend.quantization.func_wrapper import (wrapper_rmsnorm_forward_oot,
|
||||
wrapper_rmsnorm_init)
|
||||
|
||||
@@ -20,7 +20,7 @@ class MockRMSNorm:
|
||||
self.ignore_anti = extra_args.get('ignore_anti', True)
|
||||
|
||||
|
||||
class TestFuncWrapper(unittest.TestCase):
|
||||
class TestFuncWrapper(TestBase):
|
||||
|
||||
def test_wrapper_rmsnorm_init(self):
|
||||
|
||||
|
||||
Reference in new issue
Block a user