Skip to content

Optimize GCP offers#3793

Merged
r4victor merged 1 commit intomasterfrom
issue_3479_gcp_offers
Apr 20, 2026
Merged

Optimize GCP offers#3793
r4victor merged 1 commit intomasterfrom
issue_3479_gcp_offers

Conversation

@r4victor
Copy link
Copy Markdown
Collaborator

Part of #3479

gpuhunt GCP catalog stores separate offers for each zone leading to lots of offers (~38K). Converting gpuhunt items to offers is CPU-expensive. This PR optimizes offers collection by deduplicating zones before converting items to offers.

Collecting catalog (without quotas) went from 1.8s to 0.9s in my local testing. The improvement should be substantial on weaker cloud machines.

@r4victor r4victor merged commit de889f9 into master Apr 20, 2026
28 checks passed
@r4victor r4victor deleted the issue_3479_gcp_offers branch April 20, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant