Comments (7)
It seems that the LooseVersion
is deprecated: pydata/xarray#6092
We have removed it from master branch. Just install the lastest master branch version to see if it works.
from bagua.
Is it correct to use "pip install bagua-cuda113" to install the latest master branch version? I have tried it, however the problem still exists.
from bagua.
try python3 -m pip install --pre bagua-cuda113==0.8.3.dev187 --upgrade
from bagua.
Now I have a different error message
Traceback (most recent call last):
File "main.py", line 22, in <module>
import bagua.torch_api as bagua
File "/cluster/home/kqian/.local/lib/python3.7/site-packages/bagua/torch_api/__init__.py", line 51, in <m odule>
from .distributed import BaguaModule # noqa: F401
File "/cluster/home/kqian/.local/lib/python3.7/site-packages/bagua/torch_api/distributed.py", line 21, in <module>
@gorilla.patches(torch.nn.Module, filter=lambda name, obj: "bagua" in name)
File "/cluster/home/kqian/.local/lib/python3.7/site-packages/bagua/torch_api/distributed.py", line 117, i n BaguaModule
@property
File "/cluster/home/kqian/.local/lib/python3.7/site-packages/torch/_jit_internal.py", line 373, in unused
fn._torchscript_modifier = FunctionModifiers.UNUSED
AttributeError: 'property' object has no attribute '_torchscript_modifier'
Killing subprocess 10939
Traceback (most recent call last):
File "/cluster/apps/nss/python/3.7.4/x86_64/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/cluster/apps/nss/python/3.7.4/x86_64/lib64/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/cluster/home/kqian/.local/lib/python3.7/site-packages/bagua/distributed/launch.py", line 343, in < module>
main()
File "/cluster/home/kqian/.local/lib/python3.7/site-packages/bagua/distributed/launch.py", line 328, in m ain
sigkill_handler(signal.SIGTERM, None) # not coming back
File "/cluster/home/kqian/.local/lib/python3.7/site-packages/bagua/distributed/launch.py", line 292, in s igkill_handler
returncode=last_return_code, cmd=cmd
subprocess.CalledProcessError: Command '['/cluster/apps/nss/python/3.7.4/x86_64/bin/python3', '-u', 'main.py', '--algorithm', 'gradient_allreduce']' returned non-zero exit status 1.
from bagua.
That looks weird. The CI runs the examples just fine: https://buildkite.com/bagua/bagua-gpu-test/builds/2220
Which pytorch version you are using?
from bagua.
Was apperently a problem with the cluster I was using.
from bagua.
I got same problem in gitlab-runner with bagua-cuda113. Could you please also upgrade cuda113 release to 0.9.1? The releasing history in pypi is so weird.
from bagua.
Related Issues (20)
- compatibility with NCCL < 2.10 HOT 1
- use performance-efficient and memory-efficient buffer for tensor fusion
- Questions about grad hook in bagua
- add Pytorch Lightning example
- check qadam NAN problem
- fix NCCL lib check for pre-compiled packages
- turn off buagua-net HOT 8
- Error installing dependencies for MNIST example HOT 1
- issue:merge with wenet training code
- Aluminium compilation error HOT 1
- how to do gradient accumulation in bugua HOT 1
- unify bagua package name with CUDA version HOT 1
- 安装bagua失败 HOT 2
- How to enable debug trace in rust? HOT 1
- error with pip install HOT 1
- Support Pytorch 1.13
- Programs get blocked when using multiple nodes training. HOT 1
- fix Lightning failing Bagua test for manual optimization HOT 1
- where the code related to communication and calculation of overlap of one algorithm? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bagua.