Skip to content

Commit

Permalink
Merge pull request #64 from appwrite/feat-python-ml
Browse files Browse the repository at this point in the history
feat: new python ml runtime
  • Loading branch information
christyjacob4 authored Mar 28, 2024
2 parents 5d93fc5 + a7cd500 commit 83e6867
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Runtimes/Runtimes.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ public function __construct($version = '')
$python->addVersion('3.12', 'python:3.12-alpine3.16', 'openruntimes/python:' . $this->version . '-3.12', [System::X86, System::ARM64, System::ARMV7, System::ARMV8]);
$this->runtimes['python'] = $python;

$pythonML = new Runtime('python-ml', 'Python (ML)', 'python3 src/server.py');
$pythonML->addVersion('3.11', 'continuumio/miniconda3:24.1.2-0', 'openruntimes/python-ml:' . $this->version . '-3.11', [System::X86, System::ARM64]);
$this->runtimes['python-ml'] = $pythonML;

$deno = new Runtime('deno', 'Deno', 'denon start');
$deno->addVersion('1.21', 'denoland/deno:alpine-1.21.3', 'openruntimes/deno:' . $this->version . '-1.21', [System::X86]);
$deno->addVersion('1.24', 'denoland/deno:alpine-1.24.3', 'openruntimes/deno:' . $this->version . '-1.24', [System::X86]);
Expand Down

0 comments on commit 83e6867

Please sign in to comment.