Comments (6)
Also the script does not work when the preemptible cpu's quota is anything OTHER then 0. I requested 1, but the script stopped working, and it was the quota mismatch when I dug into the problem
from gcloudrig.
I'm not sure what to make of Google's statement there, since I'm literally doing this now to stretch out how long the one-time $300 free credits lasts.
It's likley they mean that preemptible instances don't take advantage of the "always free" tier limits, as listed here: https://cloud.google.com/free/docs/gcp-free-tier#always-free-usage-limits
If you're sure you don't want a preemptible instance, as a quick fix just remove this line:
https://github.com/putty182/gcloudrig/blob/master/globals.sh#L433
Will look at adding a preemptible option in the setup.sh
prompts to do just this.
from gcloudrig.
Are you going to add an option in the setup.sh process to toggle preemptible instances? That would solve people's problems if the preemptible isn't working in there case, as it did in mines.
from gcloudrig.
originally from #50
Also, this is unrelated to this issue, but when setting up an instance using the tool, it only seems to start and set up correctly if I remove the
--preemptible
line in globals.sh. I have waited for a more than enough time for the preemptible instance to actually start running, but it always keeps restarting (and the setup log linked in the end of setup,sh doesn't actually run any of the scripts windows-start-up scripts / boot scripts) The instance just keeps restarting. My quota is good, and I've tried deleted the repo, destroying everything (destroy.sh) from my shell directory and cloning and running the whole setup again, with the same results, which sucks because I'd really want to take advantage of preempts.
from gcloudrig.
Paid billing is a requirement to use GPU instances; i.e. "upgrading" a free trial is required, but credits (if available) are still consumed first. Not sure when that kicked in, but that's the case now.
Since the goal of this project is to minimise costs, the default behaviour is still to use pre-emptible instances but it's now editable at the top of globals.sh (which will be documented one day!)
from gcloudrig.
For future visitors: I contacted GCP support, and indeed:
It's likley they mean that preemptible instances don't take advantage of the "always free" tier limits, as listed here: https://cloud.google.com/free/docs/gcp-free-tier#always-free-usage-limits
What @putty182 is saying here is correct. Preemptible GCP instances take advantage of GCP free credits, but they are not part of the GCP "always free" tier. Meaning that if you have free credits left, you are not charged; otherwise, you are guaranteed to be charged.
from gcloudrig.
Related Issues (20)
- What is the point of using ZeroTier? HOT 7
- Option to use Tesla T4 instead of P4 HOT 7
- Remove Protect-Parsec function
- Windows Licensing fee doesn't stop when rig shutdown HOT 4
- snaphot no longer attached HOT 1
- setup.sh: Implement Inquirer.sh and parameterise HOT 1
- add a desktop notification when games disk is attached
- gcloudrig_get_accelerator_zones Returns Nonexistent Zone in us-east1 HOT 8
- ERROR: no regions with accelerator type "nvidia-tesla-t4-vws" found HOT 1
- Implement support & doco for `gcloudrig-cloud-run`
- gcloudrig-games disk does not create from shapshot HOT 7
- How do you get the GPU_ALL_REGIONS quota approved? HOT 3
- Resolution stuck on windows 10. HOT 1
- GRID Driver License HOT 1
- Initial scripts do not fully work with custom images HOT 1
- Figure out why vb cable is not in uninstall programs, maybe if I do it with cmd prompt instead? HOT 2
- Consider using terraform instead of the current imperative mechanisms e.g. running `setup.sh` and `destroy.sh`
- Improve label-related warnings HOT 2
- The GPUs global quota does not exist anymore, so the setup.sh script stops by default HOT 1
- LINUX SUNSHINE HOT 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 gcloudrig.