-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #584 from janhq/chore/fix-binary-path
chore: fix local path
- Loading branch information
Showing
10 changed files
with
262 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
cortex-js/src/infrastructure/commanders/models/model-get.command.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
cortex-js/src/infrastructure/commanders/models/model-list.command.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
cortex-js/src/infrastructure/commanders/types/init-options.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export interface InitOptions { | ||
runMode?: 'CPU' | 'GPU'; | ||
gpuType?: 'Nvidia' | 'Others (Vulkan)'; | ||
instructions?: 'AVX' | 'AVX2' | 'AVX512' | undefined; | ||
cudaVersion?: '11' | '12'; | ||
installCuda?: 'Yes' | string | ||
} | ||
runMode?: 'CPU' | 'GPU'; | ||
gpuType?: 'Nvidia' | 'Others (Vulkan)'; | ||
instructions?: 'AVX' | 'AVX2' | 'AVX512' | undefined; | ||
cudaVersion?: '11' | '12'; | ||
installCuda?: 'Yes' | string; | ||
} |
22 changes: 11 additions & 11 deletions
22
cortex-js/src/infrastructure/commanders/usecases/cli.usecases.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import { Module } from "@nestjs/common"; | ||
import { InitCliUsecases } from "./init.cli.usecases"; | ||
import { HttpModule } from "@nestjs/axios"; | ||
import { ModelsCliUsecases } from "./models.cli.usecases"; | ||
import { ModelsModule } from "@/usecases/models/models.module"; | ||
import { Module } from '@nestjs/common'; | ||
import { InitCliUsecases } from './init.cli.usecases'; | ||
import { HttpModule } from '@nestjs/axios'; | ||
import { ModelsCliUsecases } from './models.cli.usecases'; | ||
import { ModelsModule } from '@/usecases/models/models.module'; | ||
|
||
@Module({ | ||
imports: [HttpModule, ModelsModule], | ||
controllers: [], | ||
providers: [InitCliUsecases, ModelsCliUsecases], | ||
exports: [InitCliUsecases, ModelsCliUsecases], | ||
}) | ||
export class CliUsecasesModule {} | ||
imports: [HttpModule, ModelsModule], | ||
controllers: [], | ||
providers: [InitCliUsecases, ModelsCliUsecases], | ||
exports: [InitCliUsecases, ModelsCliUsecases], | ||
}) | ||
export class CliUsecasesModule {} |
Oops, something went wrong.