file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
src/ray/util/logging_test.cc | C++ | #include <chrono>
#include <cstdlib>
#include <iostream>
#include "gtest/gtest.h"
#include "ray/util/logging.h"
namespace ray {
int64_t current_time_ms() {
std::chrono::milliseconds ms_since_epoch =
std::chrono::duration_cast<std::chrono::milliseconds>(
std::chrono::steady_clock::now().time_since_e... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/ray/util/macros.h | C/C++ Header | #ifndef RAY_UTIL_MACROS_H
#define RAY_UTIL_MACROS_H
// From Google gutil
#ifndef RAY_DISALLOW_COPY_AND_ASSIGN
#define RAY_DISALLOW_COPY_AND_ASSIGN(TypeName) \
TypeName(const TypeName &) = delete; \
void operator=(const TypeName &) = delete
#endif
#define RAY_UNUSED(x) (void)x
//
// GCC can be told that a... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/ray/util/ordered_set.h | C/C++ Header | #ifndef RAY_UTIL_ORDERED_SET_H
#define RAY_UTIL_ORDERED_SET_H
#include <list>
#include <unordered_map>
/// \class ordered_set
///
/// This container has properties of both a deque and a set. It is like a deque
/// in the sense that it maintains the insertion order and allows you to
/// push_back elements and pop_fron... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/ray/util/process.h | C/C++ Header | #ifndef RAY_UTIL_PROCESS_H
#define RAY_UTIL_PROCESS_H
#ifdef __linux__
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#endif
#include <algorithm>
#include <boost/asio/io_service.hpp>
#include <boost/process/args.hpp>
#include <boost/process/child.hpp>
#include <functional>
#include <memory>
#include <ut... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/ray/util/sample.h | C/C++ Header | #ifndef RAY_UTIL_SAMPLE_H
#define RAY_UTIL_SAMPLE_H
#include <random>
#include "absl/time/clock.h"
// Randomly samples num_elements from the elements between first and last using reservoir
// sampling.
template <class Iterator, class T = typename std::iterator_traits<Iterator>::value_type>
void random_sample(Iterato... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/ray/util/sample_test.cc | C++ | #include <vector>
#include "gtest/gtest.h"
#include "ray/util/sample.h"
namespace ray {
class RandomSampleTest : public ::testing::Test {
protected:
std::vector<int> *sample;
std::vector<int> *test_vector;
virtual void SetUp() {
sample = new std::vector<int>();
test_vector = new std::vector<int>();
... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/ray/util/signal_test.cc | C++ | #include <signal.h>
#include <cstdlib>
#include <iostream>
#include "gtest/gtest.h"
#include "ray/util/logging.h"
#include "ray/util/util.h"
// This test just print some call stack information.
namespace ray {
#ifndef _WIN32
void Sleep() { usleep(100000); }
void TestSendSignal(const std::string &test_name, int sign... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/ray/util/test_util.h | C/C++ Header | #ifndef RAY_UTIL_TEST_UTIL_H
#define RAY_UTIL_TEST_UTIL_H
#include <unistd.h>
#include <string>
#include "gtest/gtest.h"
#include "ray/common/buffer.h"
#include "ray/common/id.h"
#include "ray/common/ray_object.h"
#include "ray/util/util.h"
namespace ray {
// Magic argument to signal to mock_worker we should check... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/ray/util/util.h | C/C++ Header | #ifndef RAY_UTIL_UTIL_H
#define RAY_UTIL_UTIL_H
#include <boost/system/error_code.hpp>
#include <chrono>
#include <iterator>
#include <mutex>
#include <random>
#include <sstream>
#include <string>
#include <thread>
#include <unordered_map>
#include "ray/common/status.h"
/// Return the number of milliseconds since th... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/ray/util/visibility.h | C/C++ Header | #ifndef RAY_UTIL_VISIBILITY_H
#define RAY_UTIL_VISIBILITY_H
#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(_MSC_VER)
#pragma warning(disable : 4251)
#else
#pragma GCC diagnostic ignored "-Wattributes"
#endif
#ifdef RAY_STATIC
#define RAY_EXPORT
#elif defined(RAY_EXPORTING)
#define RAY_EXPORT __declspec(dllexp... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/arpa/inet.h | C/C++ Header | #ifndef INET_H
#define INET_H
#endif /* INET_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/getopt.cc | C++ | /*
From:
http://stackoverflow.com/a/17195644/541686
Also posted on:
https://gist.github.com/superwills/5815344
Previously from:
http://www.raspberryginger.com/jbailey/minix/html/lib_2posix_2getopt_8c-source.html
*/
/*
* Copyright (c) 1987, 1993, 1994
* The Regents of the University of California. All rig... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/getopt.h | C/C++ Header | #ifndef GETOPT_H
#define GETOPT_H
extern char *optarg;
extern int optind, opterr, optopt;
int getopt(int nargc, char *const nargv[], const char *ostr);
#endif /* GETOPT_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/msg.cc | C++ | #include <stdlib.h>
#include <sys/socket.h>
#include <Winsock2.h> // include before other socket headers on Windows
#include <iphlpapi.h>
#include <tcpmib.h>
#pragma comment(lib, "IPHlpAPI.lib")
int socketpair(int domain, int type, int protocol, int sv[2]) {
if ((domain != AF_UNIX && domain != AF_INET) || type !... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/netdb.h | C/C++ Header | #ifndef NETDB_H
#define NETDB_H
#include <ws2tcpip.h>
#endif /* NETDB_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/netinet/in.h | C/C++ Header | #ifndef IN_H
#define IN_H
#endif /* IN_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/netinet/tcp.h | C/C++ Header | #ifndef TCP_H
#define TCP_H
#endif /* TCP_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/poll.h | C/C++ Header | #ifndef POLL_H
#define POLL_H
typedef unsigned long int nfds_t;
int poll(struct pollfd fds[], nfds_t nfds, int timeout);
#endif /* POLL_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/pthread.h | C/C++ Header | #ifndef _PTHREAD_H
#define _PTHREAD_H 1
#ifndef _INC_WINDOWS
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#include <Windows.h>
#endif
typedef CRITICAL_SECTION pthread_mutex_t;
#endif /* pthread.h */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/socketpair.cc | C++ | /* socketpair.c
Copyright 2007, 2010 by Nathan C. Myers <ncm@cantrip.org>
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/strings.h | C/C++ Header | #ifndef STRINGS_H
#define STRINGS_H
#include <string.h>
static int strcasecmp(const char *s1, const char *s2) { return stricmp(s1, s2); }
static int strncasecmp(const char *s1, const char *s2, size_t n) {
return strnicmp(s1, s2, n);
}
#endif /* STRINGS_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/ioctl.h | C/C++ Header | #ifndef IOCTL_H
#define IOCTL_H
#endif /* IOCTL_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/mman.h | C/C++ Header | #ifndef MMAN_H
#define MMAN_H
#include <unistd.h>
#define MAP_SHARED 0x0010 /* share changes */
#define MAP_FAILED ((void *)-1)
#define PROT_READ 0x04 /* pages can be read */
#define PROT_WRITE 0x02 /* pages can be written */
#define PROT_EXEC 0x01 /* pages can be executed */
#ifndef FILE_MAP_ALL_ACCESS
enum { FILE... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/select.h | C/C++ Header | #ifndef SELECT_H
#define SELECT_H
#endif /* SELECT_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/socket.h | C/C++ Header | #ifndef SOCKET_H
#define SOCKET_H
typedef unsigned short sa_family_t;
#include <Winsock2.h>
#include <unistd.h> // ssize_t
#define cmsghdr _WSACMSGHDR
#undef CMSG_DATA
#define CMSG_DATA WSA_CMSG_DATA
#define CMSG_SPACE WSA_CMSG_SPACE
#define CMSG_FIRSTHDR WSA_CMSG_FIRSTHDR
#define CMSG_LEN WSA_CMSG_LEN
#define CMSG... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/statvfs.h | C/C++ Header | #ifndef STATVFS_H
#define STATVFS_H 1
#endif
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/syslog.h | C/C++ Header | #ifndef _SYS_SYSLOG_H
#define _SYS_SYSLOG_H 1
#endif /* sys/syslog.h */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/time.cc | C++ | #include <limits.h>
#include <sys/time.h>
int gettimeofday(struct timeval *tv, struct timezone *tz) {
// Free implementation from: https://stackoverflow.com/a/26085827
SYSTEMTIME systime;
GetSystemTime(&systime);
FILETIME filetime;
SystemTimeToFileTime(&systime, &filetime);
unsigned long long const epoch_t... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/time.h | C/C++ Header | #ifndef TIME_H
#define TIME_H
#include <WinSock2.h> // clients require timeval definition
struct timeval;
struct timezone;
#ifdef __cplusplus
extern "C"
#endif
int
gettimeofday(struct timeval *tv, struct timezone *tz);
#endif /* TIME_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/un.h | C/C++ Header | #ifndef UN_H
#define UN_H
#include <sys/socket.h>
#define UNIX_PATH_MAX 108
typedef struct sockaddr_un {
ADDRESS_FAMILY sun_family;
char sun_path[UNIX_PATH_MAX];
} SOCKADDR_UN, *PSOCKADDR_UN;
#ifndef AF_LOCAL
#define AF_LOCAL AF_UNIX
#endif
#endif /* UN_H */
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/wait.cc | C++ | #include <sys/wait.h>
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#include <Windows.h>
pid_t waitpid(pid_t pid, int *status, int options) {
int result;
if (pid <= 0) {
result = -1;
errno = ECHILD;
} else if (HANDLE process = OpenProcess(SYNCHRONIZE, FALSE, pid)) {
DWORD timeout ... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/sys/wait.h | C/C++ Header | #ifndef WAIT_H
#define WAIT_H
#include <unistd.h> // pid_t
#define WNOHANG 1
__declspec(
deprecated("Waiting on a process by ID has an inherent race condition"
" on Windows and is discouraged. "
"Please use a wrapper that keeps the process handle alive"
" and waits o... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/syslog.h | C/C++ Header | #include <sys/syslog.h>
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/unistd.cc | C++ | #include <unistd.h>
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#include <Windows.h>
int usleep(useconds_t usec) {
Sleep((usec + (1000 - 1)) / 1000);
return 0;
}
unsigned sleep(unsigned seconds) {
Sleep(seconds * 1000);
return 0;
}
int kill(pid_t pid, int sig) {
int result;
if (HAND... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
src/shims/windows/unistd.h | C/C++ Header | #ifndef UNISTD_H
#define UNISTD_H
#include <getopt.h>
#include <io.h> // open/read/write/close
#ifndef EXTERN_C
#ifdef __cplusplus
#define EXTERN_C extern "C"
#else
#define EXTERN_C
#endif
#endif
#ifndef DECLSPEC_IMPORT
#define DECLSPEC_IMPORT __declspec(dllimport)
#endif
#ifndef WINBASEAPI
#define WINBASEAPI DECLSP... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/collector/CollectionCollector.java | Java | package org.ray.streaming.api.collector;
import java.util.List;
import org.ray.streaming.message.Record;
/**
* Combination of multiple collectors.
*
* @param <T> The type of output data.
*/
public class CollectionCollector<T> implements Collector<T> {
private List<Collector> collectorList;
public Collection... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/collector/Collector.java | Java | package org.ray.streaming.api.collector;
/**
* The collector that collects data from an upstream operator, and emits data to downstream
* operators.
*
* @param <T> Type of the data to collect.
*/
public interface Collector<T> {
void collect(T value);
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/context/RuntimeContext.java | Java | package org.ray.streaming.api.context;
/**
* Encapsulate the runtime information of a streaming task.
*/
public interface RuntimeContext {
int getTaskId();
int getTaskIndex();
int getParallelism();
Long getBatchId();
Long getMaxBatch();
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/context/StreamingContext.java | Java | package org.ray.streaming.api.context;
import com.google.common.base.Preconditions;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.ServiceLoader;
import java.util.concurrent.atomic.AtomicInteger... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/Function.java | Java | package org.ray.streaming.api.function;
import java.io.Serializable;
/**
* Interface of streaming functions.
*/
public interface Function extends Serializable {
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/AggregateFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.function.Function;
/**
* Interface of aggregate functions.
*
* @param <I> Type of the input data.
* @param <A> Type of the intermediate data.
* @param <O> Type of the output data.
*/
public interface AggregateFunction<I, A, O> extends Fun... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/FilterFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.function.Function;
/**
* A filter function is a predicate applied individually to each record.
* The predicate decides whether to keep the element, or to discard it.
*
* @param <T> type of the input data.
*/
@FunctionalInterface
public int... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/FlatMapFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.collector.Collector;
import org.ray.streaming.api.function.Function;
/**
* Interface of flat-map functions.
*
* @param <T> Type of the input data.
* @param <R> Type of the output data.
*/
@FunctionalInterface
public interface FlatMapFuncti... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/JoinFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.function.Function;
/**
* Interface of join functions.
*
* @param <T> Type of the left input data.
* @param <O> Type of the right input data.
* @param <R> Type of the output data.
*/
@FunctionalInterface
public interface JoinFunction<T, O,... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/KeyFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.function.Function;
/**
* Interface of key-by functions.
*
* @param <T> Type of the input data.
* @param <K> Type of the key-by field.
*/
@FunctionalInterface
public interface KeyFunction<T, K> extends Function {
K keyBy(T value);
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/MapFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.function.Function;
/**
* Interface of map functions.
*
* @param <T> type of the input data.
* @param <R> type of the output data.
*/
@FunctionalInterface
public interface MapFunction<T, R> extends Function {
R map(T value);
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/ProcessFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.function.Function;
/**
* Interface of process functions.
*
* @param <T> Type of the input data.
*/
@FunctionalInterface
public interface ProcessFunction<T> extends Function {
void process(T value);
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/ReduceFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.function.Function;
/**
* Interface of reduce functions.
*
* @param <T> Type of the input data.
*/
@FunctionalInterface
public interface ReduceFunction<T> extends Function {
T reduce(T oldValue, T newValue);
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/SinkFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.function.Function;
/**
* Interface of sink functions.
*
* @param <T> Type of the sink data.
*/
@FunctionalInterface
public interface SinkFunction<T> extends Function {
void sink(T value);
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/impl/SourceFunction.java | Java | package org.ray.streaming.api.function.impl;
import org.ray.streaming.api.function.Function;
/**
* Interface of Source functions.
*
* @param <T> Type of the data output by the source.
*/
public interface SourceFunction<T> extends Function {
void init(int parallel, int index);
void run(SourceContext<T> ctx) ... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/function/internal/CollectionSourceFunction.java | Java | package org.ray.streaming.api.function.internal;
import java.util.ArrayList;
import java.util.Collection;
import org.ray.streaming.api.function.impl.SourceFunction;
/**
* The SourceFunction that fetch data from a Java Collection object.
*
* @param <T> Type of the data output by the source.
*/
public class Collect... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/partition/Partition.java | Java | package org.ray.streaming.api.partition;
import org.ray.streaming.api.function.Function;
/**
* Interface of the partitioning strategy.
*
* @param <T> Type of the input data.
*/
@FunctionalInterface
public interface Partition<T> extends Function {
/**
* Given a record and downstream partitions, determine whi... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/partition/impl/BroadcastPartition.java | Java | package org.ray.streaming.api.partition.impl;
import java.util.stream.IntStream;
import org.ray.streaming.api.partition.Partition;
/**
* Broadcast the record to all downstream partitions.
*/
public class BroadcastPartition<T> implements Partition<T> {
private int[] partitions = new int[0];
public BroadcastPart... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/partition/impl/KeyPartition.java | Java | package org.ray.streaming.api.partition.impl;
import org.ray.streaming.api.partition.Partition;
import org.ray.streaming.message.KeyRecord;
/**
* Partition the record by the key.
*
* @param <K> Type of the partition key.
* @param <T> Type of the input record.
*/
public class KeyPartition<K, T> implements Partiti... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/partition/impl/RoundRobinPartition.java | Java | package org.ray.streaming.api.partition.impl;
import org.ray.streaming.api.partition.Partition;
/**
* Partition record to downstream tasks in a round-robin matter.
*
* @param <T> Type of the input record.
*/
public class RoundRobinPartition<T> implements Partition<T> {
private int seq;
private int[] partition... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/stream/DataStream.java | Java | package org.ray.streaming.api.stream;
import org.ray.streaming.api.context.StreamingContext;
import org.ray.streaming.api.function.impl.FilterFunction;
import org.ray.streaming.api.function.impl.FlatMapFunction;
import org.ray.streaming.api.function.impl.KeyFunction;
import org.ray.streaming.api.function.impl.MapFunc... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/stream/DataStreamSink.java | Java | package org.ray.streaming.api.stream;
import org.ray.streaming.operator.impl.SinkOperator;
/**
* Represents a sink of the DataStream.
*
* @param <T> Type of the input data of this sink.
*/
public class DataStreamSink<T> extends StreamSink<T> {
public DataStreamSink(DataStream<T> input, SinkOperator sinkOperato... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/stream/DataStreamSource.java | Java | package org.ray.streaming.api.stream;
import java.util.Collection;
import org.ray.streaming.api.context.StreamingContext;
import org.ray.streaming.api.function.impl.SourceFunction;
import org.ray.streaming.api.function.internal.CollectionSourceFunction;
import org.ray.streaming.api.partition.impl.RoundRobinPartition;
... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/stream/JoinStream.java | Java | package org.ray.streaming.api.stream;
import java.io.Serializable;
import org.ray.streaming.api.function.impl.JoinFunction;
import org.ray.streaming.api.function.impl.KeyFunction;
/**
* Represents a DataStream of two joined DataStream.
*
* @param <L> Type of the data in the left stream.
* @param <R> Type of the d... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/stream/KeyDataStream.java | Java | package org.ray.streaming.api.stream;
import org.ray.streaming.api.function.impl.AggregateFunction;
import org.ray.streaming.api.function.impl.ReduceFunction;
import org.ray.streaming.api.partition.impl.KeyPartition;
import org.ray.streaming.operator.StreamOperator;
import org.ray.streaming.operator.impl.ReduceOperato... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/stream/Stream.java | Java | package org.ray.streaming.api.stream;
import java.io.Serializable;
import org.ray.streaming.api.context.StreamingContext;
import org.ray.streaming.api.partition.Partition;
import org.ray.streaming.api.partition.impl.RoundRobinPartition;
import org.ray.streaming.operator.StreamOperator;
import org.ray.streaming.python.... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/stream/StreamSink.java | Java | package org.ray.streaming.api.stream;
import org.ray.streaming.operator.StreamOperator;
/**
* Represents a sink of the Stream.
*
* @param <T> Type of the input data of this sink.
*/
public class StreamSink<T> extends Stream<T> {
public StreamSink(Stream<T> inputStream, StreamOperator streamOperator) {
super... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/stream/StreamSource.java | Java | package org.ray.streaming.api.stream;
/**
* A mark interface that represents a source of the Stream.
*
* @param <T> The type of StreamSource data.
*/
public interface StreamSource<T> {
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/api/stream/UnionStream.java | Java | package org.ray.streaming.api.stream;
import java.util.ArrayList;
import java.util.List;
import org.ray.streaming.operator.StreamOperator;
/**
* Represents a union DataStream.
*
* @param <T> The type of union data.
*/
public class UnionStream<T> extends DataStream<T> {
private List<DataStream> unionStreams;
... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/jobgraph/JobEdge.java | Java | package org.ray.streaming.jobgraph;
import java.io.Serializable;
import org.ray.streaming.api.partition.Partition;
/**
* Job edge is connection and partition rules of upstream and downstream execution nodes.
*/
public class JobEdge implements Serializable {
private int srcVertexId;
private int targetVertexId;
... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/jobgraph/JobGraph.java | Java | package org.ray.streaming.jobgraph;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Job graph, the logical plan of streaming job.
*/
public class JobGraph implements Serializable {
private static... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/jobgraph/JobGraphBuilder.java | Java | package org.ray.streaming.jobgraph;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import org.ray.streaming.api.stream.DataStream;
import org.ray.streaming.api.stream.Stream;
import org.ray.streaming.api.stream.StreamSink;
import org.ray.streami... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/jobgraph/JobVertex.java | Java | package org.ray.streaming.jobgraph;
import com.google.common.base.MoreObjects;
import java.io.Serializable;
import org.ray.streaming.operator.StreamOperator;
/**
* Job vertex is a cell node where logic is executed.
*/
public class JobVertex implements Serializable {
private int vertexId;
private int parallelis... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/jobgraph/VertexType.java | Java | package org.ray.streaming.jobgraph;
/**
* Different roles for a node.
*/
public enum VertexType {
MASTER,
SOURCE,
PROCESS,
SINK,
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/message/KeyRecord.java | Java | package org.ray.streaming.message;
public class KeyRecord<K, T> extends Record<T> {
private K key;
public KeyRecord(K key, T value) {
super(value);
this.key = key;
}
public K getKey() {
return key;
}
public void setKey(K key) {
this.key = key;
}
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/message/Message.java | Java | package org.ray.streaming.message;
import com.google.common.collect.Lists;
import java.io.Serializable;
import java.util.List;
public class Message implements Serializable {
private int taskId;
private long batchId;
private String stream;
private List<Record> recordList;
public Message(int taskId, long ba... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/message/Record.java | Java | package org.ray.streaming.message;
import java.io.Serializable;
public class Record<T> implements Serializable {
protected transient String stream;
protected T value;
public Record(T value) {
this.value = value;
}
public T getValue() {
return value;
}
public void setValue(T value) {
this... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/OneInputOperator.java | Java | package org.ray.streaming.operator;
import org.ray.streaming.message.Record;
public interface OneInputOperator<T> extends Operator {
void processElement(Record<T> record) throws Exception;
default OperatorType getOpType() {
return OperatorType.ONE_INPUT;
}
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/Operator.java | Java | package org.ray.streaming.operator;
import java.io.Serializable;
import java.util.List;
import org.ray.streaming.api.collector.Collector;
import org.ray.streaming.api.context.RuntimeContext;
public interface Operator extends Serializable {
void open(List<Collector> collectors, RuntimeContext runtimeContext);
vo... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/OperatorType.java | Java | package org.ray.streaming.operator;
public enum OperatorType {
SOURCE,
ONE_INPUT,
TWO_INPUT,
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/StreamOperator.java | Java | package org.ray.streaming.operator;
import java.util.List;
import org.ray.streaming.api.collector.Collector;
import org.ray.streaming.api.context.RuntimeContext;
import org.ray.streaming.api.function.Function;
import org.ray.streaming.message.KeyRecord;
import org.ray.streaming.message.Record;
public abstract class S... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/TwoInputOperator.java | Java | package org.ray.streaming.operator;
import org.ray.streaming.message.Record;
public interface TwoInputOperator<T, O> extends Operator {
void processElement(Record<T> record1, Record<O> record2);
default OperatorType getOpType() {
return OperatorType.TWO_INPUT;
}
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/impl/FilterOperator.java | Java | package org.ray.streaming.operator.impl;
import org.ray.streaming.api.function.impl.FilterFunction;
import org.ray.streaming.message.Record;
import org.ray.streaming.operator.OneInputOperator;
import org.ray.streaming.operator.StreamOperator;
public class FilterOperator<T> extends StreamOperator<FilterFunction<T>> im... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/impl/FlatMapOperator.java | Java | package org.ray.streaming.operator.impl;
import java.util.List;
import org.ray.streaming.api.collector.CollectionCollector;
import org.ray.streaming.api.collector.Collector;
import org.ray.streaming.api.context.RuntimeContext;
import org.ray.streaming.api.function.impl.FlatMapFunction;
import org.ray.streaming.message... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/impl/KeyByOperator.java | Java | package org.ray.streaming.operator.impl;
import org.ray.streaming.api.function.impl.KeyFunction;
import org.ray.streaming.message.KeyRecord;
import org.ray.streaming.message.Record;
import org.ray.streaming.operator.OneInputOperator;
import org.ray.streaming.operator.StreamOperator;
public class KeyByOperator<T, K> e... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/impl/MapOperator.java | Java | package org.ray.streaming.operator.impl;
import org.ray.streaming.api.function.impl.MapFunction;
import org.ray.streaming.message.Record;
import org.ray.streaming.operator.OneInputOperator;
import org.ray.streaming.operator.StreamOperator;
public class MapOperator<T, R> extends StreamOperator<MapFunction<T, R>> impl... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/impl/ReduceOperator.java | Java | package org.ray.streaming.operator.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.ray.streaming.api.collector.Collector;
import org.ray.streaming.api.context.RuntimeContext;
import org.ray.streaming.api.function.impl.ReduceFunction;
import org.ray.streaming.message.KeyRecord;
i... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/impl/SinkOperator.java | Java | package org.ray.streaming.operator.impl;
import org.ray.streaming.api.function.impl.SinkFunction;
import org.ray.streaming.message.Record;
import org.ray.streaming.operator.OneInputOperator;
import org.ray.streaming.operator.StreamOperator;
public class SinkOperator<T> extends StreamOperator<SinkFunction<T>> impleme... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/operator/impl/SourceOperator.java | Java | package org.ray.streaming.operator.impl;
import java.util.List;
import org.ray.streaming.api.collector.Collector;
import org.ray.streaming.api.context.RuntimeContext;
import org.ray.streaming.api.function.impl.SourceFunction;
import org.ray.streaming.api.function.impl.SourceFunction.SourceContext;
import org.ray.strea... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/python/PythonFunction.java | Java | package org.ray.streaming.python;
import org.ray.streaming.api.function.Function;
/**
* Represents a user defined python function.
*
* <p>Python worker can use information in this class to create a function object.</p>
*
* <p>If this object is constructed from serialized python function,
* python worker can des... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/python/PythonOperator.java | Java | package org.ray.streaming.python;
import java.util.List;
import org.ray.streaming.api.context.RuntimeContext;
import org.ray.streaming.operator.OperatorType;
import org.ray.streaming.operator.StreamOperator;
/**
* Represents a {@link StreamOperator} that wraps python {@link PythonFunction}.
*/
@SuppressWarnings("un... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/python/PythonPartition.java | Java | package org.ray.streaming.python;
import org.ray.streaming.api.partition.Partition;
/**
* Represents a python partition function.
* <p>
* Python worker can create a partition object using information in this
* PythonPartition.
* <p>
* If this object is constructed from serialized python partition,
* python wor... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/python/stream/PythonDataStream.java | Java | package org.ray.streaming.python.stream;
import org.ray.streaming.api.context.StreamingContext;
import org.ray.streaming.api.stream.Stream;
import org.ray.streaming.python.PythonFunction;
import org.ray.streaming.python.PythonFunction.FunctionInterface;
import org.ray.streaming.python.PythonOperator;
import org.ray.st... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/python/stream/PythonKeyDataStream.java | Java | package org.ray.streaming.python.stream;
import org.ray.streaming.api.stream.Stream;
import org.ray.streaming.operator.StreamOperator;
import org.ray.streaming.python.PythonFunction;
import org.ray.streaming.python.PythonFunction.FunctionInterface;
import org.ray.streaming.python.PythonOperator;
import org.ray.streami... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/python/stream/PythonStream.java | Java | package org.ray.streaming.python.stream;
/**
* A marker interface used to identify all python streams.
*/
public interface PythonStream {
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/python/stream/PythonStreamSink.java | Java | package org.ray.streaming.python.stream;
import org.ray.streaming.api.stream.StreamSink;
import org.ray.streaming.python.PythonOperator;
/**
* Represents a sink of the PythonStream.
*/
public class PythonStreamSink extends StreamSink implements PythonStream {
public PythonStreamSink(PythonDataStream input, Python... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/python/stream/PythonStreamSource.java | Java | package org.ray.streaming.python.stream;
import org.ray.streaming.api.context.StreamingContext;
import org.ray.streaming.api.stream.StreamSource;
import org.ray.streaming.python.PythonFunction;
import org.ray.streaming.python.PythonFunction.FunctionInterface;
import org.ray.streaming.python.PythonOperator;
import org.... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/schedule/JobScheduler.java | Java | package org.ray.streaming.schedule;
import java.util.Map;
import org.ray.streaming.jobgraph.JobGraph;
/**
* Interface of the job scheduler.
*/
public interface JobScheduler {
/**
* Assign logical plan to physical execution graph, and schedule job to run.
*
* @param jobGraph The logical plan.
*/
vo... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/main/java/org/ray/streaming/util/Config.java | Java | package org.ray.streaming.util;
public class Config {
/**
* Maximum number of batches to run in a streaming job.
*/
public static final String STREAMING_BATCH_MAX_COUNT = "streaming.batch.max.count";
/**
* batch frequency in milliseconds
*/
public static final String STREAMING_BATCH_FREQUENCY = "... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-api/src/test/java/org/ray/streaming/jobgraph/JobGraphBuilderTest.java | Java | package org.ray.streaming.jobgraph;
import com.google.common.collect.Lists;
import java.util.List;
import org.ray.streaming.api.context.StreamingContext;
import org.ray.streaming.api.partition.impl.KeyPartition;
import org.ray.streaming.api.partition.impl.RoundRobinPartition;
import org.ray.streaming.api.stream.DataSt... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-runtime/src/main/java/org/ray/streaming/runtime/cluster/ResourceManager.java | Java | package org.ray.streaming.runtime.cluster;
import java.util.ArrayList;
import java.util.List;
import org.ray.api.Ray;
import org.ray.api.RayActor;
import org.ray.streaming.runtime.worker.JobWorker;
/**
* Resource-Manager is used to do the management of resources
*/
public class ResourceManager {
public List<RayA... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-runtime/src/main/java/org/ray/streaming/runtime/config/Config.java | Java | package org.ray.streaming.runtime.config;
import java.io.Serializable;
import javax.accessibility.Accessible;
/**
* Basic config interface.
*/
public interface Config extends org.aeonbits.owner.Config, Accessible, Serializable {
}
| zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-runtime/src/main/java/org/ray/streaming/runtime/config/StreamingConfig.java | Java | package org.ray.streaming.runtime.config;
import java.io.Serializable;
import java.util.Map;
/**
* Streaming config including general, master and worker part.
*/
public class StreamingConfig implements Serializable {
public StreamingMasterConfig masterConfig;
public StreamingWorkerConfig workerConfigTemplate;
... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-runtime/src/main/java/org/ray/streaming/runtime/config/StreamingGlobalConfig.java | Java | package org.ray.streaming.runtime.config;
import com.google.common.base.Preconditions;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
import org.aeonbits.owner.Config.DefaultValue;
import org.aeonbits.owner.Config.Key;
import org.aeonbits.owner.ConfigFacto... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta | |
streaming/java/streaming-runtime/src/main/java/org/ray/streaming/runtime/config/StreamingMasterConfig.java | Java | package org.ray.streaming.runtime.config;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Streaming job master config.
*/
public class StreamingMasterConfig extends StreamingGlobalConfig {
private static final Logger LOG = LoggerFactory.getLogger(StreamingMasterConfig.class);... | zhuohan123/hoplite-rllib | 3 | Python | zhuohan123 | Zhuohan Li | vLLM / Meta |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.