测试集发现了一个 flaot 到 int 转换的问题
python test/test_tensor_creation_ops.py TestTensorCreationCPU.test_float_to_int_conversion_nonfinite_cpu_int16 python import torch import math torch.tensor([math.inf, -math.inf, math.nan]).to(torch.int16) 结果是 tensor([-1, 0, -1], dtype=torch.int16) 在 aten/src/ATen/native/cpu/CopyKernel.cpp 中 的 copy_kernel 函数 iter.has_contiguous_first_dim() 条件为真。
python test/inductor/test_aot_inductor_arrayref.py AOTInductorTestABICompatibleCpuWithStackAllocation.test_misc_1_max_autotune_True_cpu_with_stack_allocation
python test/inductor/test_cpu_select_algorithm.py TestSelectAlgorithmCPU.test_aoti_bmm_unique_identifiers_cpu_float32
python test/inductor/test_cpu_select_algorithm.py TestSelectAlgorithmCPU.test_int8_woq_mm_batch_size_17_mid_dim_1_in_features_144_out_features_1024_cpu_bfloat16
>>> L1_cache_size = torch.cpu.get_capabilities().get("l1d_cache_size", 0) >>> print(L1_cache_size) 0 >>> print(torch.cpu.get_capabilities()) {'l1d_cache_size': 0, 'num_logical_cores': 64, 'num_physical_cores': 64, 'l2_cache_size': 0, 'num_sockets': 1, 'cpu_name': '', 'architecture': 'riscv64'} 测试在读 cpuinfo 的时候读到L1 cache size是0,还有救
python test/inductor/test_binary_folding.py FreezingCpuTests.test_conv_binary_folding_cpu 看起来是精度问题,可能也得救
python test/inductor/test_compile_subprocess.py CpuTests.test_remove_noop_slice1_cpu图生成失败问题,log里建议重新跑
...