Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
dec6fc6f
Unverified
Commit
dec6fc6f
authored
Jul 01, 2024
by
Antoni Baum
Committed by
GitHub
Jul 01, 2024
Browse files
[Bugfix] Use RayActorError for older versions of Ray in RayTokenizerGroupPool (#6039)
parent
8893130b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vllm/transformers_utils/tokenizer_group/ray_tokenizer_group.py
...transformers_utils/tokenizer_group/ray_tokenizer_group.py
+5
-1
No files found.
vllm/transformers_utils/tokenizer_group/ray_tokenizer_group.py
View file @
dec6fc6f
...
@@ -2,7 +2,11 @@ import asyncio
...
@@ -2,7 +2,11 @@ import asyncio
import
os
import
os
from
typing
import
List
,
Optional
from
typing
import
List
,
Optional
from
ray.exceptions
import
ActorDiedError
try
:
from
ray.exceptions
import
ActorDiedError
except
ImportError
:
# For older versions of Ray
from
ray.exceptions
import
RayActorError
as
ActorDiedError
from
ray.util.scheduling_strategies
import
NodeAffinitySchedulingStrategy
from
ray.util.scheduling_strategies
import
NodeAffinitySchedulingStrategy
from
transformers
import
PreTrainedTokenizer
from
transformers
import
PreTrainedTokenizer
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment