Skip to content

Added Dockerfile - #738

Closed
dsingal0 wants to merge 3 commits into
unslothai:mainfrom
dsingal0:main
Closed

dsingal0 wants to merge 3 commits into
unslothai:mainfrom
dsingal0:main

Conversation

@dsingal0

@dsingal0 dsingal0 commented Jul 6, 2024

Copy link
Copy Markdown

Lots of people asking for a dockerfile for unsloth, so I added one. Things are very temperamental in the order pip packages are installed especially packaging and flash-attn. I don't see tests, but was checked by training tiny-llama.

@dsingal0

dsingal0 commented Jul 6, 2024

Copy link
Copy Markdown
Author

@dsingal0 dsingal0 mentioned this pull request Jul 7, 2024
@darkacorn

Copy link
Copy Markdown

worth makeing a builder for a few different cuda versions - depending on the arch .. not every card supports 12.1

@dsingal0

dsingal0 commented Jul 7, 2024

Copy link
Copy Markdown
Author

worth makeing a builder for a few different cuda versions - depending on the arch .. not every card supports 12.1

@darkacorn what cards don't support 12.1? I believe everything since Pascal does? It's probably worth adding one for 11.8 for people using older pytorch and pytorch dependent libraries

@danielhanchen

Copy link
Copy Markdown
Member

Oh thanks a lot - very interesting as well - great work!

Comment thread Dockerfile

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I am getting thr following error when i try to import FastLanguageModel which i do in a script which is inside a docker container which is setup same as your Dockerfile
image

@GeraudBourdin

Copy link
Copy Markdown

By the way, you can do a specific repo and push images on docker.io this could be helpful for firs timers.

@dsingal0

Copy link
Copy Markdown
Author

By the way, you can do a specific repo and push images on docker.io this could be helpful for firs timers.

@GeraudBourdin what do you mean? I'd prefer not to own unsloth dockerfiles. @danielhanchen do you think you can merge so people can have a dockerfile for unsloth?

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.

5 participants