Skip to content

Commit

Permalink
Fix doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywonchung committed Oct 13, 2023
1 parent 1a9fa0f commit a0359c7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ nav:
- getting_started/index.md
- Environment Setup: getting_started/environment.md
- Installing and Building: getting_started/installing_and_building.md
- Perseus:
- perseus/index.md
- Integrating: perseus/integrating.md
- Extending Zeus: extend.md
- Source Code Reference: reference/

Expand Down
22 changes: 22 additions & 0 deletions zeus/optimizer/perseus/server/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (C) 2023 Jae-Won Chung <[email protected]>
#
# 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.

"""The Perseus server guides the PerseusOptimizer with frequency plans.
The server is agnostic to the training framework the PerseusOptimizer
is integrated with. A server is useful because large model training is
typically distributed, and we still need one place to coordinate the
frequency plans. Later, the server will be extended to support complete
online profiling and optimization.
"""
3 changes: 0 additions & 3 deletions zeus/util/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,3 @@ def cuda_sync(device: int | None = None) -> None:
return

raise RuntimeError("No frameworks are available.")


torch_is_available()

0 comments on commit a0359c7

Please sign in to comment.