Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tadayosi/torchserve-client-java


https://github.com/tadayosi/torchserve-client-java

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# TorchServe Client for Java

[![Release](https://jitpack.io/v/tadayosi/torchserve-client-java.svg)]()
[![Test](https://github.com/tadayosi/torchserve-client-java/actions/workflows/test.yml/badge.svg)](https://github.com/tadayosi/torchserve-client-java/actions/workflows/test.yml)

TorchServe Client for Java (TSC4J) is a Java client library for [TorchServe](https://pytorch.org/serve/index.html). It supports the following [TorchServe REST API](https://pytorch.org/serve/rest_api.html):

- [Inference API](https://pytorch.org/serve/inference_api.html)
- [Management API](https://pytorch.org/serve/management_api.html)
- [Metrics API](https://pytorch.org/serve/metrics_api.html)

## Install

1. Add the [JitPack](https://jitpack.io) repository to your `pom.xml`:

```xml


jitpack.io
https://jitpack.io


```

2. Add the dependency:

```xml

com.github.tadayosi
torchserve-client-java
main-SNAPSHOT

```

## Usage

See [examples](./examples/).

## Build

```console
mvn clean install
```