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

Fix various PyTorch-related libraries #1263

Closed
wants to merge 4 commits into from

Conversation

MostAwesomeDude
Copy link
Contributor

This is a cleaned-up pile of commits which lets me get most of the way towards building an application using PyTorch. Of note are the safetensors and tokenizers from HuggingFace, and tiktoken from OpenAI; these libraries have upstream issues, as noted in huggingface/tokenizers#1226 and openai/tiktoken#179.

This PR hardcodes two Cargo.lock files because upstreams are not willing to do it themselves. If that's not acceptable, then we'll need to figure out another permanent solution. However, I'm currently disinclined to accept any sort of demurral or delay, simply because the Nix way is to patch rather than to wait for upstreams.

@MostAwesomeDude
Copy link
Contributor Author

Huh. Apparently I broke safetensors. Clearly I tried to do too much in a single PR.

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.

None yet

1 participant