We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently axlearn either adds a nodeSelector for spot=true or it adds a nodeSelector for reservation:
if tier == "0" and cfg.reservation is not None: logging.info("Found tier=%s in env. Using reservation=%s", tier, cfg.reservation) selector.update({"cloud.google.com/reservation-name": cfg.reservation}) else: logging.info("Found tier=%s in env. Using spot quota", tier) selector.update({"cloud.google.com/gke-spot": "true"}) tolerations.append( { "key": "cloud.google.com/gke-spot", "operator": "Equal", "value": "true", "effect": "NoSchedule", } )
It should be possible to launch a job using on-demand TPU, however today that's not possible unless you remove this line:
selector.update({"cloud.google.com/gke-spot": "true"})
The text was updated successfully, but these errors were encountered:
allow using on-demand instead of spot only
b68c392
This fixes apple#621
Successfully merging a pull request may close this issue.
Currently axlearn either adds a nodeSelector for spot=true or it adds a nodeSelector for reservation:
It should be possible to launch a job using on-demand TPU, however today that's not possible unless you remove this line:
The text was updated successfully, but these errors were encountered: