securefederatedai / openfl

An open framework for Federated Learning.
https://openfl.readthedocs.io/en/latest/index.html
Apache License 2.0
686 stars 181 forks source link

Device parameter is not processed in TensorFlow tutorials #396

Open itrushkin opened 2 years ago

itrushkin commented 2 years ago

Bug description Interactive API Task Interface provides users with device parameter, but we do not use it in TensorFlow tutorials.

To Reproduce Prerequisites: Both types of CPU and CUDA devices working for your version of TensorFlow. You can check this condition with: tf.config.get_physical_devices(). Steps to reproduce the behavior:

  1. Open any TensorFlow Interactive API tutorial (e.g., openfl-tutorials/interactive_api/TensorFlow_MNIST)
  2. Open a notebook in workspace folder.
  3. Run all cells.
  4. All tasks execution device is based on the TensorFlow device selection policy.

Expected behavior Execution device is device from task parameters.

Environment

aarushisoni commented 1 year ago

Hi my name is Aarushi Soni . I want to contribute to this issue . Is this issue still open ? I am first time contributor . Please guide me through this process.

szofar commented 1 year ago

OpenFL_Team3 will attempt