Comments (3)
Summarizing my findings here for future searchers:
- Once your free plan hosted model hits a certain number of requests, it'll be auto-deactivated after each request
- It doesn't appear there is a way to reactivate it programmatically, and this behavior is not yet documented (😔)
- Upgrading your plan and putting a card on file will cause your hosted model to stay in the active state
from hosted-models.
Hi Charlie,
The solution here is to set your hosted model state to "active". Hosted model endpoints that are inactive are effectively disabled. Because free user accounts can only have one active hosted model at a time, we provide the ability to deactivate hosted models without deleting them, in case you want to use them again at a later date.
"Active" models should be able to be queried at any time, even if they are asleep. The first request to an active model that's asleep should wake it up.
from hosted-models.
@brannondorsey I keep toggling my model to active, and it keeps toggling itself back to inactive after some period of time. This causes my first build of the day to fail, and then the subsequent one will succeed as the model is woken up. Can I toggle it programmatically? Why does it toggle itself off?
from hosted-models.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hosted-models.