[sync] resolve conflicts of merging main

This commit is contained in:
Yuanheng Zhao
2024-05-05 05:14:00 +00:00
348 changed files with 4639 additions and 2395 deletions

View File

@@ -42,7 +42,7 @@ class CaiInferEngine:
import colossalai
from transformers import LlamaForCausalLM, LlamaTokenizer
colossalai.launch_from_torch(config={})
colossalai.launch_from_torch()
model = LlamaForCausalLM.from_pretrained("your_path_to_model")
tokenizer = LlamaTokenizer.from_pretrained("/home/lczyh/share/models/llama-7b-hf")