question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Aim is very slow since 3.12.0

See original GitHub issue

🐛 Bug

I observed a huge slow down when using Aim since updating to 3.12.0. I did not have this issue with previous 3.11.2. Launching aim up takes a bit less than 1 minute. Creating a run tracker through Python with aim.Run is very long (1 to 2 minutes). Aim UI is very slow, for instance I cannot go to the Images tab, it keeps loading and then my browser tab crashes saying “Something went wrong”. I tried on both SSD and HDD.

To reproduce

  • Install Aim 3.12.0 or greater.
  • Track metrics and images in the code.
  • Launch Aim UI with aim up.
  • Launch the code.

Expected behavior

Starting Aim UI with aim up shouldn’t take that long, and Aim UI itself shouldn’t make my browser crash.

Environment

  • Aim Version: >=3.12.0
  • Python version: tested on both 3.8.13 and 3.10.7
  • pip version: 22.2.2
  • OS: Ubuntu

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:22 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
alberttorosyancommented, Nov 2, 2022

Hey @Aonnghus! We are on the way to completely re-design the locking mechanism in Aim. The fix for the performance issue related to locks will be shipped along. We target to release the new version at the end of next week.

1reaction
mihran113commented, Sep 26, 2022

Yes such warnings appeared in stdout

Got it. Thanks! We’ll include this change in the v3.14.0 as well, as a workaround for now. In the meanwhile we’ll try to improve the filesystem identification mechanism, as clearly FileLocks can be used for a case that you’ve described, but we still opt to use SoftFileLocks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Star Citizen How To Avoid Common Bugs - YouTube
LATEST STAR CITIZEN PATCH ALPHA 3.12.0 LIVE BOREDGAMER GIVEAWAY RULES ... by the end of 2022 with permanent progression, though it will be...
Read more >
aim - PyPI
Aim is an open-source, self-hosted ML experiment tracking tool. It's good at tracking lots (1000s) of training runs and it allows you to...
Read more >
Release 3.15.1 Gev Sogomonian, Gor Arakelyan et al. - Aim
Aim easily integrates with your favourite ML frameworks. Aim loggers give access to the aim.Run object instance via the experiment property.
Read more >
Star Citizen 3.12.0 Live Patch Notes - The Lone Gamers
Once one or multiple jobs are completed, the player can collect the refined materials into a ship with cargo capability and sell at...
Read more >
0b95:1790 [Asus N55SF] Bad performance of Asix Ethernet-to ...
whole system behaviour feels a little sluggish (not very clear, though) ... Linux n55sf-l 3.12.0-031200rc7-generic #201310271935 SMP Sun Oct 27 23:37:06 UTC ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found