Add cloud providers to GPU catalog; relink hosted runs to Ollama Cloud
This commit is contained in:
parent
8ab06133a5
commit
163a16a386
2 changed files with 13 additions and 2 deletions
|
|
@ -51,8 +51,8 @@ private function addGpu(): int
|
|||
|
||||
$vendor = $this->option('vendor') ?? $this->guessVendor($name);
|
||||
|
||||
if (! in_array($vendor, ['amd', 'nvidia', 'intel', 'other'], true)) {
|
||||
$this->error('--vendor must be amd, nvidia, intel or other.');
|
||||
if (! in_array($vendor, ['amd', 'nvidia', 'intel', 'cloud', 'other'], true)) {
|
||||
$this->error('--vendor must be amd, nvidia, intel, cloud or other.');
|
||||
|
||||
return self::FAILURE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,17 @@ public function run(): void
|
|||
['name' => 'Intel Arc A770', 'vendor' => 'intel'],
|
||||
['name' => 'Sapphire AMD Radeon AI PRO R9700', 'vendor' => 'amd'],
|
||||
['name' => 'ASUS AMD Radeon AI PRO R9700', 'vendor' => 'amd'],
|
||||
['name' => 'Ollama Cloud', 'vendor' => 'cloud'],
|
||||
['name' => 'OpenRouter', 'vendor' => 'cloud'],
|
||||
['name' => 'Anthropic', 'vendor' => 'cloud'],
|
||||
['name' => 'OpenAI', 'vendor' => 'cloud'],
|
||||
['name' => 'Google Gemini', 'vendor' => 'cloud'],
|
||||
['name' => 'Groq', 'vendor' => 'cloud'],
|
||||
['name' => 'Mistral', 'vendor' => 'cloud'],
|
||||
['name' => 'Cerebras', 'vendor' => 'cloud'],
|
||||
['name' => 'DeepSeek', 'vendor' => 'cloud'],
|
||||
['name' => 'Together AI', 'vendor' => 'cloud'],
|
||||
['name' => 'Fireworks AI', 'vendor' => 'cloud'],
|
||||
];
|
||||
|
||||
foreach ($gpus as $gpu) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue