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
fairscale
Commits
35d4129f
Unverified
Commit
35d4129f
authored
Nov 19, 2020
by
msbaines
Committed by
GitHub
Nov 19, 2020
Browse files
[fix] make fairscale.utils a proper package (#200)
parent
3b83ef51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
.circleci/config.yml
.circleci/config.yml
+4
-3
fairscale/utils/__init__.py
fairscale/utils/__init__.py
+4
-0
No files found.
.circleci/config.yml
View file @
35d4129f
...
@@ -74,15 +74,16 @@ install_repo_cpu: &install_repo_cpu
...
@@ -74,15 +74,16 @@ install_repo_cpu: &install_repo_cpu
-
run
:
-
run
:
name
:
Install Repository
name
:
Install Repository
command
:
|
command
:
|
python setup.py build develop
pip install .
# Test import.
python -c 'import sys; sys.path = sys.path[1:]; import fairscale'
install_repo_gpu
:
&install_repo_gpu
install_repo_gpu
:
&install_repo_gpu
-
run
:
-
run
:
name
:
Install Repository
name
:
Install Repository
command
:
|
command
:
|
export CUDA_HOME=/usr/local/cuda-10.1
export CUDA_HOME=/usr/local/cuda-10.1
python setup.py build develop
pip install -e .
run_coverage
:
&run_coverage
run_coverage
:
&run_coverage
-
run
:
-
run
:
...
...
fairscale/utils/__init__.py
0 → 100644
View file @
35d4129f
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
#
# This source code is licensed under the BSD license found in the
# LICENSE file in the root directory of this source tree.
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