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
82b05b15
Unverified
Commit
82b05b15
authored
Nov 20, 2025
by
TJian
Committed by
GitHub
Nov 20, 2025
Browse files
[BugFix] [FEAT] Enable fastsafetensors for ROCm platform (#28225)
Signed-off-by:
tjtanaa
<
tunjian.tan@embeddedllm.com
>
parent
a2e9ebe9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
requirements/rocm.txt
requirements/rocm.txt
+1
-0
tests/model_executor/model_loader/fastsafetensors_loader/test_fastsafetensors_loader.py
...der/fastsafetensors_loader/test_fastsafetensors_loader.py
+2
-1
tests/model_executor/model_loader/fastsafetensors_loader/test_weight_utils.py
.../model_loader/fastsafetensors_loader/test_weight_utils.py
+2
-1
No files found.
requirements/rocm.txt
View file @
82b05b15
...
...
@@ -15,3 +15,4 @@ setuptools-scm>=8
runai-model-streamer[s3,gcs]==0.15.0
conch-triton-kernels==1.2.1
timm>=1.0.17
fastsafetensors @ git+https://github.com/foundation-model-stack/fastsafetensors.git@d6f998a03432b2452f8de2bb5cefb5af9795d459
tests/model_executor/model_loader/fastsafetensors_loader/test_fastsafetensors_loader.py
View file @
82b05b15
...
...
@@ -19,7 +19,8 @@ sampling_params = SamplingParams(temperature=0.8, top_p=0.95, seed=0)
@
pytest
.
mark
.
skipif
(
not
current_platform
.
is_cuda
(),
reason
=
"fastsafetensors requires CUDA/NVIDIA GPUs"
not
current_platform
.
is_cuda_alike
(),
reason
=
"fastsafetensors requires NVIDIA/AMD GPUs"
,
)
def
test_model_loader_download_files
(
vllm_runner
):
with
vllm_runner
(
test_model
,
load_format
=
"fastsafetensors"
)
as
llm
:
...
...
tests/model_executor/model_loader/fastsafetensors_loader/test_weight_utils.py
View file @
82b05b15
...
...
@@ -17,7 +17,8 @@ from vllm.platforms import current_platform
@
pytest
.
mark
.
skipif
(
not
current_platform
.
is_cuda
(),
reason
=
"fastsafetensors requires CUDA/NVIDIA GPUs"
not
current_platform
.
is_cuda_alike
(),
reason
=
"fastsafetensors requires NVIDIA/AMD GPUs"
,
)
def
test_fastsafetensors_model_loader
():
with
tempfile
.
TemporaryDirectory
()
as
tmpdir
:
...
...
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