Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Distribution::HubModel Struct Referenceexport

One repository as a hub reports it, before any manifest is fetched. More...

Public Member Functions

std::string coordinate () const
bool hasManifest () const
 A repository is loadable by Mila only if it publishes a manifest.

Public Attributes

std::vector< std::string > files
bool gated { false }
 True when the terms must be accepted before the files can be fetched.
std::string last_modified
std::string library
 The hub's library attribution. "mila" for a model this runtime can load.
std::string owner
std::string repository
std::string revision
 The resolved commit of the default branch.
std::vector< std::string > tags

Detailed Description

One repository as a hub reports it, before any manifest is fetched.

Everything here comes from the hub's own listing API. Variants are deliberately absent: only mila.json knows them, and knowing that costs a further request per repository.


The documentation for this struct was generated from the following file: