Major ui speed improvements. Moved file server out of next js app and made it multithreadded. Significantly faster downloads for files, images, and videos.
This commit is contained in:
@@ -6,7 +6,11 @@ export const defaultTrainFolder = path.join(TOOLKIT_ROOT, 'output');
|
||||
export const defaultDatasetsFolder = path.join(TOOLKIT_ROOT, 'datasets');
|
||||
export const defaultDataRoot = path.join(TOOLKIT_ROOT, 'data');
|
||||
|
||||
console.log('TOOLKIT_ROOT:', TOOLKIT_ROOT);
|
||||
// Forked file-server workers set AI_TOOLKIT_QUIET_PATHS so this line prints
|
||||
// once per launched process group, not once per worker.
|
||||
if (!process.env.AI_TOOLKIT_QUIET_PATHS) {
|
||||
console.log('TOOLKIT_ROOT:', TOOLKIT_ROOT);
|
||||
}
|
||||
|
||||
export const getTrainingFolder = async () => {
|
||||
const key = 'TRAINING_FOLDER';
|
||||
|
||||
Reference in New Issue
Block a user