Comments (2)
I believe the configuration would be very similar, although you might need to tune the mesh dimensions according to your cluster configuration and network topology to get the best performance. Specifically, you'll want to add these options when training on GPUs in a multihost environment:
python -m EasyLM.models.llama.llama_train \
--jax_distributed.initialize_jax_distributed=True \
--jax_distributed.coordinator_address=<your coordinator (process 0) address and port> \
--jax_distributed.num_processes=<total number of processes (hosts)> \
--jax_distributed.process_id=<current process id>
from easylm.
Great thanks, I will have a try
from easylm.
Related Issues (20)
- Conflicting dependencies for jax[cuda11-pip]==0.4.14
- why 'LLaMATokenizer' object has no attribute 'sp_model'? HOT 3
- TPU specific flags produce errors HOT 2
- Serving errors: deprecated dependencies and structure error HOT 2
- Mistral HOT 5
- Multi host TPU training
- How does `accumulate_gradient_steps` work?
- ERROR: Accessing retired flag 'jax_enable_async_collective_offload' HOT 1
- Llama 7b Pretraining Dtype
- [Bug] Error in Evaluation
- Dataset for the paper: The False Promise of Imitating Proprietary LLMs (https://arxiv.org/pdf/2305.15717)
- Unusual Initializer Range default HOT 3
- Too small initializer variance
- Converting the Koala Weights to HF Transformers HOT 1
- pip conflict when run `conda env create -f scripts/gpu_environment.yml`
- Are you guys planning to implement GQA? HOT 1
- What is the full batch size if mesh_dim is set to 1,1,-1, on TPUv3-8? HOT 3
- Missing config for Open LLaMA 3B HOT 1
- OOM trying to pretrain llama 7b on v4-256 HOT 7
- Does EasyLM work for LLama-2?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easylm.