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

[Breaking] Version 0.2.0 #527

Merged
merged 10 commits into from
Jul 12, 2024
Merged

[Breaking] Version 0.2.0 #527

merged 10 commits into from
Jul 12, 2024

Conversation

EricLBuehler
Copy link
Owner

@EricLBuehler EricLBuehler commented Jul 2, 2024

Version 0.2.0 will focus on API clarity, usability, and ease-of use. It is targeting release at the end of this week and will be breaking.

Python API

  • Use PyO3 complex enums constructor macros for more ergonomic Which macro
    • Implemented in Rust code
    • Reflected changes in Python code
    • Tested
  • Remove Either for num device layers in Runner constructor

Rust API

  • Replace from_num_device_layers with from_num_device_layers_multi_gpu functionality
  • Remove checking of ISQ_LOW_MEMORY in isq.rs

@EricLBuehler EricLBuehler added documentation Improvements or additions to documentation new feature New feature or request breaking labels Jul 2, 2024
Copy link

github-actions bot commented Jul 2, 2024

Code Metrics Report
  ===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 C Header                2           35           28            0            7
 Dockerfile              1           34           25            0            9
 Happy                   1          442          369            0           73
 JSON                   11          102          101            0            1
 Python                 40         1604         1388           46          170
 TOML                   19          557          491           11           55
-------------------------------------------------------------------------------
 Jupyter Notebooks       1            0            0            0            0
 |- Markdown             1           60           30           22            8
 |- Python               1           96           87            1            8
 (Total)                            156          117           23           16
-------------------------------------------------------------------------------
 Markdown               23         1806            0         1372          434
 |- BASH                 5          101           98            0            3
 |- JSON                 1           12           12            0            0
 |- Python               5           98           88            0           10
 |- Rust                 6          407          364           19           24
 |- TOML                 2           75           63            0           12
 (Total)                           2499          625         1391          483
-------------------------------------------------------------------------------
 Rust                  169        53801        48830          958         4013
 |- Markdown            91          827           13          768           46
 (Total)                          54628        48843         1726         4059
===============================================================================
 Total                 268        58381        51232         2387         4762
===============================================================================
  

@EricLBuehler EricLBuehler merged commit 2ab7110 into master Jul 12, 2024
15 checks passed
@EricLBuehler EricLBuehler deleted the v0.2.0 branch July 12, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking documentation Improvements or additions to documentation new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant