assume-framework / assume

ASSUME - Agent-based Simulation for Studying and Understanding Market Evolution
https://assume.readthedocs.io
20 stars 5 forks source link

Speed-up learning process #361

Open nick-harder opened 2 weeks ago

nick-harder commented 2 weeks ago

Problem Description

Despite recent improvements that have significantly sped up the learning process, it remains slower than expected. Additionally, running the process on a GPU does not result in any noticeable speed improvement compared to running on a CPU. This issue needs to be investigated and resolved to ensure optimal performance on both CPU and GPU.

Task Description

  1. Profile Performance:

    • Use profiling tools to measure and compare the performance on both CPU and GPU.
    • Identify specific areas where the GPU implementation is underperforming.
  2. Optimize GPU Utilization:

    • Investigate and implement techniques to better leverage GPU capabilities.
    • Ensure that data transfer between CPU and GPU is minimized and efficiently managed.
  3. Test and Validate Improvements:

    • Run a series of benchmarks to validate that the optimizations result in significant speed improvements on both CPU and GPU.
    • Ensure that the learning accuracy and outcomes are not negatively impacted by the changes.