[Core] Make V1 work and enable V1 engine test (#389)

1. Make sure the version is string before parse in collect_env
2. Add basic V1 engine test

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan authored and GitHub committed 2025-03-28 19:34:23 +08:00
1 parent 57a84bb7be
commit 31f29b9f30
8 files changed
+66 -95

No files matched your search

+1
View File
@@ -100,3 +100,4 @@ def test_fused_experts(
e_map)
# TODO: The native params are: atol=2e-2, rtol=0, maybe related to the nan problem
torch.testing.assert_close(output, torch_output, atol=4e-2, rtol=1)
torch.npu.empty_cache()