Skip to content
New issue

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

ENH: Add lightning.Trainer config, fix #691 #687 #742 #745 #752

Merged
merged 47 commits into from
May 5, 2024

Commits on May 5, 2024

  1. Configuration menu
    Copy the full SHA
    b7f43a9 View commit details
    Browse the repository at this point in the history
  2. Rename common.device -> common.accelerator, return 'gpu' not 'cuda' i…

    …f torch.cuda.is_available
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    54b8718 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86b40c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf8f79c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5b35753 View commit details
    Browse the repository at this point in the history
  6. Fix cross-ref in docstring in src/vak/prep/frame_classification/make_…

    …splits.py: :constant: -> :const:
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    8549cb4 View commit details
    Browse the repository at this point in the history
  7. Make lightning a dependency, instead of pytorch_lightning; import lig…

    …htning.pytorch everywhere instead of pytorch_lightning as lightning -- trying to make it so we can resolve API correctly in docstrings
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    23b78a3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9d06234 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ad0cf3e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9fd60d2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    64ee588 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    68efbc0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a6337f5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7094a6d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c14348e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5d378e9 View commit details
    Browse the repository at this point in the history
  17. Add 'trainer' attribute to EvalConfig, an instance of TrainerConfig; …

    …remove 'device' attribute
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    cfd1972 View commit details
    Browse the repository at this point in the history
  18. Add 'trainer' attribute to PredictConfig, an instance of TrainerConfi…

    …g; remove 'device' attribute
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    96df71e View commit details
    Browse the repository at this point in the history
  19. Add 'trainer' attribute to TrainConfig, an instance of TrainerConfig;…

    … remove 'device' attribute
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    7c10814 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    fd12f97 View commit details
    Browse the repository at this point in the history
  21. Add 'trainer' attribute to LearncurveConfig, an instance of TrainerCo…

    …nfig; remove 'device' attribute. Also clean up docstring, removing attributes that no longer exist
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    7253c07 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    ef05f6f View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    81b9a7d View commit details
    Browse the repository at this point in the history
  24. Fix how we instantiate TrainerConfig classes in from_config_dict meth…

    …od of EvalConfig/LearncurveConfig/PredictConfig/TrainConfig
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    5cd078d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    436623a View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    bd5f7b0 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    2930eee View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    13a30ec View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    07031e1 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    f9400df View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    5ac40e0 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    46ed723 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    994b69e View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    9a09ba1 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    a50eb34 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    64e9331 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    22e9faa View commit details
    Browse the repository at this point in the history
  38. Use config.table.trainer attribute throughout tests, remove config.ta…

    …ble.device attribute that no longer exists
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    9a157f2 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    8e96836 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    134dc0c View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    3c4ee20 View commit details
    Browse the repository at this point in the history
  42. Fix default value for 'devices' set to -1 in some unit tests where we…

    … over-ride config in toml file
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    d92af7a View commit details
    Browse the repository at this point in the history
  43. fixup use config.table.trainer attribute throughout tests -- missed o…

    …ne place in tests/test_eval/
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    ab12771 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    51b888d View commit details
    Browse the repository at this point in the history
  45. Fix unit tests in test_models/test_base.by that literally used device…

    … to put tensors on device, not to change a config
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    5a243a9 View commit details
    Browse the repository at this point in the history
  46. Fix assertion in tests/test_models/test_tweetynet.py, from where we s…

    …witched to using lightning as the dependency
    NickleDave committed May 5, 2024
    Configuration menu
    Copy the full SHA
    151abe2 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    316e7a3 View commit details
    Browse the repository at this point in the history