mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4740dfa216
commit
fe2fd3d824
5 changed files with 510 additions and 337 deletions
|
|
@ -13,11 +13,11 @@ Usage:
|
|||
# Set environment BEFORE importing
|
||||
import os
|
||||
os.environ["VLLM_ENABLE_SHARED_WEIGHTS"] = "1"
|
||||
|
||||
|
||||
# Import and apply patches BEFORE importing vllm
|
||||
from example_trainer.vllm_patching import apply_patches
|
||||
apply_patches()
|
||||
|
||||
|
||||
# Then import vllm normally
|
||||
from vllm import AsyncLLM
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue