Skip to content

FAQ

Do I need a GPU?

No. The model runs on NDIF. Your machine builds only the model's module tree.

How do I get access?

Create an account at login.ndif.us and copy your API key. Get set up has the steps.

Which models can I use?

Any model that is loaded, and most models on the Hugging Face Hub that TransformersModel can load and that fit on NDIF's GPUs. A model that is not loaded is loaded when you send a request for it. See Models.

Why is my job queued?

Each loaded copy of a model runs one job at a time, and other people use the same copy. Your job runs when the ones ahead of it finish. How NDIF works walks through it.

Why did my first request take so long?

The model was not loaded, so NDIF loaded it before running your block. The status line shows PROVISIONING and DEPLOYING while that happens. Later requests skip it for as long as the model stays loaded.

Can I use a gated model, such as Llama?

Yes, if NDIF has it. Your machine also needs access to the repository, to read the model's configuration. See Gated repositories.

Can I use my own fine-tune?

If it is in a public repository on the Hub, yes. Request a full model by its repository id. Apply a LoRA adapter to its base model with peft= (Adapter from the Hub).

Can I use a private model or dataset?

No. NDIF reads public repositories.

Can my block install a package?

No. A block can import the packages NDIF has installed (Code on the server). Code of your own is sent with the block.

Can I change the model's weights?

Not without trusted access. Change what a module computes by writing its output, which every key can do.

What happens to values I do not save?

They are dropped when the job ends.

Is there a limit on how much I can run?

Yes. One job has a time limit, and an account has a runtime allowance. See Limits and errors.

Where do I ask for help?

The NDIF Discord.