Skip to content

Conversation

@ericl
Copy link
Contributor

@ericl ericl commented Nov 25, 2018

What do these changes do?

Round up to next int when allocating ids w/fractional gpus.

Related issue number

Closes #3394

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/9579/
Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/9584/
Test FAILed.

@jhpenger
Copy link
Contributor

would love to have this merged just so I can build with the wheel instead of from source

@robertnishihara
Copy link
Collaborator

@jhpenger just a note that if you want to build wheels on branches/commits that we don't provide, that can be done by following the instructions in https://github.com/ray-project/ray/blob/master/python/README-building-wheels.md.

else:
self.devices = ["/gpu:{}".format(i) for i in range(num_gpus)]
self.devices = [
"/gpu:{}".format(i) for i in range(int(math.ceil(num_gpus)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't numpy already imported?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to avoid numpy if you can use standard libraries instead.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/9590/
Test FAILed.

@ericl
Copy link
Contributor Author

ericl commented Nov 26, 2018

jenkins retest this please

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/9596/
Test FAILed.

@ericl ericl merged commit e3c088f into ray-project:master Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants