[Build] Add build info (#1386)
Add static build_info py file to show soc and sleep mode info. It helps to make the code clean and the error info will be more friendly for users This PR also added the unit test for vllm_ascend/utils.py This PR also added the base test class for all ut in tests/ut/base.py Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
@@ -138,7 +138,6 @@ class CaMemAllocator:
|
||||
We cannot call the constructor directly.
|
||||
Call this method to get the instance.
|
||||
"""
|
||||
assert camem_available, "camem allocator is not available"
|
||||
if CaMemAllocator.instance is None:
|
||||
CaMemAllocator.instance = CaMemAllocator()
|
||||
return CaMemAllocator.instance
|
||||
|
||||
Reference in New Issue
Block a user