Skip to content

Instantly share code, notes, and snippets.

2022-10-10T08:48:29.355783891Z stderr F >
2022-10-10T08:48:29.355779491Z stderr F debug_error_string = "{"created":"@1665391709.355168795","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3217,"referenced_errors":[{"created":"@1665391709.355167695","description":"failed to connect to all addresses","file":"src/core/lib/transport/error_utils.cc","file_line":165,"grpc_status":14}]}"
2022-10-10T08:48:29.355774691Z stderr F details = "failed to connect to all addresses"
2022-10-10T08:48:29.355771391Z stderr F status = StatusCode.UNAVAILABLE
2022-10-10T08:48:29.355767891Z stderr F grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
2022-10-10T08:48:29.355763591Z stderr F raise _InactiveRpcError(state)
2022-10-10T08:48:29.355759891Z stderr F File "/home/ray/anaconda3/lib/python3.7/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
2022-10-10T08:48:29.355756391Z stderr F return _end_u
from typing import Dict
import torch
import ray.train as train
from ray.train.trainer import Trainer
from ray.train.callbacks import JsonLoggerCallback
from torch import nn
from torch.utils.data import DataLoader
from dataset import training_data,test_data