Skip to content

Conversation

BillHuang2001
Copy link
Collaborator

@BillHuang2001 BillHuang2001 commented Jan 3, 2025

Description

Major Breaking Changes:

  1. Adopted src-layout:
    The project structure has been reorganized to use a src/evox/... layout, enabling the packaging of the library.

  2. New Testing Framework:

    • Converted individual test programs into unittest classes for better structure and scalability.
    • Tests and benchmarks have been separated. Benchmark programs are now located in the benchmarks/ directory, where they can perform large-scale computations and include profiling functionality.

Minor Changes

  • Update the CI/CD, it should now install torch and run tests with unittest.
  • Add ruff check action.
  • Add pre-commit config.

Checklist

  • I have formatted my Python code with ruff.
  • I have good commit messages.
  • If adding new algorithms, problems, operators:
    • Added related test cases.
    • Added docstring to explain important parameters.
    • Added entries in the docs.

@BillHuang2001 BillHuang2001 requested a review from sses7757 January 6, 2025 09:41
@BillHuang2001 BillHuang2001 changed the title Evoxtorch dev EvoXTorch project structure changes Jan 8, 2025
@BillHuang2001
Copy link
Collaborator Author

Ready for review.

@BillHuang2001
Copy link
Collaborator Author

  • Brax is now converted to src-layout.
  • Related tests are converted to unittest.
  • Format code.

Copy link
Collaborator

@sses7757 sses7757 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed all codes and tests. The documentation can be added in future PRs.

@sses7757 sses7757 merged commit 11acb48 into evoxtorch-main Jan 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants