Comments (1)
This can be done via -o mpibind=visible_devices
Here's an example.
Nominal behavior:
$ flux run -N1 -n4 --exclusive env | grep VISIBLE
ROCR_VISIBLE_DEVICES=2,3
ROCR_VISIBLE_DEVICES=6,7
ROCR_VISIBLE_DEVICES=4,5
ROCR_VISIBLE_DEVICES=0,1
Disable GPU affinity
$ flux run -N1 -n4 --exclusive -o mpibind=visible_devices env | grep VISIBLE
ROCR_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
ROCR_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
ROCR_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
ROCR_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
from mpibind.
Related Issues (16)
- nthreads instead of in_nthreads when checking input parameters in mpibind()
- Implementing test suite
- mpibind Flux plugin HOT 1
- mpibind at a job level proof of concept
- Errors when using make becuase of -Werror HOT 6
- mpibind.c:936:20: error: argument 1 range [...] exceeds maximum object size HOT 1
- Python Bindings for mpibind HOT 1
- Test Suite for Python Bindings HOT 1
- Distribute Python Bindings
- Environment variable option to disable mpibind HOT 3
- Drop OpenCL in favor of RSMI for AMD GPUs HOT 1
- mpibind triggers hwloc assertion error in hwloc_topology_restrict(3) HOT 18
- mpibind + "import torch" reduces CPU affinity HOT 7
- Set environment variable when mpibind is on
- add manual page for flux 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 mpibind.