update
This commit is contained in:
parent
caf7fe08e6
commit
82ea93ef3d
BIN
backend-python/requirements.txt
Normal file
BIN
backend-python/requirements.txt
Normal file
Binary file not shown.
BIN
backend-python/requirements_versions.txt
Normal file
BIN
backend-python/requirements_versions.txt
Normal file
Binary file not shown.
@ -131,7 +131,7 @@ export const getStrategy = (modelConfig: ModelConfig | undefined = undefined) =>
|
||||
else params = commonStore.getCurrentModelConfig().modelParameters;
|
||||
let strategy = '';
|
||||
strategy += (params.device === 'CPU' ? 'cpu' : 'cuda') + ' ';
|
||||
strategy += (params.precision === 'fp16' ? 'fp16' : params.precision === 'int8' ? 'fp16i8' : 'fp32');
|
||||
strategy += params.device === 'CPU' ? 'fp32' : (params.precision === 'fp16' ? 'fp16' : params.precision === 'int8' ? 'fp16i8' : 'fp32');
|
||||
if (params.storedLayers < params.maxStoredLayers)
|
||||
strategy += ` *${params.storedLayers}+`;
|
||||
if (params.enableHighPrecisionForLastLayer)
|
||||
|
Loading…
Reference in New Issue
Block a user