Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Lmdeploy
Commits
981a4610
Unverified
Commit
981a4610
authored
Jul 31, 2023
by
Li Zhang
Committed by
GitHub
Jul 31, 2023
Browse files
[Fix] Remove unused code to reduce binary size (#181)
* clean-up * fix lint * fix lint
parent
83697422
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
src/turbomind/models/llama/prefix_cache.h
src/turbomind/models/llama/prefix_cache.h
+0
-9
No files found.
src/turbomind/models/llama/prefix_cache.h
deleted
100644 → 0
View file @
83697422
// Copyright (c) OpenMMLab. All rights reserved.
#include <cuda_fp16.h>
template
<
typename
T
>
void
invokeInsertKeyCache
(
T
*
key_cache
,
const
T
*
src
,
int
L
,
int
H
,
int
Dx
,
int
s
,
int
X
,
int
S
,
cudaStream_t
st
);
template
<
typename
T
>
void
invokeInsertValueCache
(
T
*
value_cache
,
const
T
*
src
,
int
L
,
int
H
,
int
s
,
int
D
,
int
S
,
cudaStream_t
st
);
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment