Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
62a4a339
"docs/vscode:/vscode.git/clone" did not exist on "71046fcd716028a07ff801e3a0d5405b6da45c5e"
Unverified
Commit
62a4a339
authored
Nov 22, 2024
by
Xuehai Pan
Committed by
GitHub
Nov 22, 2024
Browse files
docs: fix module docstrings and copyright headers (#2077)
parent
2797bc34
Changes
83
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
43 deletions
+39
-43
test/srt/models/test_generation_models.py
test/srt/models/test_generation_models.py
+13
-15
test/srt/models/test_lora.py
test/srt/models/test_lora.py
+13
-14
test/srt/models/test_reward_models.py
test/srt/models/test_reward_models.py
+13
-14
No files found.
test/srt/models/test_generation_models.py
View file @
62a4a339
# Copyright 2023-2024 SGLang Team
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""
"""
Usage:
Usage:
...
@@ -6,21 +19,6 @@ To test a specific model:
...
@@ -6,21 +19,6 @@ To test a specific model:
2. Run `ONLY_RUN=Qwen/Qwen2-1.5B python3 -m unittest test_generation_models.TestGenerationModels.test_others`
2. Run `ONLY_RUN=Qwen/Qwen2-1.5B python3 -m unittest test_generation_models.TestGenerationModels.test_others`
"""
"""
"""
Copyright 2023-2024 SGLang Team
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import
dataclasses
import
dataclasses
import
multiprocessing
as
mp
import
multiprocessing
as
mp
import
os
import
os
...
...
test/srt/models/test_lora.py
View file @
62a4a339
"""
# Copyright 2023-2024 SGLang Team
Copyright 2023-2024 SGLang Team
# Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
# limitations under the License.
limitations under the License.
# ==============================================================================
"""
import
multiprocessing
as
mp
import
multiprocessing
as
mp
import
unittest
import
unittest
...
...
test/srt/models/test_reward_models.py
View file @
62a4a339
"""
# Copyright 2023-2024 SGLang Team
Copyright 2023-2024 SGLang Team
# Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
# limitations under the License.
limitations under the License.
# ==============================================================================
"""
import
multiprocessing
as
mp
import
multiprocessing
as
mp
import
unittest
import
unittest
...
...
Prev
1
2
3
4
5
Next
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