Skip to content

247-ai/ModelServer

Repository files navigation

ModelServer

Model server is similar to MDR. It supports simple bookkeeping of models. This server helps user to do some of the basic operations like creating a user in DB, list the models of a particular user and upload a model under a specific user permission.

Dependencies

  1. JDK 8. OpenJDK 8 can be used without any issues.
  2. Scala: Version 2.11.12
    • The binaries should be in the path
  3. Maven: Version 3.3.9 or above - The binaries should be in the path
  4. [Optional, for development] IntelliJ IDEA Community Edition

Running with docker

Installing docker

Following are the links for docker installation.

  1. Ubuntu/Debian
  2. CentOS
  3. Windows

Building and packaging

  1. cd ModelServer
  2. mvn clean package -DskipTests

Running ModelServer tests

  1. cd ../Docker

  2. To run the complete test suite:

    ./run-docker.sh "test"

Using docker shell with ModelServer

The following commands would drop you into a docker bash shell with all ModelServer dependencies ready. There you can run other usual commands.

  1. cd ../docker
  2. ./run-docker.sh

It is also possible to mount a host folder with your data into the docker container, and use those files and folders. For example, to load /home/abc from host to docker, use the following command:

 ./run-docker.sh -m /home/abc

Once you are inside the container, this folder will be available at /modelserver/project inside the container.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published