aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franck Cuny via Review Board <nore...@reviews.apache.org>
Subject Re: Review Request 65735: Add GPUs to the resources.
Date Wed, 21 Feb 2018 16:30:04 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65735/
-----------------------------------------------------------

(Updated Feb. 21, 2018, 4:30 p.m.)


Review request for Aurora.


Repository: aurora


Description
-------

Summary:
Running `job status` on a job with GPUs fails, because the resource type is not
know. The solution is to add the GPU type to the resources.

Test Plan:
Ran the unit tests and built the client:
```
./dist/aurora_internal.pex job status atla/cortex-m40/devel/aaitken_train_resnet_last_layer_vgg_preproc_lr_0p00001
 INFO] Checking status of atla/cortex-m40/devel/aaitken_train_resnet_last_layer_vgg_preproc_lr_0p00001
Active tasks (1):
	Task role: cortex-m40, env: devel, name: aaitken_train_resnet_last_layer_vgg_preproc_lr_0p00001,
instance: 0, status: RUNNING on atla-erc-13-sr1.prod.twttr.net
	  CPU: 22.0 core(s), RAM: 131072 MB, Disk: 40960 MB, Port: http, GPU: 8 GPU(s)
	  assigned ports: {u'http': 31891}
	  failure count: 0 (max 1)
	  events:
	   2018-02-18 10:02:57 PENDING: None
	   2018-02-18 10:02:57 ASSIGNED: None
	   2018-02-18 10:02:58 STARTING: Initializing sandbox.
	   2018-02-18 10:03:00 RUNNING: No health-check defined, task is assumed healthy.
	  metadata:
		  (key: 'package', value: 'aaitken/twml_gpu version:7')
		  (key: 'package', value: 'aaitken/train_resnet version:212')
		  (key: 'package', value: 'aaitken/deps_pex version:62')
Inactive tasks (0):
```

Differential Revision: https://phabricator.twitter.biz/D140046


Diffs (updated)
-----

  src/main/python/apache/aurora/config/resource.py 85e1d002e295feb312ba5d6033295705e0c2d2af

  src/test/python/apache/aurora/config/test_resources.py f43bad725e397d04817ccbf1c76229d572185d99



Diff: https://reviews.apache.org/r/65735/diff/3/

Changes: https://reviews.apache.org/r/65735/diff/2-3/


Testing
-------


Thanks,

Franck Cuny


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message