Skip to content

Conversation

@OlivierDehaene
Copy link
Contributor

No description provided.

@njhill
Copy link
Contributor

njhill commented May 23, 2023

@OlivierDehaene models seem to load much faster with accelerate even in single GPU case (see also #193).

@OlivierDehaene
Copy link
Contributor Author

@Narsil is re-working all the loading logic in #344 so this is just temporary to make some models work as it seems that device_map=auto is not compatible with https://huggingface.co/facebook/nllb-200-distilled-600M for example.

@OlivierDehaene OlivierDehaene merged commit e9669a4 into main May 23, 2023
@OlivierDehaene OlivierDehaene deleted the feat/single_gpu branch May 23, 2023 17:12
@Narsil
Copy link
Contributor

Narsil commented May 24, 2023

This rework logic will not change the from_pretrained logic which is defaulted for non officially supported models though.

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.

4 participants