Skip to content

Conversation

@ahsannabi
Copy link

On Windows, after reinstalling Anaconda3 I run the command
conda create -n tensorflow python=3.5
to create a tensorflow environment within Anaconda installation in the hidden user appdata folder.

Then I opened the new and updated navigator of anaconda. Changed the environment from root to tensorflow. I was given the option to install Spyder. That I did. Within minutes it installed Spyder within the tensorflow environment.

The first two Tensorflow programs in the guide ran perfectly and smoothly.

Dandelion Mané and others added 30 commits July 27, 2017 16:49
Context:

After r1.2, TensorBoard moved out of the TensorFlow repository, into its own
repository and its own pip package (presently tensorflow-tensorboard, will later
switch to just tensorboard). The new pip package specifies the `tensorboard`
command, so I removed it from the list of console scripts forTensorFlow. I also
added tensorflow-tensorboard as a pip dependency.

However, it turns out that the pip order of operations is:
- install pip dependencies (thus getting tensorflow-tensorboard and the new
  tensorboard command)
- remove deprecated console scripts (thus erroneously removing the new pointer
  to tensorboard)

To fix this, I returned the `tensorboard` console script to tensorflow's
setup.py, except it now references the tensorboard package rather than the
tensorflow package. Thus, the console script declaration in tensorflow and
tensorboard are identical. We can be confident that the tensorboard package is
available, because it is specified by the pip dependency.

Test Plan:

- Create a clean virtualenv.
- pip install tensorflow < 1.3.
- verify that the tensorboard command works properly
- pip install tensorflow 1.3 using a pip package generated with this change
- verify that the tensorboard command still works
It now takes about 400ms rather than 800ms, if the file system cache is warm.

Most of the latency was due to parsing text_format OpList protocol buffers in
our generated sources. We now use a binary representation, while preserving the
text proto as a comment for readability.

Note: This change does not improve the latency of dereferencing tf.contrib,
which takes about 340ms.
Every summary op writes data for a single plugin to process. Hence, each
SummaryMetadata proto should have a single PluginData optional field
(instead of a repeated one). This removes much complexity from
TensorBoard logic that loops over the plugin data. It also simplifies
the SQL schema - it can now enforce a one-to-one relationship between
summary op and plugin.
Make 'import tensorflow' go faster
Make plugin_data optional instead of repeated
Updating version to rc2.
Pin 1.3.x package to tensorflow-tensorboard 0.1.x
…rd-install

Ensure that TensorBoard is still available when pip installed. (r1.3)
Make layout optimizer_test manual due to Grappler being off in the r1.3 branch.
In #11952, I had set made some logic within debug_grpc_testlib return too early, breaking some debugger-related behavior. This PR fixes that.
Amit Patankar and others added 21 commits September 11, 2017 14:43
* fix broken links, add links check to sanity

* fix broken link in export.md
Updating protobuf and llvm hashes.
GitHub only 1.3.1 release.
This makes the definition consistent with TensorBoard and TensorFlow
Serving. It's better to track HEAD than the release versions.

PiperOrigin-RevId: 170788851
I find the comment say that embedding shape is [num_encoder_symbols x input_size], I was so confused and checked the source code, I believe it will be better to change the input_size to embedding_size
@tensorflow-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If your company signed a CLA, they designated a Point of Contact who decides which employees are authorized to participate. You may need to contact the Point of Contact for your company and ask to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the project maintainer to go/cla#troubleshoot.
  • In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again.

@vrv
Copy link

vrv commented Oct 19, 2017

I think you meant to open up an issue?

@vrv vrv closed this Oct 19, 2017
@ahsannabi
Copy link
Author

Thanks, I signed CLA. No issue intended.

copybara-service bot pushed a commit that referenced this pull request Jun 18, 2024
…ction more clearly

Imported from GitHub PR openxla/xla#13830

I find the previous comments about swapping {k, n_div_k} which I write before in tree reduction rewriter may make others feel confuse. I rewrite them for easier understanding.
Copybara import of the project:

--
ac30db74938721956a7cf86f45b8b4a46d9b5b58 by Zhou, Lingzhi <lingzhi.zhou@intel.com>:

make the comments about swapping {k, n_div_k} in tree reduction more clearly

--
62df053ba87cb906bf988033dc63c50ced004691 by Zhou, Lingzhi <lingzhi.zhou@intel.com>:

modify the comments about where should swap or not

Merging this change closes #13830

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#13830 from lingzhi98:lingzhi/fix_tree_reduction_comments 753b4a9f75221901d230a188cf84a6d6cf760a2e
PiperOrigin-RevId: 644264354
copybara-service bot pushed a commit that referenced this pull request Jun 18, 2024
…ction more clearly

Imported from GitHub PR openxla/xla#13830

I find the previous comments about swapping {k, n_div_k} which I write before in tree reduction rewriter may make others feel confuse. I rewrite them for easier understanding.
Copybara import of the project:

--
ac30db74938721956a7cf86f45b8b4a46d9b5b58 by Zhou, Lingzhi <lingzhi.zhou@intel.com>:

make the comments about swapping {k, n_div_k} in tree reduction more clearly

--
62df053ba87cb906bf988033dc63c50ced004691 by Zhou, Lingzhi <lingzhi.zhou@intel.com>:

modify the comments about where should swap or not

Merging this change closes #13830

PiperOrigin-RevId: 644275543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.