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

add algebraic logging #2965

Open
wants to merge 104 commits into
base: master
Choose a base branch
from

Commits on Sep 20, 2023

  1. To support Yolov8 (deepjavalibrary#2776)

    ---------
    
    Co-authored-by: Administrator <Administrator@tech8>
    Co-authored-by: KexinFeng <fenkexin@amazon.com>
    3 people authored Sep 20, 2023
    Configuration menu
    Copy the full SHA
    950340f View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Configuration menu
    Copy the full SHA
    da15713 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Configuration menu
    Copy the full SHA
    15fd0d0 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. PtndArrayEx.multiboxDetection() implementation (deepjavalibrary#2769)

    * Implement PtNDArraryEx.multiboxDetection
    
    * MultiboxDetection - code cleanup
    
    * MultiboxDetection - code cleanup
    
    * MultiboxDetection - code cleanup
    
    * MultiboxDetection - code cleanup
    
    * format code
    
    * Fix, add tests, and pass CI
    
    ---------
    
    Co-authored-by: Zach Kimberg <kimbergz@amazon.com>
    juliangamble and zachgk authored Sep 28, 2023
    Configuration menu
    Copy the full SHA
    963332d View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Configuration menu
    Copy the full SHA
    3a90d0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fd79db View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Configuration menu
    Copy the full SHA
    27c6a57 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Configuration menu
    Copy the full SHA
    d432a65 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    458933c View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Configuration menu
    Copy the full SHA
    2f4ebee View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    90059cd View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. [docs] Fixes markdown headers (deepjavalibrary#2812)

    This fixes the markdown headers to be h1 so they render correctly in docs.
    zachgk authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    298ea1f View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    f0b4334 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    fe86680 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c5aef8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23e07cf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    85d9e85 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. [api] Added Early stopping configuration (deepjavalibrary#38) (deepja…

    …valibrary#2806)
    
    * [api] Added Early stopping configuration (deepjavalibrary#38)
    
    * [api] Added Builder for Early stopping configuration (deepjavalibrary#38)
    
    * Explicitly set NDManager for dataset in EarlyStoppingListenerTest to make the test run on JDK11 in gradle.
    jagodevreede authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    0b6474f View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Creates MultiDevice (deepjavalibrary#2819)

    This creates an abstraction for combining devices into a single device. The main
    use case for now is in DJL Serving TP_parallel. It will allow us to create a
    WorkerGroup and a PyPredictor for a set of devices and then track the usage of
    devices properly. It could also be used later for multi-gpu training or other
    multi-device cases.
    zachgk authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    185981b View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Configuration menu
    Copy the full SHA
    7d68857 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    3927867 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    9b0c8c9 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Updates doc versions to 0.24.0 (deepjavalibrary#2829)

    * Updates doc versions to 0.24.0
    
    Also moves android gradle.properties to the new 0.25.0.
    
    * Remove android change
    zachgk authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    6981d76 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. Updates XGBoost to 2.0.1 (deepjavalibrary#2833)

    * Updates XGBoost to 2.0.1
    
    * Use devtools 8
    
    * Updates based on new Xgboost JNI API.
    
    ---------
    
    Co-authored-by: Frank Liu <frankfliu2000@gmail.com>
    zachgk and frankfliu authored Nov 4, 2023
    Configuration menu
    Copy the full SHA
    715e620 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    9f55189 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Add erf and atan2 (deepjavalibrary#2842)

    * Added element-wise gauss error function (ERF)
    
    * Added element-wise arctan2
    
    * Format java
    
    * Fixed docs
    
    * added * to other_ptr in Atan2
    TalGrbr authored Nov 9, 2023
    Configuration menu
    Copy the full SHA
    f84d3bb View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Add FFT2 and FFT2 inverse (deepjavalibrary#2845)

    * Added 2D FFT
    
    * Format java
    
    * Add default fft2
    
    * Convert array to vectors
    
    * Add inverse fft2
    
    * Add better assersion in ifft2 test
    
    * Add really better assersion in ifft2 test
    
    * Move cast bellow ifft2 for unsupported exception
    
    * Format java
    
    * changed dims to axes
    
    * changed dims to axes
    TalGrbr authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    f39640c View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. only build triton binaries (deepjavalibrary#2847)

    * only build triton binaries
    
    * install requests library
    
    * remove script
    lanking520 authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    8f6ff7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8ceef3 View commit details
    Browse the repository at this point in the history
  3. [docs] Update serving configuration nav (deepjavalibrary#2853)

    Updates the navigation as a followup to
    deepjavalibrary/djl-serving#1316.
    zachgk authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    e315554 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    062d395 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Fixes archiveBaseName in native builds (deepjavalibrary#2859)

    This property is necessary to avoid conflicts in building multiple flavors which
    can be observed in the native properties file not matching the jar for some
    engine builds.
    zachgk authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    a30f133 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccb932d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8da4287 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b5e5100 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    5a9191e View commit details
    Browse the repository at this point in the history
  2. [CI] Fixes flaky early stopping test (deepjavalibrary#2866)

    This changes the test from requiring the early stopping at a particular epoch to
    ensuring that it stops early due to time constraints. This should help reduce
    the chances of being flaky due to race conditions.
    zachgk authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    c846786 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. [docs] Move jupyter notebooks to DJL Demo (deepjavalibrary#2854)

    * [docs] Move jupyter notebooks to DJL Demo
    
    This moves the notebooks to the demo repositories. It makes it more clearly
    follow the trend where the things in the main repo are master build while those
    in demos track nightly snapshots or releases.
    zachgk authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    969f84e View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Configuration menu
    Copy the full SHA
    50f8af6 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. Configuration menu
    Copy the full SHA
    e45f344 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    a6b2e5c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb56edc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2be804 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b14a818 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ce441c1 View commit details
    Browse the repository at this point in the history
  6. Minor fixes to improve Apple Silicon MPS support (deepjavalibrary#2873)

    * Support 32-bit toTensor()
    
    This fixes an issue where calling NDArrayEx.toTensor() fails on Apple Silicon due to a lack of support for float64.
    
    * Avoid float64 conversion in Classifications constructor
    
    Don't convert probabilities from float32 to float64, because this causes a failure on Apple Silicon.
    
    Co-authored-by: Frank Liu <frankfliu2000@gmail.com>
    petebankhead and frankfliu authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    36d4aec View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c62a0e9 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Tokenizers: Updated huggingface_models.py to support Safetensors mode…

    …ls as well as pytorch (deepjavalibrary#2880)
    
    * Updated huggingface_models.py to support Safetensors models as well as pytorch
    ---------
    
    Co-authored-by: Frank Liu <frankfliu2000@gmail.com>
    dameikle and frankfliu authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    c057898 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Configuration menu
    Copy the full SHA
    2fc8058 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Configuration menu
    Copy the full SHA
    586bb07 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    7f94c1a View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Configuration menu
    Copy the full SHA
    3c1301a View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    d95edd4 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Configuration menu
    Copy the full SHA
    df109c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6708a42 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    1060bdd View commit details
    Browse the repository at this point in the history
  2. Add Evaluator support to update multiple accumulators (deepjavalibrar…

    …y#2894)
    
    * Evaluator support to update multiple accumulators
    
    Improve the performance of EvaluatorTrainingListener by enabling evaluators to update multiple accumulators from the same labels and predictions, rather than needing to recompute values.
    
    * Fix formatting
    
    * Update AbstractCompositeLoss.java
    
    Aims to fix failing test
    petebankhead authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    1eb54c0 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. Adds llama.cpp engine (deepjavalibrary#2904)

    * Adds llama.cpp engine
    
    * [llama.cpp] Adds CI publish workflow and fixes windows build
    
    ---------
    
    Co-authored-by: Frank Liu <frankfliu2000@gmail.com>
    bryanktliu and frankfliu authored Dec 26, 2023
    Configuration menu
    Copy the full SHA
    e16ef9d View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2023

  1. Yelov8 Translator optimization (deepjavalibrary#2908)

    * Yelov8 Translator optimization
    
    - Improved post-processing performance up to 40x by reducing expensive native calls
    - Additional argument 'maxBox' added to improve post-processing performance by reducing number of considered bounding boxes
    - Sunset file fixed,, previous version ignored first 4 rows, so recognized classes were 4 off. Adding 4 rows header fixes the problem. New headers pointing to ultralytics doc pages and original coco dataset page.
    
    * addressed PR comments
    
    - reformatted code
    - removed final
    
    * Refactor Yolov8 example
    
    1. Fixes windows line return
    2. Furthe reduce NDArray operations
    3. Refactor example code
    4. Add unittest for Yolov8Detection
    
    ---------
    
    Co-authored-by: Frank Liu <frankfliu2000@gmail.com>
    gevant and frankfliu authored Dec 31, 2023
    Configuration menu
    Copy the full SHA
    0e6f143 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Configuration menu
    Copy the full SHA
    d7fa91c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97102db View commit details
    Browse the repository at this point in the history
  3. [llama.cpp] Adds unit-test and standardize input parameters (deepjava…

    …library#2905)
    
    * [llama.cpp] Adds unit-test and standardize input parameters
    
    * [llama.cpp] Refactors llama input format
    frankfliu authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    13b72d8 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Configuration menu
    Copy the full SHA
    632c375 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4a7d26 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1b2b6fa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca1b5c5 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    d373ff5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b04c46 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    54f5176 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcfc928 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    cae3bd0 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. [ci] Fix build failure for build-pytorch-jni-linux (deepjavalibrary…

    …#2920)
    
    Co-authored-by: Aaqib Ansari <mohaan@amazon.com>
    maaquib and Aaqib Ansari authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    72242be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77c9a29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf4c824 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    d58b755 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cbddbf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96eebfa View commit details
    Browse the repository at this point in the history
  4. Adds Device.getDevices() for all Device (deepjavalibrary#2820)

    This improves upon the creation of MultiDevice in deepjavalibrary#2819 by moving the getDevices
    function to the main Device class. This can simplify the usage of something
    which is potentially a MultiDevice and make it easier to check for the presence
    of a MultiDevice.
    zachgk authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    4b392f1 View commit details
    Browse the repository at this point in the history
  5. Creates DJL manual engine initialization (deepjavalibrary#2885)

    * Creates DJL manual engine initialization
    
    fixes deepjavalibrary#2875
    reverts deepjavalibrary#2876
    
    This adds new support for DJL manual initialization of engines to support
    `DJL_ENGINE_MANUAL_INIT`. Once done, no engines providers will be found or
    loaded on startup. Instead, they can be added manually by:
    
    ```java
    PtEngineProvider provider = new PtEngineProvider();
    provider.getEngine(); // Optional, throws exception if the provider can not load
    Engine.registerEngine(provider);
    Engine.setDefaultEngine(provider.getEngineName()); // Optional, sets as default
    ```
    
    * Revert "[tensorflow] Revert InstanceHolder for TensorFlow engine (deepjavalibrary#2884)"
    
    This reverts commit 586bb07.
    
    * Revert "[api] Replace double-check singlton with lazy initialization (deepjavalibrary#2826)"
    
    This reverts commit 3927867.
    
    * Make engines initialized
    
    This makes several updates:
    - engines will now initialize once per instance of EngineProvider rather than
    re-attempt to initialize
    - Registering an engine can overwrite the existing one
    - All engines now use the synchronized form rather than the static instance
    holder. This allows them to have multiple versions and be local to the instance
    rather than global (but the instance is saved globally)
    
    * Throws Exception on bad getEngine
    
    * Removes unnecessary check
    zachgk authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    6141c48 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f1b9da6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b942a67 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    b21ecb9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94f6d29 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    c69aeb6 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Suppress serial warning for JDK21 (deepjavalibrary#2935)

    * Suppress serial warning for JDK21
    
    In JDK21, it now throws the serial warning for including potentially
    unserializable instance variables. This includes the standard Java data
    structures like List, Set, and Map. This changes the JDK21 support from
    deepjavalibrary#2903 to suppress the warning rather
    than no longer serializing the variables.
    
    * Keep CategoryMask as transient
    zachgk authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    478422c View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    aac5eb3 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Configuration menu
    Copy the full SHA
    1545c09 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd453d9 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2024

  1. Configuration menu
    Copy the full SHA
    3bcece6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c8cc60 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Configuration menu
    Copy the full SHA
    5ece342 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    3defba6 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    c4e3023 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Configuration menu
    Copy the full SHA
    9a52d3d View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. add algebraic logging

    patins1 committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    9476112 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd1ca7b View commit details
    Browse the repository at this point in the history
  3. fix naming

    patins1 authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    a103528 View commit details
    Browse the repository at this point in the history
  4. fix bad practice

    patins1 authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    f81f4ad View commit details
    Browse the repository at this point in the history
  5. fix empty-if-block problem

    patins1 authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    e6dafa5 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. fix build errors

    patins1 committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    421d06e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aca0881 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. reduce memory footprint

    patins1 committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    1b25c45 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. mapped more operations

    patins1 committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    668be2d View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Configuration menu
    Copy the full SHA
    5d65575 View commit details
    Browse the repository at this point in the history