File tree Expand file tree Collapse file tree 4 files changed +2
-35
lines changed
Expand file tree Collapse file tree 4 files changed +2
-35
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- """
3- Alipay.com Inc.
4- Copyright (c) 2004-2023 All Rights Reserved.
5- ------------------------------------------------------
6- File Name : __init__.py.py
7- Author : fuhui.phe
8- Create Time : 2024/5/22 11:03
9- Description : description what the main function of this file
10- Change Activity:
11- version0 : 2024/5/22 11:03 by fuhui.phe init
12- """
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- """
3- Alipay.com Inc.
4- Copyright (c) 2004-2023 All Rights Reserved.
5- ------------------------------------------------------
6- File Name : __init__.py.py
7- Author : fuhui.phe
8- Create Time : 2024/5/22 10:28
9- Description : description what the main function of this file
10- Change Activity:
11- version0 : 2024/5/22 10:28 by fuhui.phe init
12- """
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- """
3- Alipay.com Inc.
4- Copyright (c) 2004-2023 All Rights Reserved.
5- ------------------------------------------------------
6- File Name : __init__.py.py
7- Author : fuhui.phe
8- Create Time : 2024/5/22 10:29
9- Description : description what the main function of this file
10- Change Activity:
11- version0 : 2024/5/22 10:29 by fuhui.phe init
12- """
Original file line number Diff line number Diff line change 22
33
44def get_index_name (model ):
5- return 'modelcache ' + '_' + model
5+ return 'multicache ' + '_' + model
66
77
88def get_index_prefix (model ):
@@ -18,7 +18,7 @@ def get_mm_index_name(model, mm_type):
1818 mm_type = 'image'
1919 elif mm_type == 'TEXT' :
2020 mm_type = 'text'
21- return 'llms_cache ' + '_' + model + '_' + mm_type
21+ return 'multi_cache ' + '_' + model + '_' + mm_type
2222
2323
2424def get_mm_index_prefix (model , mm_type ):
You can’t perform that action at this time.
0 commit comments