Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve usage on MacOs #17

Closed
wants to merge 3 commits into from
Closed

Conversation

siebeniris
Copy link

  • device include mps
  • add _get_num_proc in experiements.py for other platforms
  • specify version for openai in requirements.txt

```
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you remove this change?

self,
model: transformers.PreTrainedModel,
tokenizer: transformers.AutoTokenizer,
embedder_tokenizer: transformers.AutoTokenizer,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and can you run the formatter? i don't think these spaces should be added

@jxmorris12
Copy link
Owner

Hi @siebeniris -- I just implemented your MPS-device and get_num_proc changes in v0.0.11, so you don't have to clean this PR up anymore. Thanks for contributing!

@jxmorris12 jxmorris12 closed this Jan 17, 2024
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.

2 participants