General improvements (#88)

* remove unnecessary linters from pre-commit-config

* hook fix

* small improvements

* fix readme

* implement easier access to debug mode

* fix tests

* Update README.md

* Update README.md
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-03-08 15:53:30 +01:00
1 parent 5385a2ec98
commit 3d301977b3
14 files changed
+176 -113

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
# @package _global_
defaults:
# load everything from main config file
- config.yaml
# override sweeper to Ray!
- override hydra/launcher: ray
# - override hydra/launcher: ray_aws
hydra:
launcher:
ray:
remote:
max_retries: 4
# InstanceType: p2.8xlarge
# asd
# sync_up:
# # source dir is relative in this case, assuming you are running from
# # <project_root>/hydra/plugins/hydra_ray_launcher/example
# # absolute path is also supported.
# source_dir: '.'
# # we leave target_dir to be null
# # as a result the files will be synced to a temp dir on remote cluster.
# # the temp dir will be cleaned up after the jobs are done.
# # recommend to leave target_dir to be null if you are syncing code/artifacts to remote cluster so you don't need
# # configure $PYTHONPATH on remote cluster
# include: ['model', '*.py']
# # No need to sync up config files.
# exclude: ['*']
# sync_down:
# include: ['*.pt', '*/']
# # No need to sync down config files.
# exclude: ['*']