feat: add speculative decoding

This commit is contained in:
jialin
2025-11-03 10:14:30 +08:00
parent 608b2e31c7
commit 3613fb3f69
15 changed files with 356 additions and 165 deletions
+4 -9
View File
@@ -1,10 +1,10 @@
.catalog-item {
height: 180px;
height: 150px;
overflow: hidden;
display: flex;
padding: 16px 20px;
flex-direction: column;
justify-content: flex-start;
justify-content: space-between;
align-items: flex-start;
border: 1px solid var(--ant-color-border);
border-radius: var(--border-radius-base);
@@ -12,15 +12,12 @@
width: 100%;
.img {
width: 32px;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
img {
height: 32px;
width: 32px;
object-fit: contain;
}
}
@@ -29,7 +26,6 @@
display: flex;
flex-direction: column;
justify-content: flex-start;
flex: 1;
width: 100%;
}
@@ -47,8 +43,7 @@
display: flex;
align-items: center;
justify-content: flex-start;
gap: 12px;
margin-bottom: 12px;
gap: 16px;
.name {
flex: 1;
@@ -67,7 +62,7 @@
width: 100%;
display: flex;
flex-direction: column;
gap: 12px;
gap: 16px;
justify-content: flex-start;
align-items: flex-start;
}