[XPU] Fix lora bugs & enable UTs under tests/lora (#38206)
Signed-off-by: chaojun-zhang <chaojun.zhang@intel.com>
This commit is contained in:
@@ -224,6 +224,10 @@ def test_tp2_serialize_and_deserialize_lora(
|
||||
max_model_len=1024,
|
||||
tensor_parallel_size=2,
|
||||
max_loras=2,
|
||||
# Leave headroom for LoRA adapter loading and Triton JIT
|
||||
# compilation, which can allocate GPU memory concurrently
|
||||
# during the first inference step.
|
||||
gpu_memory_utilization=0.85,
|
||||
)
|
||||
|
||||
tc_as_dict = tensorizer_config.to_serializable()
|
||||
|
||||
Reference in New Issue
Block a user