Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merge feature/update-transformers with main #5607
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
Uh oh!
There was an error while loading. Please reload this page.
Merge feature/update-transformers with main #5607
Changes from all commits
46b90f74f5fee4b323f0a7cecde198eff6d267efc80bdcc84e520e0b2d9a21d50b4c861233fc2ab160a816a29ff06d7c30b427feeFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
# Mixtral ## Usage ### 1. Installation Please install the latest ColossalAI from source. ```bash CUDA_EXT=1 pip install -U git+https://github.com/hpcaitech/ColossalAI ``` Then install dependencies. ```bash cd ColossalAI/applications/ColossalMoE pip install -e . ``` Additionally, we recommend you to use torch 1.13.1. We've tested our code on torch 1.13.1 and found it's compatible with our code. ### 2. Inference Yon can use colossalai run to launch inference: ```bash bash infer.sh ``` If you already have downloaded model weights, you can change name to your weights position in `infer.sh`. ### 3. Train You first need to create `./hostfile`, listing the ip address of all your devices, such as: ```bash 111.111.111.110 111.111.111.111 ``` Then yon can use colossalai run to launch train: ```bash bash train.sh ``` It requires 16 H100 (80G) to run the training. The number of GPUs should be divided by 8. If you already have downloaded model weights, you can change name to your weights position in `train.sh`.
Mixtral
Usage
1. Installation
Please install the latest ColossalAI from source.
Then install dependencies.
Additionally, we recommend you to use torch 1.13.1. We've tested our code on torch 1.13.1 and found it's compatible with our code.
2. Inference
Yon can use colossalai run to launch inference:
If you already have downloaded model weights, you can change name to your weights position in
infer.sh.3. Train
You first need to create
./hostfile, listing the ip address of all your devices, such as:Then yon can use colossalai run to launch train:
It requires 16 H100 (80G) to run the training. The number of GPUs should be divided by 8. If you already have downloaded model weights, you can change name to your weights position in
train.sh.Uh oh!
There was an error while loading. Please reload this page.