Skip to content

Instantly share code, notes, and snippets.

View lakshanthad's full-sized avatar
🚀

Lakshantha Dissanayake lakshanthad

🚀
View GitHub Profile
@glenn-jocher
glenn-jocher / thread_vs_process_benchmarks.py
Last active September 23, 2024 04:12
Threading vs Multiprocessing benchmarks for YOLOv8
# M3 Macbook Air results:
# Average Threading Time: 0.38 seconds
# Average Multiprocessing Time: 2.39 seconds
# Average Concurrent Futures (ThreadPool) Time: 0.34 seconds
# Average Concurrent Futures (ProcessPool) Time: 2.39 seconds
import time
import torch
from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor
@berkorbay
berkorbay / github_desktop_ubuntu.md
Last active September 24, 2024 15:46
To install Github Desktop for Ubuntu

IMPORTANT

See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)

For the sake of "maintaining the tradition" here is the updated version.