12345678910111213141516171819202122232425262728293031323334353637 |
- syntax = "proto3";
- message ExpertUID {
- string uid = 1;
- }
- message ExpertInfo {
- bytes serialized_info = 1;
- }
- message ExpertRequest {
- string uid = 1;
- repeated Tensor tensors = 2;
- }
- message ExpertResponse {
- repeated Tensor tensors = 2;
- }
- enum CompressionType{
- NONE = 0;
- MEANSTD_16BIT = 1;
- FLOAT16 = 2;
- QUANTILE_8BIT = 3;
- UNIFORM_8BIT = 4;
- }
- message Tensor {
- bytes buffer = 1;
- repeated uint32 size = 2;
- bool requires_grad = 3;
- string dtype = 4;
- CompressionType compression = 5;
- int32 chunks = 6;
- }
|