-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add Llama support to Inference Plugin #130092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 17 commits
85478cf
727fd8e
cc14b18
ceef95a
55d9014
a83b0b7
852aa19
d6b53c3
6ce4b09
8e7ca13
604d441
74fd6e8
ac161fa
a13020c
4eade05
39c5787
6a135c5
c6fc56f
e2dce7c
41591ae
4d2a5dd
1573d53
da55903
8cc8958
9573a48
36ff4cd
c193ecf
c3baecf
a7e342b
15c14d7
75cbf85
e06653b
fe6173e
ad009c6
18ee182
c2621e7
eb60dfa
76ddf99
9100f69
5fb9dad
47c9cc6
34e21de
1c1ba1d
c267269
098849f
06c7bd1
33da7a9
28335ef
d43d1e9
528a9d9
c879b96
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 130092 | ||
summary: "Added Llama provider support to the Inference Plugin" | ||
area: Machine Learning | ||
type: enhancement | ||
issues: [] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,9 +116,16 @@ public String getWriteableName() { | |
|
||
@Override | ||
public TransportVersion getMinimalSupportedVersion() { | ||
assert false : "should never be called when supportsVersion is used"; | ||
|
||
return TransportVersions.ML_INFERENCE_LLAMA_ADDED; | ||
} | ||
|
||
@Override | ||
public boolean supportsVersion(TransportVersion version) { | ||
|
||
return version.onOrAfter(TransportVersions.ML_INFERENCE_LLAMA_ADDED) | ||
|| version.isPatchFrom(TransportVersions.ML_INFERENCE_LLAMA_ADDED_8_19); | ||
} | ||
|
||
@Override | ||
public String modelId() { | ||
return this.modelId; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,9 +154,16 @@ public String getWriteableName() { | |
|
||
@Override | ||
public TransportVersion getMinimalSupportedVersion() { | ||
assert false : "should never be called when supportsVersion is used"; | ||
|
||
return TransportVersions.ML_INFERENCE_LLAMA_ADDED; | ||
} | ||
|
||
@Override | ||
|
||
public boolean supportsVersion(TransportVersion version) { | ||
return version.onOrAfter(TransportVersions.ML_INFERENCE_LLAMA_ADDED) | ||
|| version.isPatchFrom(TransportVersions.ML_INFERENCE_LLAMA_ADDED_8_19); | ||
} | ||
|
||
@Override | ||
public String modelId() { | ||
return this.modelId; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I forgot to mention this in the previous review, we won't be backporting this to 8.x so we can remove this transport version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.