Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
ModelHub.ixx File Reference

The abstraction over a non-local model hub. More...

#include <cstddef>
#include <cstdint>
#include <functional>
#include <string>
#include <vector>
import Distribution.ModelStore;
import Distribution.ModelCoordinate;

Classes

struct  Mila::Distribution::HubModel
 One repository as a hub reports it, before any manifest is fetched. More...
class  Mila::Distribution::IModelHub
 A remote that serves manifests and files. More...

Namespaces

namespace  Mila
 Mila main API namespace.

Detailed Description

The abstraction over a non-local model hub.

Everything that knows a URL shape, an authentication scheme or a listing API lives behind IModelHub, so the store, the digest check and the resume protocol never learn one. The interface depends on no transport, so it is always compiled. See Specifications/ModelDistribution.md.