We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f2a39 commit dc2ab76Copy full SHA for dc2ab76
paddlenlp/peft/lora/lora_model.py
@@ -63,6 +63,9 @@ def get_lora_layers():
63
)
64
65
from .lora_layers import LoRAConv2D
66
+ else:
67
+ raise ImportError("
68
+ PaddlePaddle is not compiled with XPU support, using PaddleNLP's native implementations.")
69
except ImportError as e:
70
logger.info("Failed to import LoRA Linear from paddle_xpu, using PaddleNLP's native implementations.")
71
logger.info(f"{e}")
0 commit comments